From c25b3c20e0f85cc5f085e06ce7f9e7d96101d7ba Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sat, 28 Nov 2015 02:19:40 +0100 Subject: VNPage: Generalize seiyuu listing to character summary listing The comment already suggested this: I wonder whether it's better to just ask database for character list instead of doing this manual group/sort So yeah, let's just do that. --- data/lang.txt | 6 +++--- data/style.css | 18 +++++++----------- 2 files changed, 10 insertions(+), 14 deletions(-) (limited to 'data') diff --git a/data/lang.txt b/data/lang.txt index 2ce45fe5..8390619c 100644 --- a/data/lang.txt +++ b/data/lang.txt @@ -15697,13 +15697,13 @@ tr*: uk*: it*: -:_vnpage_cast -en : Cast of characters +:_vnpage_charsum +en : Character summary ru*: cs*: hu*: nl*: -de : Sprecher der Charaktere +de*: es*: tr*: uk*: diff --git a/data/style.css b/data/style.css index fefd5654..697efe27 100644 --- a/data/style.css +++ b/data/style.css @@ -609,11 +609,13 @@ table.aliases td.key { padding: 0 5px 0 0; width: auto } div.staff ul { list-style: none; margin: 5px 15px; float: left; min-width: 300px } div.staff li b.grayedout { margin-left: 10px } -div.staff td.tc1, -div.staff td.tc2 { white-space: nowrap; padding-left: 20px; padding-right: 20px; } - -div.cast_list b.grayedout { margin-left: 10px } -div.cast_list .char_bubble { +div.charsum_list { text-align: center } +div.charsum_list .name { white-space: nowrap; } +div.charsum_list .name a { font-weight: bold } +div.charsum_list .name i { float: right } +div.charsum_list .actor { border-top: 1px solid $border$; padding-top: 3px } +div.charsum_list .actor b.grayedout { margin-left: 10px } +div.charsum_list .charsum_bubble { background: url($_boxbg$) repeat; display: inline-block; text-align: left; @@ -622,12 +624,6 @@ div.cast_list .char_bubble { margin: 3px; padding: 3px 10px; } -div.cast_list .char_bubble .name { - font-weight: bold; - white-space: nowrap; - border-bottom: 1px solid $border$; - margin-bottom: 3px; -} /***** Staff edit *****/ -- cgit v1.2.3