Content added Content deleted
mNo edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
} |
} |
||
.news > .event:before { |
|||
content: 'EVENT'; |
|||
background-color: #fdffb6; |
|||
} |
|||
/* |
|||
* Citizen skin |
|||
*/ |
|||
body.skin-citizen .news > div:before { |
body.skin-citizen .news > div:before { |
||
border-radius: var(--border-radius--small); |
border-radius: var(--border-radius--small); |
Revision as of 06:23, 23 December 2021
.news {
}
.news > div {
margin: 10px 0;
}
.news > div:before {
display: inline-block;
width: 75px;
padding: 5px 0;
margin-right: 10px;
text-align: center;
}
.news > .song:before {
content: 'SONG';
background-color: #ffadad;
}
.news > .event:before {
content: 'EVENT';
background-color: #fdffb6;
}
/*
* Citizen skin
*/
body.skin-citizen .news > div:before {
border-radius: var(--border-radius--small);
}