Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #container {
- text-align: center;
- clear: both;
- height: 2160px;
- width: 960px;
- border-radius: 5px;
- border-style: solid;
- border-color: black;
- border-width: 2px;
- background-color: #82bede;
- }
- .topbutton {
- border: none;
- background-color: #98c0cf;
- margin-left: 7px;
- position: relative;
- top: 50%;
- transform: translateY(-50%);
- float: left;
- width: 100px;
- height: 25px;
- }
- #banner {
- height: 12%;
- width: 100%;
- float: left;
- background-color: #82bede;
- }
- #banner img {
- width: 100%;
- height: 100%;
- }
- #navbar {
- height: 2%;
- width: 100%;
- float: left;
- background-color: #355e70;
- }
- /*menu*/
- body {
- min-height: 100vh;
- display: grid;
- place-content: start center;
- background: linear-gradient(#fff, #aaa, #fff);
- }
- #menu2 {
- text-align: center;
- margin: 50px 0 50px 0;
- }
- #menu2 ul {
- margin: 0;
- list-style: none;
- display: inline-block;
- white-space: nowrap;
- }
- #menu2 li {
- display: inline;
- }
- #menu2 li a {
- display: block;
- margin-top: 6px;
- height: 30px;
- float: left;
- color: #000;
- text-decoration: none;
- font: normal 14px/22px 'latomedium', arial,sans-serif;
- padding: 0 0 0 12px;
- background: url(../img/pro_nine_0a.gif) no-repeat;
- }
- #menu2 li a b {
- height: 100%;
- float: left;
- display: block;
- background: url(../img/pro_nine_0.gif) right top;
- padding: 0 12px 0 0;
- }
- #menu2 li a:hover {
- background: url(../img/pro_nine_1a.gif) no-repeat;
- }
- #menu2 li a:hover b {
- background: url(../img/pro_nine_1.gif) right top;
- }
- /*galeria 1*/
- .container {
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 10vmin;
- overflow: hidden;
- transform: skew(5deg);
- }
- .container .card {
- flex: 1;
- transition: all 1s ease-in-out;
- height: 75vmin;
- position: relative;
- }
- .container .card .card__head {
- color: black;
- background: rgba(255, 30, 173, 0.75);
- padding: 0.5em;
- transform: rotate(-90deg);
- transform-origin: 0% 0%;
- transition: all 0.5s ease-in-out;
- min-width: 100%;
- text-align: center;
- position: absolute;
- bottom: 0;
- left: 0;
- font-size: 1em;
- white-space: nowrap;
- }
- .container .card:hover {
- flex-grow: 10;
- }
- .container .card:hover img {
- filter: grayscale(0);
- }
- .container .card:hover .card__head {
- text-align: center;
- top: calc(100% - 2em);
- color: white;
- background: rgba(0, 0, 0, 0.5);
- font-size: 2em;
- transform: rotate(0deg) skew(-5deg);
- }
- .container .card img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- transition: all 1s ease-in-out;
- filter: grayscale(100%);
- }
- .container .card:not(:nth-child(7)) {
- margin-right: 1em;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement