/* To Dos */ /* add a thermometer slider */ /* check on weather description return - switch to console.log*/ /* look for better weather icons */ /* change units based on location */ #lat, #lon { display: none; } h1 { font-family: 'Nixie One', cursive; text-transform: uppercase; font-size: 4em; color: #000; } h2 { font-family: 'Hind Vadodara', sans-serif; text-transform: none; font-size: 4em; color: #000; } a, a:focus, a:hover { color: #000; text-decoration: none; } .btn-default, .btn-default:hover, .btn-default:focus { color: #000; text-shadow: none; opacity: 1.0; margin: 10px; text-transform: uppercase; text-decoration: bold; background-color: #fff; border: 1px solid #fff; } html, body { height: 100%; background-color: #333; font-family: 'Nixie One', cursive; } body { color: #fff; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); } .site-wrapper { display: table; width: 100%; height: 100%; top: 0; } .site-wrapper-inner { display: table-cell; vertical-align: top; } .cover-container { margin-right: auto; margin-left: auto; } .inner { margin: -200px 25px; top: 0; } .masthead-brand { margin: 10px 40%; } .masthead-nav > li { display: inline-block; } .masthead-nav > li + li { margin-left: 20px; } .masthead-nav > li > a { padding-right: 0; padding-left: 0; font-size: 16px; font-weight: bold; color: #fff; /* IE8 proofing */ color: rgba(255, 255, 255, .75); border-bottom: 2px solid transparent; } .masthead-nav > li > a:hover, .masthead-nav > li > a:focus { background-color: transparent; border-bottom-color: #a9a9a9; border-bottom-color: rgba(255, 255, 255, .25); } .masthead-nav > .active > a, .masthead-nav > .active > a:hover, .masthead-nav > .active > a:focus { color: #fff; border-bottom-color: #fff; } .cover { padding: 0 20px; margin: 35px 0; } .bk-cover { background-color: #f5f5f5; opacity: .75; border-radius: 20px; padding: 10px 0; } .cover .btn-lg { padding: 20px 20px; font-weight: bold; } #icon, .temp { display: inline-block; font-size: 2em; } #icon { height: 20px; position: relative; } .mastfoot { color: #999; color: rgba(255, 255, 255, .5); } @media (min-width: 992px) { .masthead, .mastfoot, .cover-container { width: 800px; } } /*Clouds*/ * { margin: 0; padding: 0; } body { /*To hide the horizontal scroller appearing during the animation*/ overflow: hidden; } #clouds { padding: 100px 0; background: #c9dbe9; background: -webkit-linear-gradient(top, #c9dbe9 0%, #fff 100%); background: -linear-gradient(top, #c9dbe9 0%, #fff 100%); background: -moz-linear-gradient(top, #c9dbe9 0%, #fff 100%); background: -ms-linear-gradient(top, #c9dbe9 0%, #fff 100%); background: -o-linear-gradient(top, #c9dbe9 0%, #fff 100%); } /*Time to finalise the cloud shape*/ .cloud { width: 200px; height: 60px; background: #fff; -moz-border-radius: 200px; -ms-border-radius: 200px; -o-border-radius: 200px; -webkit-border-radius: 200px; border-radius: 200px; position: relative; z-index: -10; } .cloud:before, .cloud:after { content: ''; position: absolute; background: #fff; width: 100px; height: 80px; top: -15px; left: 10px; -moz-border-radius: 100px; -o-border-radius: 100px; -webkit-border-radius: 100px; border-radius: 100px; -webkit-transform: rotate(30deg); -moz-transform: rotate(30deg); -ms-transform: rotate(30deg); -o-transform: rotate(30deg); transform: rotate(30deg); } .cloud:after { width: 120px; height: 120px; top: -55px; left: auto; right: 15px; } /*Time to animate*/ .x1 { -webkit-animation: moveclouds 15s linear infinite; -moz-animation: moveclouds 15s linear infinite; -o-animation: moveclouds 15s linear infinite; } /*variable speed, opacity, and position of clouds for realistic effect*/ .x2 { left: 200px; -webkit-transform: scale(0.6); -moz-transform: scale(0.6); -ms-transform: scale(0.6); -o-transform: scale(0.6); transform: scale(0.6); opacity: 0.6; /*opacity proportional to the size*/ /*Speed will also be proportional to the size and opacity*/ /*More the speed. Less the time in 's' = seconds*/ -webkit-animation: moveclouds 25s linear infinite; -moz-animation: moveclouds 25s linear infinite; -o-animation: moveclouds 25s linear infinite; } .x3 { left: -250px; top: -200px; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); opacity: 0.8; /*opacity proportional to the size*/ -webkit-animation: moveclouds 20s linear infinite; -moz-animation: moveclouds 20s linear infinite; -o-animation: moveclouds 20s linear infinite; } .x4 { left: 470px; top: -250px; -webkit-transform: scale(0.75); -moz-transform: scale(0.75); -ms-transform: scale(0.75); -o-transform: scale(0.75); transform: scale(0.75); opacity: 0.75; /*opacity proportional to the size*/ -webkit-animation: moveclouds 18s linear infinite; -moz-animation: moveclouds 18s linear infinite; -o-animation: moveclouds 18s linear infinite; } .x5 { left: -150px; top: -150px; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); opacity: 0.8; /*opacity proportional to the size*/ -webkit-animation: moveclouds 20s linear infinite; -moz-animation: moveclouds 20s linear infinite; -o-animation: moveclouds 20s linear infinite; } @-webkit-keyframes moveclouds { 0% { margin-left: 1000px; } 100% { margin-left: -1000px; } } @-moz-keyframes moveclouds { 0% { margin-left: 1000px; } 100% { margin-left: -1000px; } } @-o-keyframes moveclouds { 0% { margin-left: 1000px; } 100% { margin-left: -1000px; } }