summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-03-21 13:32:12 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-03-21 13:32:12 +0100
commit6fe35cbd50d318bed8d12c5d9fc2602f8936f883 (patch)
tree6b9c9f891552a1beacdc11f646b7dd9000d46021 /css
parent35c4aba3471691685592547300ca5bb588adeb53 (diff)
Switched from CDN to a npm+bundler for css framework
and crypto-js
Diffstat (limited to 'css')
-rw-r--r--css/style.css145
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;
+ }