better songtitle alignment

This commit is contained in:
Bui
2018-08-23 15:40:45 +01:00
parent 8e5d53f404
commit 881c403745
2 changed files with 24 additions and 17 deletions

View File

@@ -34,25 +34,33 @@ ul li{
height: 100%;
}
.song-title-char {
text-align: center;
width: 45px;
display: block;
}
.song-title-char:before {
content: attr(alt);
position: absolute;
-webkit-text-stroke: 0.25em #000;
z-index: -1;
}
.song-title{
float: right;
width: 0px;
padding: 12px 24px;
width: 45px;
padding: 10px 0px;
word-wrap: break-word;
font-size: 22pt;
color: white;
margin-right: 10px;
position: relative;
z-index: 1;
line-height: 28px;
}
.song-title:before {
content: attr(alt);
position: relative;
-webkit-text-stroke: 0.25em #000;
z-index: -1;
word-wrap: break-word;
.song-title-space {
line-height: 25px;
}
.song{