140 lines
2.5 KiB
CSS
140 lines
2.5 KiB
CSS
/* 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;
|
|
}
|
|
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;
|
|
}
|
|
|
|
body {
|
|
font-family: Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
|
|
background-color: #181825;
|
|
color: #cdd6f4;
|
|
margin: 1rem 2rem;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: bold;
|
|
font-size: 3rem;
|
|
color: #a6e3a1;
|
|
text-shadow: #000 0.2rem 0.2rem 0.2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-weight: bold;
|
|
font-size: 1.25rem;
|
|
color: #89b4fa;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
h2 {
|
|
font-size: 1rem;
|
|
}
|
|
li {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
header img {
|
|
width: 5rem;
|
|
height: 5rem;
|
|
border-radius: 2.5rem;
|
|
border: solid 2px #313244;
|
|
margin-right: 1.5rem;
|
|
}
|
|
|
|
main div, footer {
|
|
max-width: 600px;
|
|
margin: 2rem auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
main div {
|
|
background-color: #1e1e2e;
|
|
border: 2px solid #585b70;
|
|
font-size: 1.2rem;
|
|
line-height: 2rem;
|
|
}
|
|
|
|
main div ul {
|
|
list-style-type: circle;
|
|
list-style-position: outside;
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
footer {
|
|
font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
|
background-color: #11111b;
|
|
border: 2px solid #313244;
|
|
font-size: 0.75rem;
|
|
line-height: 1.25rem;
|
|
color: #a6adc8;
|
|
padding: 2rem;
|
|
}
|
|
|
|
main p {
|
|
text-align: center;
|
|
}
|
|
|
|
a, a:active, a:visited {
|
|
color: #f5e0dc;
|
|
text-decoration: none;
|
|
transition: color 0.25s;
|
|
transition: text-shadow 0.25s;
|
|
}
|
|
|
|
a:hover {
|
|
color: #cba6f7;
|
|
text-shadow: #cba6f7 0 0 0.5rem;
|
|
}
|