summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-03 18:22:43 +0200
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-03 18:22:43 +0200
commita6e6f8be88a93699765f25aee0e6109a3eb0b307 (patch)
treec4ba131bdf3af616ff70072876d384924bf408ce /public
parentebe37a68d39dbc1cc4f6af1c05301d5a5fc29c13 (diff)
reworked templates based on purecss
Diffstat (limited to 'public')
-rw-r--r--public/style.css18
-rw-r--r--public/style2.css95
2 files changed, 102 insertions, 11 deletions
diff --git a/public/style.css b/public/style.css
index 23a7cbf..8e771b0 100644
--- a/public/style.css
+++ b/public/style.css
@@ -1,14 +1,10 @@
:root {
- --color-font: #000000;
- --color-background: #DDDDDD;
+ --color-background: #ddd;
+ --color-table-row: #eee;
+ --color-head: #026;
--color-table-em: lightblue;
- --color-table-em2: #D3DCE3;
- --color-table-row: #EEEEEE;
- --color-link: blue;
- --color-link-visited: purple;
- --color-link-hover: red;
+ --color-table-em2: #d3dce3;
--color-warning: orange;
- --color-head: #002266;
}
/* GENERAL */
@@ -19,15 +15,15 @@ body {
a:link {
text-decoration: none;
- color: var(--color-link);
+ color: blue;
}
a:visited {
text-decoration: none;
- color: var(--color-link-visited);
+ color: purple;
}
a:hover {
text-decoration: underline;
- color: var(--color-link-hover);
+ color: red;
}
footer {
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;
+ }