diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/style.css | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..fe26d46 --- /dev/null +++ b/css/style.css @@ -0,0 +1,145 @@ +@import "purecss/build/pure.css"; +@import "purecss/build/grids-responsive.css"; + +:root { + --jwm-color-back: #eee; + --jwm-color-front: #ddd; + --jwm-color-alt: #dede95; +} + +body { + padding: 1rem; +} + +a { + text-decoration-line: none; +} + +a:hover { + text-decoration-line: underline; +} + +footer { + text-align: center; + margin-top: 2rem; +} + +.pagination-box { + list-style: none; + padding-left: 0px; + display: flex; +} + .pagination-box > li > a, .pagination-box > li > span { + border: 1px solid blue; + text-decoration: none; + padding: 0.5em; + display: block; + margin-left: -1px; + background-color: white; + } + .pagination-box > li > a:hover { + background-color: #eee; + } + .pagination-box > li > a.disabled { + pointer-events: none; + cursor: default; + background-color: var(--jwm-color-back); + } + .pagination-box > li > a.current { + pointer-events: none; + cursor: default; + background-color: lightblue; + } + +.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; + margin: 10px 0; +} + +.jwm-mail-header { + background-color: var(--jwm-color-front); + padding: 1rem; +} + +.jwm-mail-body { + width: 90%; + margin: 1rem auto; + padding: 10px; +} + +iframe.jwm-mail-body-text-html { + width: 100%; + height: 400px; +} + +.jwm-mail-body-text-plain { + background-color: var(--jwm-color-alt); + /* word-wrap: break-word; */ + padding: 5pt; +} + + .jwm-mail-body-text-plain > pre { + font-family: sans-serif; + overflow: auto; + } + +/* 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%; + margin: 15px 0; + } + + #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; + } |