From a6e6f8be88a93699765f25aee0e6109a3eb0b307 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Tue, 3 May 2022 18:22:43 +0200 Subject: reworked templates based on purecss --- public/style2.css | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 public/style2.css (limited to 'public/style2.css') diff --git a/public/style2.css b/public/style2.css new file mode 100644 index 0000000..664771a --- /dev/null +++ b/public/style2.css @@ -0,0 +1,95 @@ +:root { + --jwm-color-back: #eee; + --jwm-color-front: #ddd; +} + +body { + padding: 1rem; +} + +a { + text-decoration-line: none; +} + +a:hover { + text-decoration-line: underline; +} + +footer { + text-align: center; + margin-top: 2rem; +} + +.jwm-base { + background-color: var(--jwm-color-back); + border-radius: 5px; + max-width: 960px; + margin: 0 auto; + padding: 1rem; +} + + .jwm-base > nav { + margin-top: 1rem; + } + +.jwm-warning { + background-color: orange; + padding: 1rem; +} + +.jwm-post { + background-color: var(--jwm-color-front); + border-radius: 5px; + padding: 0.5rem 1rem; +} + +.jwm-nav { + background-color: var(--jwm-color-back); + border-radius: 5px; + padding: 0 1rem; +} + +.jwm-mail-body { + width: 80%; + margin: 0rem auto; +} + + .jwm-mail-body > iframe.html-mail { + width: 100%; + height: 400px; + } + +/* make sure this lines up with pure-md class */ +@media screen and (max-width: 48em) { + .hide-small { + display: none; + } +} + +#displayheaders { + max-width: 1280px; + margin: 0 auto; + padding: 1rem; +} + + #mail-headers { + width: 100%; + } + + #empty-folder { + text-align: center; + } + +#login { + max-width: 640px; +} + + #login > h1 { + text-align: center; + } + + #login > form { + background-color: var(--jwm-color-front); + padding-top: 1rem; + padding-left: 6px; + } -- cgit v1.2.3