Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *{
- /* A universal CSS reset */
- margin:0;
- padding:0;
- }
- body{
- font-size:14px;
- color:#666;
- background-image: url("bg.jpg");
- /* CSS3 Radial Gradients */
- font-family:Arial, Helvetica, sans-serif;
- }
- #navigationMenu li{
- list-style:none;
- height:39px;
- padding:2px;
- width:40px;
- }
- #navigationMenu span{
- /* Container properties */
- width:0;
- left:38px;
- padding:0;
- position:absolute;
- overflow:hidden;
- /* Text properties */
- font-family:'Myriad Pro',Arial, Helvetica, sans-serif;
- font-size:18px;
- font-weight:bold;
- letter-spacing:0.6px;
- white-space:nowrap;
- line-height:39px;
- /* CSS3 Transition: */
- -webkit-transition: 0.25s;
- /* Future proofing (these do not work yet): */
- -moz-transition: 0.25s;
- transition: 0.25s;
- }
- #navigationMenu a{
- background:url('img/navigation.jpg') no-repeat;
- height:39px;
- width:38px;
- display:block;
- position:relative;
- }
- /* General hover styles */
- #navigationMenu a:hover span{ width:auto; padding:0 20px;overflow:visible; }
- #navigationMenu a:hover{
- text-decoration:none;
- /* CSS outer glow with the box-shadow property */
- -moz-box-shadow:0 0 5px #9ddff5;
- -webkit-box-shadow:0 0 5px #9ddff5;
- box-shadow:0 0 5px #9ddff5;
- }
- /* Green Button */
- #navigationMenu .home { background-position:0 0;}
- #navigationMenu .home:hover { background-position:0 -39px;}
- #navigationMenu .home span{
- background-color:#7da315;
- color:#3d4f0c;
- text-shadow:1px 1px 0 #99bf31;
- }
- /* Blue Button */
- #navigationMenu .about { background-position:-38px 0;}
- #navigationMenu .about:hover { background-position:-38px -39px;}
- #navigationMenu .about span{
- background-color:#1e8bb4;
- color:#223a44;
- text-shadow:1px 1px 0 #44a8d0;
- }
- /* Orange Button */
- #navigationMenu .services { background-position:-76px 0;}
- #navigationMenu .services:hover { background-position:-76px -39px;}
- #navigationMenu .services span{
- background-color:#c86c1f;
- color:#5a3517;
- text-shadow:1px 1px 0 #d28344;
- }
- /* Yellow Button */
- #navigationMenu .portfolio { background-position:-114px 0;}
- #navigationMenu .portfolio:hover{ background-position:-114px -39px;}
- #navigationMenu .portfolio span{
- background-color:#d0a525;
- color:#604e18;
- text-shadow:1px 1px 0 #d8b54b;
- }
- /* Purple Button */
- #navigationMenu .contact { background-position:-152px 0;}
- #navigationMenu .contact:hover { background-position:-152px -39px;}
- #navigationMenu .contact span{
- background-color:#af1e83;
- color:#460f35;
- text-shadow:1px 1px 0 #d244a6;
- }
- /* The styles below are only needed for the demo page */
- #main{
- margin:0px;
- position:left;
- width:0px;
- }
- h1{
- color:#fff;
- font-size:30px;
- font-weight:normal;
- padding:60px 0 20px;
- text-align:left;
- }
- h2{
- font-weight:normal;
- text-align:left;
- }
- h1,h2{
- font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
- }
- a, a:visited,a:active {
- color:#0196e3;
- text-decoration:none;
- outline:none;
- }
- a:hover{
- text-decoration:underline;
- }
- a img{
- border:none;
- }
- p.note{
- color:#707070;
- font-size:10px;
- text-align:left;
- margin:50px;
- }
- * {
- box-sizing: border-box;
- }
- *{
- /* A universal CSS reset */
- margin:0;
- padding:0;
- }
- body{
- font-size:14px;
- color:#666;
- background:#111 no-repeat;
- /* CSS3 Radial Gradients */
- background-image:-moz-radial-gradient(center -100px 45deg, circle farthest-corner, #444 150px, #111 300px);
- background-image:-webkit-gradient(radial, 50% 0, 150, 50% 0, 300, from(#444), to(#111));
- font-family:Arial, Helvetica, sans-serif;
- }
- #navigationMenu li{
- list-style:none;
- height:39px;
- padding:2px;
- width:40px;
- }
- #navigationMenu span{
- /* Container properties */
- width:0;
- left:38px;
- padding:0;
- position:absolute;
- overflow:hidden;
- /* Text properties */
- font-family:'Myriad Pro',Arial, Helvetica, sans-serif;
- font-size:18px;
- font-weight:bold;
- letter-spacing:0.6px;
- white-space:nowrap;
- line-height:39px;
- /* CSS3 Transition: */
- -webkit-transition: 0.25s;
- /* Future proofing (these do not work yet): */
- -moz-transition: 0.25s;
- transition: 0.25s;
- }
- #navigationMenu a{
- background:url('img/navigation.jpg') no-repeat;
- height:39px;
- width:38px;
- display:block;
- position:relative;
- }
- /* General hover styles */
- #navigationMenu a:hover span{ width:auto; padding:0 20px;overflow:visible; }
- #navigationMenu a:hover{
- text-decoration:none;
- /* CSS outer glow with the box-shadow property */
- -moz-box-shadow:0 0 5px #9ddff5;
- -webkit-box-shadow:0 0 5px #9ddff5;
- box-shadow:0 0 5px #9ddff5;
- }
- /* Green Button */
- #navigationMenu .home { background-position:0 0;}
- #navigationMenu .home:hover { background-position:0 -39px;}
- #navigationMenu .home span{
- background-color:#7da315;
- color:#3d4f0c;
- text-shadow:1px 1px 0 #99bf31;
- }
- /* Blue Button */
- #navigationMenu .about { background-position:-38px 0;}
- #navigationMenu .about:hover { background-position:-38px -39px;}
- #navigationMenu .about span{
- background-color:#1e8bb4;
- color:#223a44;
- text-shadow:1px 1px 0 #44a8d0;
- }
- /* Orange Button */
- #navigationMenu .services { background-position:-76px 0;}
- #navigationMenu .services:hover { background-position:-76px -39px;}
- #navigationMenu .services span{
- background-color:#c86c1f;
- color:#5a3517;
- text-shadow:1px 1px 0 #d28344;
- }
- /* Yellow Button */
- #navigationMenu .portfolio { background-position:-114px 0;}
- #navigationMenu .portfolio:hover{ background-position:-114px -39px;}
- #navigationMenu .portfolio span{
- background-color:#d0a525;
- color:#604e18;
- text-shadow:1px 1px 0 #d8b54b;
- }
- /* Purple Button */
- #navigationMenu .contact { background-position:-152px 0;}
- #navigationMenu .contact:hover { background-position:-152px -39px;}
- #navigationMenu .contact span{
- background-color:#af1e83;
- color:#460f35;
- text-shadow:1px 1px 0 #d244a6;
- }
- /* The styles below are only needed for the demo page */
- h1{
- color:#fff;
- font-size:30px;
- font-weight:normal;
- padding:60px 0 20px;
- text-align:center;
- }
- h2{
- font-weight:normal;
- text-align:center;
- }
- h1,h2{
- font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
- }
- a, a:visited,a:active {
- color:#0196e3;
- text-decoration:none;
- outline:none;
- }
- a:hover{
- text-decoration:underline;
- }
- a img{
- border:none;
- }
- p.note{
- color:#707070;
- font-size:10px;
- text-align:center;
- margin:50px;
- }
- body {
- background-image: url("bg.jpg");
- }
- ul {
- list-style-type: none;
- padding: 0;
- margin: 0;
- }
- .box { width: 100%; background: white;}
- .box h1, .box p {margin: 0 700px;}
- .box h1 {font-size:150%; color:white; }
- .box .top, .box .bottom{display:block;background: white;}
- .box .top b, .box .bottom b
- {
- display:block;height: 112px; overflow: hidden; background: white;
- }
- .box .r1{margin: 0 20px;}
- .box .r2{margin: 0 20px;}
- .box .r3{margin: 0 20px;}
- .box .top .r4, .box .bottom .r4{margin: 0 1px;height: 20px;}
- fieldset {
- -moz-border-radius: 11px;
- -khtml-border-radius: 11px;
- -webkit-border-radius: 11px;
- }
- .nav {
- position: fixed;
- z-index: 1;
- top: 0;
- left: 0;
- width: 100px;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- }
- .nav__list {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-flow: column wrap;
- -ms-flex-flow: column wrap;
- flex-flow: column wrap;
- height: 85vh;
- -webkit-transform: translate(0, -100%);
- transform: translate(0, -100%);
- -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- }
- .nav__list--active {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- .nav__item {
- -webkit-box-flex: 1;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- position: relative;
- }
- .nav__link {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- position: absolute;
- height: 100%;
- width: 100%;
- top: 0;
- left: 0;
- text-decoration: none;
- font-size: 24px;
- background: #2b3033;
- -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- }
- .nav__link:hover {
- background: #272b2e;
- }
- @media (max-width: 640px) {
- .nav {
- width: 70px;
- }
- .nav__list {
- height: 90vh;
- }
- }
- .burger {
- height: 15vh;
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- z-index: 2;
- background: #2b3033;
- cursor: pointer;
- -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- }
- .burger:hover {
- background: #272b2e;
- }
- .burger__patty {
- position: relative;
- height: 2px;
- width: 40px;
- background: white;
- }
- .burger__patty:before {
- content: "";
- position: absolute;
- top: -10px;
- left: 0;
- height: 2px;
- width: 100%;
- background: white;
- }
- .burger__patty:after {
- content: "";
- position: absolute;
- top: 10px;
- left: 0;
- height: 2px;
- width: 100%;
- background: white;
- }
- .burger__patty, .burger__patty:before, .burger__patty:after {
- will-change: transform;
- -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- }
- .burger--active .burger__patty {
- -webkit-transform: rotate(90deg);
- transform: rotate(90deg);
- }
- .burger--active .burger__patty:before {
- -webkit-transform: rotate(-45deg) translate(-7px, -7px) scaleX(0.7);
- transform: rotate(-45deg) translate(-7px, -7px) scaleX(0.7);
- }
- .burger--active .burger__patty:after {
- -webkit-transform: rotate(45deg) translate(-7px, 7px) scaleX(0.7);
- transform: rotate(45deg) translate(-7px, 7px) scaleX(0.7);
- }
- @media (max-width: 640px) {
- .burger {
- height: 10vh;
- }
- .burger__patty {
- -webkit-transform: scale(0.8);
- transform: scale(0.8);
- }
- .burger--active .burger__patty {
- -webkit-transform: scale(0.8) rotate(90deg);
- transform: scale(0.8) rotate(90deg);
- }
- }
- .panel {
- min-height: 100vh;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- overflow: hidden;
- }
- .panel__wrapper {
- padding: 7vh 7vw;
- -webkit-perspective: 1000px;
- perspective: 1000px;
- }
- .panel__content {
- will-change: transform;
- -webkit-transform: scale(0.7) rotateX(-230deg);
- transform: scale(0.7) rotateX(-230deg);
- -webkit-transform-origin: center 80%;
- transform-origin: center 80%;
- opacity: 0;
- -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- }
- .panel__content--active {
- -webkit-transform: none;
- transform: none;
- opacity: 1;
- }
- .panel__headline {
- font-weight: 700;
- opacity: 0.8;
- font-size: 48px;
- margin: 0 0 25px 0;
- }
- .panel p {
- margin: 0 0 25px 0;
- color: #1a1a1a;
- font-size: 24px;
- max-width: 800px;
- }
- .panel p:last-child {
- margin-bottom: 0;
- }
- .panel__block {
- height: 3px;
- background: rgba(0, 0, 0, 0.2);
- margin: 0 0 25px 0;
- }
- @media (max-width: 640px) {
- .panel__headline {
- font-size: 36px;
- }
- .panel__wrapper {
- padding: 10vh 10vw;
- }
- .panel p {
- font-size: 16px;
- }
- }
- .c-blue {
- color: #5fc7ea;
- }
- .c-red {
- color: #e68568;
- }
- .c-green {
- color: #68e6ac;
- }
- .c-yellow {
- color: #e6d068;
- }
- .b-blue {
- background-image: url("bg.jpg");
- }
- .b-red {
- background-image: url("bg.jpg");
- }
- .b-green {
- background-image: url("bg.jpg");
- }
- .b-yellow {
- background-image: url("bg.jpg");
- }
- .logo {
- position: fixed;
- bottom: 3vh;
- right: 3vw;
- z-index: 2;
- }
- .logo img {
- width: 65px;
- -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- -webkit-transform: rotate(0);
- transform: rotate(0);
- }
- .logo img:hover {
- -webkit-transform: rotate(180deg) scale(1.1);
- transform: rotate(180deg) scale(1.1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement