diff options
| author | Camil Staps | 2026-01-15 08:29:22 +0100 |
|---|---|---|
| committer | Camil Staps | 2026-01-15 08:29:22 +0100 |
| commit | 394735da53caf50cc55f1311c50cd392eeab922f (patch) | |
| tree | 849049240e2d8b1b92b6a908b919b98b98ee2492 /resources/sass/style.scss | |
| parent | Reduce footer font size (diff) | |
Reorganize table sass
Diffstat (limited to 'resources/sass/style.scss')
| -rw-r--r-- | resources/sass/style.scss | 70 |
1 files changed, 34 insertions, 36 deletions
diff --git a/resources/sass/style.scss b/resources/sass/style.scss index 00447e6..3cb4a93 100644 --- a/resources/sass/style.scss +++ b/resources/sass/style.scss @@ -166,6 +166,8 @@ a { } table { + margin-bottom: 6px; + &.main_table { > tbody > tr > td:first-child { min-width: 120px; @@ -196,53 +198,49 @@ table { white-space: nowrap; } } - } - tr { - td, th { - padding-right: 1em; - vertical-align: top; - - &:last-child { - padding-right: 0; + @media (max-width: 1269px) { + tr { + display: block; } - } - } - - margin-bottom: 6px; -} -@media (max-width: 1269px) { - table.main_table { - tr { - display: block; - } + td:first-child { + display: block; + font-weight: bold; + min-width: unset !important; + text-align: initial !important; + } - td:first-child { - display: block; - font-weight: bold; - min-width: unset !important; - text-align: initial !important; - } + td.icon { + min-width: 1.5em; + } - td.icon { - min-width: 1.5em; - } + &.presentations > tbody > tr { + padding-bottom: 1ex; - &.presentations > tbody > tr { - padding-bottom: 1ex; + td:nth-child(2) { + display: inline; + padding-right: 0; - td:nth-child(2) { - display: inline; - padding-right: 0; + &:after { + content: ': '; + } + } - &:after { - content: ': '; + td:last-child { + display: inline; } } + } + } + + tr { + td, th { + padding-right: 1em; + vertical-align: top; - td:last-child { - display: inline; + &:last-child { + padding-right: 0; } } } |
