add comic_text.white for certain words

This commit is contained in:
chinchihyu 2018-11-18 08:25:15 +08:00
parent c650be805b
commit 21a723f1da
2 changed files with 13 additions and 7 deletions

View File

@ -84,7 +84,7 @@ a:hover{
}
.divider > #divider_container > #chapter_name{
font-size: 100px;
line-height: 0.75em;
line-height: 0.95em;
text-align: left;
margin-bottom: 10px;
}
@ -172,7 +172,7 @@ a:hover{
transform: scale(0.6, 0.6);
}
.comic_text{
color: rgba(255,255,255,0.5);
color: rgba(0,0,0,0.5);
line-height: 1em;
}
.comic_text.smaller{
@ -181,6 +181,12 @@ a:hover{
line-height: 1em;
}
.comic_text.white{
color: rgba(255,255,255, 0.8);
font-size: 20px;
line-height: 1em;
}
/* from https://stackoverflow.com/a/16410273 */
.strikeout {
position: relative;

10
zh.html
View File

@ -127,13 +127,13 @@ If that's not possible, and your text doesn't fit in its box, you can modify att
<words x=30 y=330 w=310 h=60>
...是灵感女神缪斯的母亲。
</words>
<words x=70 y=445 w=90 style="color#fff" no-bg class="comic_text">
<words x=70 y=445 w=90 style="color#fff" no-bg class="comic_text white";>
音乐
</words>
<words x=119 y=494 w=90 style="color#fff" no-bg class="comic_text">
<words x=119 y=494 w=90 style="color#fff" no-bg class="comic_text white";>
戏剧
</words>
<words x=214 y=464 w=90 style="color#fff" no-bg class="comic_text">
<words x=214 y=464 w=90 style="color#fff" no-bg class="comic_text white";>
奇怪的同人小说
</words>
</panel>
@ -333,7 +333,7 @@ If that's not possible, and your text doesn't fit in its box, you can modify att
<words x=20 y=20 w=330 h=30>
...去哺育你的,内在的缪斯。
</words>
<words x=117 y=131 w=140 no-bg class="comic_text">
<words x=117 y=131 w=140 no-bg class="comic_text white">
托尼斯塔克微微喘气,此时戴着手套的手搭上他的脊背,力道平稳且舒心。奥巴马笑着道“你的意思是,这-
</words>
<words x=240 y=470 w=120 h=45>
@ -1722,7 +1722,7 @@ Remember, if your translated word is too big, you can modify the CSS! (especiall
我希望间隔重复帮助你发展你的记忆,你的心智,
你的缪斯...
</words>
<words x=168 y=147 w=250 no-bg class="comic_text">
<words x=168 y=147 w=250 no-bg class="comic_text white">
“不!”线粒体尖叫到,此时她正滑入细胞温暖湿润的喉咙。“我不-”
</words>
</panel>