/* Created by the famous Texx Smith, the Einstein of Web design Visit me at http://texxsmith.com */ html, body { color:#fff; /* background: url("../images/poster.jpg") no-repeat; background-size: cover;*/ height: 100%; } .soon-centered-container { max-width:80%; margin: auto; text-align:center; padding-top: 10%; padding-bottom: 3%; } /*///////// Default text styles //////////*/ h1 { line-height:125px; font-size:4.5em; color:#FFFFFF; } h2 { font-size: 2em; color:#FFFFFF; } p { font-size:1.5em; color:#FFFFFF; } a:link { color:#FFFFFF; } a:visited { color:#FFFFFF; } a:hover { color:dodgerblue; } .dark { color:#222222; } .dark a:link { color:#222222; } .dark a:visited { color:#222222; } input[type="text"] { width: 200px; padding: 8px; border-color:#222; border-width:2px; } .icons { font-size:2em; } /*///////// Extras //////////*/ .ghost-button { display: inline-block; width: 200px; /* replace with left and right padding for bigger buttons */ padding: 8px; color: #fff; border: 2px solid #fff; text-align: center; outline: none; text-decoration: none; font-size:1.5em; font-weight:bold; } .dark-ghost-button { display: inline-block; width: 200px; /* replace with left and right padding for bigger buttons */ padding: 8px; color: #111 !important; border: 2px solid #111; text-align: center; outline: none; text-decoration: none; font-weight:bold; } .ghost-button:hover, .ghost-button:active { background-color: #fff; color: #111; } .dark-ghost-button a:link { color:#111 !important; } .dark-ghost-button:hover, .dark-ghost-button:active { background-color: #111; color: #fff !important; } /* /////////// Ghost button for Gutneberg (FU Gutenberg!) ////////////// */ .ghost-button a{ display: inline-block; width: 200px; /* replace with left and right padding for bigger buttons */ padding: 8px; color: #fff; border: 2px solid #fff; text-align: center; outline: none; text-decoration: none; font-weight:bold; font-size:3em; } .dark-ghost-button a { display: inline-block; width: 200px; /* replace with left and right padding for bigger buttons */ padding: 8px; color: #111 !important; border: 2px solid #111; text-align: center; outline: none; text-decoration: none; font-weight:bold; } .ghost-button a:hover, .ghost-button a:active { background-color: #fff; color: #111; } .dark-ghost-button a:link { color:#111 !important; } .dark-ghost-button a:hover, .dark-ghost-button a:active { background-color: #111; color: #fff !important; } /* ////////////// Section backgrounds ///////////////// */ .lightBack { border: solid 0px; border-radius:13px; background-color:rgba(255,255,255,0.6); margin-left:auto; margin-right:auto; padding-left:1em; padding-right:1em; padding-bottom:.5em; padding-bottom:1.45em; padding-top:1px; position: relative; top: 55px; } .darkBack { border: solid 0px; border-radius:13px; background-color:rgba(0,0,0,0.5); margin-left:auto; margin-right:auto; padding-left:1em; padding-right:1em; padding-bottom:1.45em; padding-top:1px; position: relative; top: 55px; } /*/////////// Video Background Magic /////////*/ /*////////////////////////////////////////////////*/ /*/// you probably shouldn't edit this area //*/ /*////////////////////////////////////////////////*/ video#bgvid { position: fixed; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -100; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); background: url(../images/poster.jpg) no-repeat; background-size: cover; } video { display: block; } /* for IE8 users :( */ /*//////////////////////////////////////////////////////////////////////*/ /*////////// For Retina Devices ///////////*/ @media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi) { html { background: url(../images/alt/Osprey-Beach_Boardwalk_Darkened_Retina_2880x1800.jpg) no-repeat; background-size:cover; height:100%; } } /* ///////// For small tablets and smaller screens below /////////// */ @media screen and (max-device-width: 799px) { html { background: url(../images/alt/Osprey-Beach_Boardwalk_Darkened_Mobile_800x480.jpg) #000 no-repeat center center fixed; height: 100%; } /* remove (or comment out) the rule below to enable video on phones */ #bgvid { display: none; } h1 { font-size:2.5em; color:#ffffff; } h2 { font-size:1.5em; color:#ffffff; } p { font-size:1em; color:#ffffff; } } @media screen and (max-device-width: 400px) { html { background: url(../images/alt/Osprey-Beach_Boardwalk_Darkened_Mobile_800x480.jpg) #000 no-repeat center center fixed; height: 100%; } h1 { margin-left:1px; } }