summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/components
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-29 15:14:43 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-29 15:14:43 +0100
commitbe2a93525069de2dfa3c23b0c23e7a9f7ad4c03d (patch)
treeb5493e9d35d024ce7be072ec2168b4a98ba0e63f /app/assets/stylesheets/components
First commit.
Diffstat (limited to 'app/assets/stylesheets/components')
-rw-r--r--app/assets/stylesheets/components/code_of_honor.css11
-rw-r--r--app/assets/stylesheets/components/footer.css6
-rw-r--r--app/assets/stylesheets/components/nav_top.css40
-rw-r--r--app/assets/stylesheets/components/notifications.css18
4 files changed, 75 insertions, 0 deletions
diff --git a/app/assets/stylesheets/components/code_of_honor.css b/app/assets/stylesheets/components/code_of_honor.css
new file mode 100644
index 0000000..dbbd267
--- /dev/null
+++ b/app/assets/stylesheets/components/code_of_honor.css
@@ -0,0 +1,11 @@
+#code-of-honor {
+ width: 50%;
+ margin: 1em auto;
+ padding: 1em;
+ color: white;
+
+ border-radius: 1em;
+}
+#code-of-honor.accepted { background-color: forestgreen; }
+#code-of-honor.rejected { background-color: firebrick; }
+
diff --git a/app/assets/stylesheets/components/footer.css b/app/assets/stylesheets/components/footer.css
new file mode 100644
index 0000000..de96a5c
--- /dev/null
+++ b/app/assets/stylesheets/components/footer.css
@@ -0,0 +1,6 @@
+footer {
+ text-align: center;
+ margin: 3em 0 0;
+ color: dimgrey;
+
+}
diff --git a/app/assets/stylesheets/components/nav_top.css b/app/assets/stylesheets/components/nav_top.css
new file mode 100644
index 0000000..a3247a4
--- /dev/null
+++ b/app/assets/stylesheets/components/nav_top.css
@@ -0,0 +1,40 @@
+nav#top {
+ width: 100%;
+ background-color: firebrick;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ ul {
+ display: flex;
+ flex-wrap: wrap;
+ list-style-type: none;
+ padding: 0;
+ margin: 0;
+ }
+
+ li {
+ padding: 12px 0;
+ }
+
+ a {
+ padding: 12px;
+ color: white;
+ text-decoration: none;
+ }
+
+ a:hover {
+ background-color: tomato;
+ }
+
+ #authentication {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: right;
+ }
+
+ button {
+ margin: 0.5rem 0.5rem 0.5rem 0;
+ }
+}
+
diff --git a/app/assets/stylesheets/components/notifications.css b/app/assets/stylesheets/components/notifications.css
new file mode 100644
index 0000000..93d8cc2
--- /dev/null
+++ b/app/assets/stylesheets/components/notifications.css
@@ -0,0 +1,18 @@
+#notifications {
+ max-width: 30rem;
+ margin: 1em auto;
+}
+
+.notice, .alert {
+ margin: 0 1em;
+ padding: 1em;
+ border-radius: 1em;
+}
+
+.notice {
+ background: lightblue;
+}
+
+.alert {
+ background: tomato;
+}
Copyright 2019--2025 Marius PETER