summaryrefslogtreecommitdiffstats
path: root/res/main.css
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-24 11:18:32 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-12-24 11:19:44 +0100
commitaa762e4686b913e820b271c3424cee38717db6ae (patch)
tree1eff527ee22677fbf946e59e3820e61b42e97c6e /res/main.css
parentd2307ac8c95d3e8cd4a21f7fd8ead8d5ae43c27a (diff)
Style submission part of poststyle
This patch adds a bit of style to the submission part of the post. It therefore adds some more css classes in the HTML-generating code plus some style tweaks in the CSS. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Tested-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'res/main.css')
-rw-r--r--res/main.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/res/main.css b/res/main.css
index 9bf4562..91b67c6 100644
--- a/res/main.css
+++ b/res/main.css
@@ -135,6 +135,25 @@ textarea {
height: 7em;
}
+.submission {
+ background-color: aliceblue;
+ padding-bottom: 0.5em;
+}
+
+.submission .submissionSource {
+ background-color: #81D4FA;
+ padding-top: 0.5em;
+ padding-bottom: 0.5em;
+}
+
+.submission .submissionContent {
+ margin-left: 0.5em;
+}
+
+.submission .submissionDelete {
+ margin-left: 0.5em;
+}
+
@media (max-width: 768px) {
.communitySidebar {
display: none; /* TODO still show this somewhere */