add char-specific spacing for titles

This commit is contained in:
Bui 2018-08-31 13:11:03 +01:00
parent e08fc602e2
commit fbb35714ac

View File

@ -116,4 +116,17 @@ html, body{
.song-title-apos { .song-title-apos {
padding-left: 4px; padding-left: 4px;
} }
.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%;
}