summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2022-05-27 08:35:26 +0200
committerYorhel <git@yorhel.nl>2022-08-25 10:00:31 +0200
commit5d4ea45a86d8316aeae789f614057795715d9e67 (patch)
treeeb9a0d5962b77d0d339bff4f3cb389fec0ad47b7 /css
parentb3daafde4a7a1cb4076b9a218e3258d34db313dd (diff)
Staff editions
As discussed in https://vndb.org/t13027 and from https://vndb.org/t6138.327 onwards.
Diffstat (limited to 'css')
-rw-r--r--css/v2.css11
1 files changed, 7 insertions, 4 deletions
diff --git a/css/v2.css b/css/v2.css
index 08407c5f..a199114e 100644
--- a/css/v2.css
+++ b/css/v2.css
@@ -846,14 +846,17 @@ table.aliases td.key { padding: 0 5px 0 0; width: auto }
/***** Staff display on VN pages *****/
-.vnstaff { width: 97%; margin: -15px auto 5px auto; justify-content: space-between }
+.vnstaff div { width: 97%; margin: 0 auto 5px auto; justify-content: space-between }
.vnstaff ul { list-style: none; margin: 0 }
.vnstaff-2 ul { width: 100% } .vnstaff-2 { flex-wrap: wrap }
.vnstaff-3 ul { width: 32% }
.vnstaff-4 ul { width: 24% }
-.vnstaff li { white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; padding-bottom: 1px }
-.vnstaff li.vnstaff_head { font-weight: bold; margin-top: 15px }
-.vnstaff li b.grayedout { margin-left: 10px }
+.vnstaff li { padding-bottom: 1px; padding-left: 10px; }
+.vnstaff li a { display: inline-block; margin-left: -10px }
+.vnstaff li b { padding-left: 10px }
+.vnstaff li.vnstaff_head { font-weight: bold; padding-left: 0 }
+.vnstaff li:not(:first-child).vnstaff_head { margin-top: 15px }
+.vnstaff summary { background: $boxbg; font-weight: bold; width: 100% }
@media(min-width: 0px) { .vnstaff-2{display:flex} .vnstaff-3{display:none} .vnstaff-4{display:none} }
@media(min-width: 850px) { .vnstaff-2{display:flex} .vnstaff-3{display:none} .vnstaff-4{display:none} .vnstaff-2 ul {width:49%} .vnstaff-2{flex-wrap:nowrap} }
@media(min-width:1000px) { .vnstaff-2{display:none} .vnstaff-3{display:flex} .vnstaff-4{display:none} }