From fbb35714ac9d599bfaf97e8c582796910dff39f5 Mon Sep 17 00:00:00 2001 From: Bui Date: Fri, 31 Aug 2018 13:11:03 +0100 Subject: [PATCH] add char-specific spacing for titles --- public/src/css/main.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/public/src/css/main.css b/public/src/css/main.css index d87651e..3cf51da 100644 --- a/public/src/css/main.css +++ b/public/src/css/main.css @@ -116,4 +116,17 @@ html, body{ .song-title-apos { padding-left: 4px; -} \ No newline at end of file +} + +.song-title-char[alt="ぁ"],.song-title-char[alt="ぃ"],.song-title-char[alt="ぅ"],.song-title-char[alt="ぇ"],.song-title-char[alt="ぉ"], +.song-title-char[alt="ゃ"],.song-title-char[alt="ゅ"],.song-title-char[alt="ょ"],.song-title-char[alt="っ"], +.song-title-char[alt="ァ"],.song-title-char[alt="ィ"],.song-title-char[alt="ゥ"],.song-title-char[alt="ェ"],.song-title-char[alt="ォ"], +.song-title-char[alt="ャ"],.song-title-char[alt="ュ"],.song-title-char[alt="ョ"],.song-title-char[alt="ッ"] +{ + margin-top: -6px; +} + +.song-title-char[alt="ー"], .song-title-char[alt="-"] { + transform: rotate(95deg); + font-size: 90%; +}