// *{ outline: 1px solid #666; } // @font-face { // font-family: ariall; // src: url('../media/fonts/calibri.ttf'); // } @-webkit-keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @-o-keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } body { width: 100%; height: 100%; font-family: ariall, sans-serif; background-color: #fff; margin: 0; cursor: default; -webkit-animation: fade-in 200ms linear; /* Safari 4+ */ -moz-animation: fade-in 200ms linear; /* Fx 5+ */ -o-animation: fade-in 200ms linear; /* Opera 12+ */ animation: fade-in 200ms linear; /* IE 10+, Fx 29+ */ > .mainMenu { // background-image: url('../media/images/header.jpg'); // background-size: 100% 100%; // background-position: center; padding: 16px 32px 32px 32px; text-align: center; > .title { color: #000; font-size: 24px; margin: 0 0 16px 0; padding: 0 16px; } a { color: #000; font-size: 18px; padding: 0 16px; text-decoration: none; &:hover { color: #f82; cursor: pointer; } } .contacts { color: #f82; } } > .helo { text-align: center; h1 { font-size: 18px; margin: 0 0 16px 0; } p { font-size: 18px; padding: 0 0 32px 0; } a { text-decoration: none; padding: 0 8px; } } > .grid { position: absolute; margin: 16px 0 16px 0; width: 80%; left: 10%; text-align: center; a { font-size: 0; img { margin: 16px 32px; height: auto; opacity: 0; visibility: hidden; &.loaded { opacity: 1; visibility: visible; -webkit-animation: fade-in 200ms linear; /* Safari 4+ */ -moz-animation: fade-in 200ms linear; /* Fx 5+ */ -o-animation: fade-in 200ms linear; /* Opera 12+ */ animation: fade-in 200ms linear; /* IE 10+, Fx 29+ */ } } } } }