diff --git a/index.css b/index.css index ec4a909..6dbc228 100644 --- a/index.css +++ b/index.css @@ -1,16 +1,154 @@ -body { - background-color: #80d4ea; +html, body, div, span, applet, object, iframe, +blockquote, pre, h1, p, a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + vertical-align: baseline; +} + +/*input, textarea { + -webkit-appearance: none; + -webkit-border-radius: 0; +}*/ + +html, body { + display: flex; + flex-flow: column nowrap; + + justify-content: flex-start; + min-height: 100%; + width: 100%; + + background-image: linear-gradient(to top right, #58105b, #105a5b); + color: #fff; + font-family: 'Source Sans', serif; + font-weight: 400; + + font-size: 1rem; + + +} + +#days { + display: flex; + flex-flow: row nowrap; + + align-content: center; + justify-content: center; + height: 5vh; +} + +#days p { + padding: 3rem 1rem; + + color: white; + font-size: 1rem; + font-family: 'Source Sans Pro', serif; + font-weight: 300; + letter-spacing: .06rem; + text-transform: uppercase; +} + +main { + display: flex; + flex-flow: column nowrap; + flex: 1 1 auto; + + align-items: center; + justify-content: center; + + min-height: 95vh; + justify-content: center; +} + +#date { + color: white; + font-size: 4rem; + font-family: 'Roboto Condensed', serif; + font-weight: bold; + letter-spacing: -.1rem; } #clock { - height: 100px; - width: 800px; - margin: auto; - position: absolute; - top: 0; left: 0; bottom: 0; right: 0; - padding-top: 70px; - font-family: courier, monospace; - text-align: center; - color: white; - font-size: 100px; + display: flex; + flex-flow: row nowrap; + + color: white; + font-size: 1rem; +} + +#time span { + color: white; + font-family: 'Roboto Condensed', serif; + font-weight: bold; + font-size: 13rem; + text-align: left; + +} + +form { + padding: 3rem 0 2rem; + + color: white; + font-family: 'Source Sans Pro', serif; + font-size: 1.4rem; + font-weight: 400; + letter-spacing: .04rem; + text-align: center; + text-decoration: none; + text-transform: uppercase; +} + +input.radio-button { + display: none; +} +input.radio-button + label { + margin: 0 1rem; + padding: 1rem 3rem; + + border: 1px solid white; + border-radius: 30px; + cursor: pointer; +} +input.radio-button:not(:checked) + label:hover { + box-shadow: 0px 1px 100px; +} +input.radio-button + label:active, +input.radio-button:checked + label { + background: rgba(255, 255, 255, 0.2); +} + + +@media screen and (min-width: 992px) { + html { + font-size: 1rem; + } +} + +@media screen and (max-width: 991px) { + html { + font-size: .8rem; + } +} + +@media screen and (max-width: 767px) { + html { + font-size: .6rem; + } +} + +@media screen and (max-width: 479px) { + html { + font-size: .4rem; + } } diff --git a/index.html b/index.html index 191d3cc..594f8ba 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,40 @@ -
-