diff --git a/main.css b/main.css index 591efd0..3c68fa3 100644 --- a/main.css +++ b/main.css @@ -3,8 +3,9 @@ src: url(fonts/Alegreya-Regular.ttf); } body { - width: 480px; + width: 90%; margin: auto; + max-width: 480px; position: relative; background: #181818; color: #EEE; @@ -14,6 +15,14 @@ body { margin-top: 35px; margin-bottom: 35px; } + +html { + display: flex; + min-height: 100vh; + flex-direction: column; + justify-content: center; +} + small { font-size: 16px; } diff --git a/reset.css b/reset.css index e29c0f5..56b3cc8 100644 --- a/reset.css +++ b/reset.css @@ -1,48 +1,19 @@ -/* http://meyerweb.com/eric/tools/css/reset/ - v2.0 | 20110126 - License: none (public domain) -*/ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -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; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; +html, body, +h1, h2, p, a, +ul, li, +small { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; } + body { - line-height: 1; -} -ol, ul { - list-style: none; -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} -table { - border-collapse: collapse; - border-spacing: 0; + line-height: 1; } + +ul { + list-style: none; +} \ No newline at end of file