19 lines
925 B
CSS
19 lines
925 B
CSS
body { display: flex; flex-wrap: wrap; font-family: Helvetica, Verdana, Arial, 'Liberation Sans', FreeSans, sans-serif; }
|
|
header { flex-basis: 100%; flex-shrink: 0; }
|
|
article { flex-basis: 60%; padding-left: 1em; }
|
|
footer { flex-basis: 100%; flex-shrink: 0; }
|
|
header nav { display: flex; justify-content: space-between; }
|
|
nav a, header a { text-decoration: none ; color: inherit; }
|
|
nav a:hover { text-decoration: underline; }
|
|
h1, h2, h3, h4, h5 { font-weight: normal; }
|
|
header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; }
|
|
body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; }
|
|
nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; }
|
|
nav li ul { padding-left: 0.6em }
|
|
img { width: 100%; }
|
|
footer { display: flex; justify-content: space-between; }
|
|
@media screen and (max-width: 600px) {
|
|
textarea {
|
|
width: 100%;
|
|
}
|
|
}
|