Created
December 18, 2018 16:28
-
-
Save aatronco/93c14d03dfcb6a99a64ac1d4ac967c55 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! | |
| * Age verification CSS to go with the JS that can be found at (https://github.com/Herudea/age-verification) | |
| */ | |
| #modal_screen { | |
| position: fixed; | |
| top:0; | |
| left: 0; | |
| height: 100%; | |
| width: 100%; | |
| z-index: 1100; | |
| background-color: rgba(0,0,0,.9); | |
| } | |
| #modal_screen.nope { | |
| background-color: #1e0924; | |
| } | |
| #modal_content { | |
| position: fixed; | |
| z-index: 1101; | |
| margin: 0 auto; | |
| border: 1px dotted #fff!important; | |
| font-size: 12px; | |
| width:290px; | |
| height: 290px; | |
| color: #fff; | |
| padding: 20px; | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; | |
| -ms-box-sizing: border-box; | |
| -o-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| #modal_content .content_wrapper { | |
| margin:0 auto 0; | |
| text-align: center; | |
| } | |
| #modal_content h2 { | |
| margin: 0 0 0 0; | |
| font:normal 15px/1.3em 'Gill Sans W01 Medium', Helvetica,arial,sans-serif; | |
| } | |
| #modal_content p { | |
| max-width: 75%; | |
| margin: 1.2em auto 0; | |
| font:11px/1.5em "proxima-nova", Helvetica,arial,sans-serif; | |
| } | |
| #modal_content nav {font-size: 16px; } | |
| #modal_content nav ul {width: 100%; margin:0; padding:0;} | |
| #modal_content nav li {display: block; text-align: right; width: auto; float: none; padding: 0; } | |
| #modal_content nav:after { | |
| content: ""; | |
| display: block; | |
| clear: both; | |
| } | |
| #modal_content nav small { | |
| display: block; | |
| text-align: center; | |
| color: #888; | |
| margin: 1em 0 0; | |
| } | |
| #modal_content nav a.av_btn { | |
| display:block; | |
| text-align:center; | |
| width: 100%; | |
| margin:1em auto 0; | |
| text-decoration: none; | |
| color: #fff; | |
| font-weight: normal; | |
| text-transform: none; | |
| letter-spacing: 0; | |
| font-size: 1em; | |
| } | |
| #modal_content nav .av_go { | |
| background-color: #7fbf4d; | |
| } | |
| #modal_content nav .av_no { | |
| background-color: #938d95; | |
| } | |
| #modal_content nav .av_btn:hover { | |
| background-color: #6b9d44; | |
| } | |
| #modal_content #modal_regret_wrapper nav a.av_btn { | |
| margin-top:10px; | |
| font-size: 1.25em; | |
| } | |
| @media (min-width: 688px) { | |
| #modal_content { | |
| top: 10em; | |
| top: 30vh; | |
| left: 30vw; | |
| width: 90%; | |
| max-width: 350px; | |
| height:400px; | |
| padding:25px; | |
| background-position: center 6em; | |
| font-size: 16px; | |
| } | |
| #modal_content .content_wrapper { | |
| text-align: center; | |
| } | |
| #modal_content h2 { | |
| margin: 0 0 0 0; | |
| font-size: 1.875em; | |
| } | |
| #modal_content p { | |
| font-size: 1em; | |
| line-height: 1.9em; | |
| } | |
| #modal_content nav a.av_btn { | |
| margin:1.6em auto 0; | |
| font-size: 1.25em; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment