aboutsummaryrefslogtreecommitdiff
path: root/static/sass/main.scss
diff options
context:
space:
mode:
authorDaniel Schadt <daniel.schadt@kit.edu>2025-07-17 19:14:13 +0200
committerDaniel Schadt <daniel.schadt@kit.edu>2025-07-17 19:14:13 +0200
commit227beca65be908473614073d7a792e6a9afa6df2 (patch)
tree9644f7af9d3b7d9b4d8f33cdca3c98126f009955 /static/sass/main.scss
parentaca60114858d1566db9fd773cbabb3377008c10d (diff)
downloadmoeka-227beca65be908473614073d7a792e6a9afa6df2.tar.gz
moeka-227beca65be908473614073d7a792e6a9afa6df2.tar.bz2
moeka-227beca65be908473614073d7a792e6a9afa6df2.zip
add styling for tables
Diffstat (limited to 'static/sass/main.scss')
-rw-r--r--static/sass/main.scss25
1 files changed, 25 insertions, 0 deletions
diff --git a/static/sass/main.scss b/static/sass/main.scss
index 6a39297..e2b4c23 100644
--- a/static/sass/main.scss
+++ b/static/sass/main.scss
@@ -23,6 +23,7 @@ $link-color: #35317A;
$link-hover-color: #0C00E0;
$primary-color: #292933;
$muted-color: #5e5e5e;
+$tinted-background-color: #efefef;
$tag-background-color: #CBE6FA;
$tag-background-hover-color: #CC3948;
@@ -139,6 +140,30 @@ h3 {
hyphens: auto;
}
+ .content table {
+ margin: auto;
+ border-top: 2px solid $primary-color;
+ border-bottom: 2px solid $primary-color;
+ border-left: none;
+ border-right: none;
+ border-collapse: collapse;
+
+ thead {
+ border-bottom: 1px solid $primary-color;
+ }
+
+ th {
+ border: none;
+ padding: 0.2em 0.6em;
+ background-color: $tinted-background-color;
+ }
+
+ td {
+ border: none;
+ padding: 0.2em 0.6em;
+ }
+ }
+
code, tt {
font-weight: 350;
}