Common.css: различия между версиями
Материал из Blood on the Clocktower Wiki на русском
Нет описания правки Метка: отменено |
Нет описания правки Метка: отменено |
||
| Строка 52: | Строка 52: | ||
content: "\2605\2605\2605\2605\2605"; | content: "\2605\2605\2605\2605\2605"; | ||
color: rgb(255, 200, 0); | color: rgb(255, 200, 0); | ||
} | } | ||
Версия от 21:40, 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;
}
.stars {
position: relative;
float: left;
font-size: 50pt;
height: 1em;
line-height: 1em;
}
.stars:before {
content: "\2606\2606\2606\2606\2606";
float: left;
z-index: 1;
}
.stars .percent {
position: absolute;
left: 0;
float: left;
overflow: hidden;
z-index: -1;
}
.stars .percent:after {
content: "\2605\2605\2605\2605\2605";
color: rgb(255, 200, 0);
}
