diff options
Diffstat (limited to 'data/static/style.css')
-rw-r--r-- | data/static/style.css | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/data/static/style.css b/data/static/style.css new file mode 100644 index 0000000..28eda95 --- /dev/null +++ b/data/static/style.css @@ -0,0 +1,91 @@ +* { + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; +} + +body { + font-family: Arial, Helvetica, sans-serif; + max-width: 500px; + margin: 0 auto; + padding: 0; +} + +nav { + margin-top: 8px; + text-align: center; + border-radius: 6px; + background-color: rgb(228, 228, 228); +} + +nav ul { + list-style: none; + margin: 0; + padding: 0; +} + +nav li { + display: inline-block; + margin: 10px; +} + +a { + font-weight: bold; + color: black; + text-decoration: none; + border-bottom: 1px dotted black; +} + +h1 { + margin: 60px 0 0 0; +} + +.subtitle { + margin: 8px 0 60px 12px; +} + +figure { + margin: 20px 0; +} + +img { + max-width: 100%; +} + +.imgGrid { + margin: 20px auto; + line-height: 0; + column-count: 2; + column-gap: 0px; +} + +.imgGrid img { + width: 100% !important; + height: auto !important; +} + +footer { + text-align: center; + background-color: rgb(228, 228, 228); + border-radius: 6px; +} + +footer p { + padding: 8px 0; +} + +@media only screen +and (max-width: 520px) { + body { + max-width: 400px; + } +} + +@media only screen +and (max-width: 410px) { + body { + max-width: 375px; + } +}
\ No newline at end of file |