Common.css: различия между версиями
Материал из Blood on the Clocktower Wiki на русском
Нет описания правки Метка: отменено |
Нет описания правки Метка: отменено |
||
| Строка 30: | Строка 30: | ||
position: relative; | position: relative; | ||
display:inline-block; | display:inline-block; | ||
font-size: | font-size: x-large; | ||
height: 1em; | |||
line-height: 1em; | line-height: 1em; | ||
} | } | ||
Версия от 21:43, 8 мая 2024
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
#ca-talk { display: none !important; }
#ca-viewsource { display: none !important; }
.star {
font-size: x-large;
width: 20px;
display: inline-block;
color: gray;
}
.star:last-child {
margin-right: 0;
}
.star:before {
content:'\2605';
}
.star.on {
color: gold;
}
.star.half:after {
content:'\2605';
color: gold;
position: absolute;
margin-left: -20px;
width: 10px;
overflow: hidden;
}
.rating {
position: relative;
display:inline-block;
font-size: x-large;
height: 1em;
line-height: 1em;
}
.rating:before {
content: "\2606\2606\2606\2606\2606";
}
.rating:after {
content: "\2605\2605\2605\2605\2605";
position:absolute;
left:0;
overflow:hidden;
width:var(--w,50%);
color: rgb(255, 200, 0);
z-index:-1;
}
li {
display: table;
}
