diff options
author | tpart <tpart120@proton.me> | 2024-04-10 15:35:11 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-04-10 15:35:11 +0200 |
commit | 50ae5ec326dbb034b325e73ffcc032b1167ddd9c (patch) | |
tree | 79fc4d3794c93b2b964884008be4d73f3d58822a /web/style/nodecard.css | |
parent | 70d45003256b4ea9f3b3c2c99f845926bc1af6e1 (diff) | |
download | jellything-50ae5ec326dbb034b325e73ffcc032b1167ddd9c.tar jellything-50ae5ec326dbb034b325e73ffcc032b1167ddd9c.tar.bz2 jellything-50ae5ec326dbb034b325e73ffcc032b1167ddd9c.tar.zst |
Add subtitle style
Diffstat (limited to 'web/style/nodecard.css')
-rw-r--r-- | web/style/nodecard.css | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/web/style/nodecard.css b/web/style/nodecard.css index ab25dd3..5a48f8f 100644 --- a/web/style/nodecard.css +++ b/web/style/nodecard.css @@ -30,13 +30,21 @@ object-position: center; width: 100%; } -.card .title { +.card .title, .card .subtitle { text-align: center; margin-top: 0.5em; text-align: center; text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; +} +.card .subtitle { + margin-top: 0.25em; +} +.card .subtitle a { + color: var(--font-dark); } -.card .title a { +.card .title a, .card .subtitle a { text-decoration-line: none; } .card .title a:hover { |