Content added Content deleted
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
.news > .date { |
.mp-news > .date { |
||
margin: 1.5em 0 0.5em; |
margin: 1.5em 0 0.5em; |
||
font-weight: bold; |
font-weight: bold; |
||
} |
} |
||
.news > . |
.mp-news > .date:first-child { |
||
margin-top: 0; |
|||
} |
|||
.mp-news > .item { |
|||
margin: 0.5em 0; |
margin: 0.5em 0; |
||
line-height: 2em; |
line-height: 2em; |
||
} |
} |
||
.news > .item:before { |
.mp-news > .item:before { |
||
display: inline-block; |
display: inline-block; |
||
width: 4em; |
width: 4em; |
||
Line 31: | Line 35: | ||
*/ |
*/ |
||
.news > .item[data-type="event"]:before { |
.mp-news > .item[data-type="event"]:before { |
||
content: 'event'; |
content: 'event'; |
||
background-color: #fdffb6; |
background-color: #fdffb6; |
||
} |
} |
||
.news > .item[data-type="gacha"]:before { |
.mp-news > .item[data-type="gacha"]:before { |
||
content: 'gacha'; |
content: 'gacha'; |
||
background-color: #bdb2ff; |
background-color: #bdb2ff; |
||
} |
} |
||
.news > .item[data-type="misc"]:before { |
.mp-news > .item[data-type="misc"]:before { |
||
content: 'misc'; |
content: 'misc'; |
||
background-color: #9bf6ff; |
background-color: #9bf6ff; |
||
} |
} |
||
.news > .item[data-type="song"]:before { |
.mp-news > .item[data-type="song"]:before { |
||
content: 'song'; |
content: 'song'; |
||
background-color: #ffadad; |
background-color: #ffadad; |
||
Line 54: | Line 58: | ||
* Citizen skin |
* Citizen skin |
||
*/ |
*/ |
||
body.skin-citizen .news > .item:before { |
body.skin-citizen .mp-news > .item:before { |
||
color: hsl(206.7, 5.1%, 34.7%); |
color: hsl(206.7, 5.1%, 34.7%); |
||
border-radius: var(--border-radius--small); |
border-radius: var(--border-radius--small); |
Revision as of 20:53, 23 December 2021
.mp-news > .date {
margin: 1.5em 0 0.5em;
font-weight: bold;
}
.mp-news > .date:first-child {
margin-top: 0;
}
.mp-news > .item {
margin: 0.5em 0;
line-height: 2em;
}
.mp-news > .item:before {
display: inline-block;
width: 4em;
margin-right: 1em;
text-align: center;
font-variant: small-caps;
font-weight: bold;
line-height: 1.5em;
}
/*
* "Light Pink": "ffadad"
* "Deep Champagne": "ffd6a5"
* "Lemon Yellow Crayola": "fdffb6"
* "Tea Green": "caffbf"
* "Celeste": "9bf6ff"
* "Baby Blue Eyes": "a0c4ff"
* "Maximum Blue Purple": "bdb2ff"
* "Mauve": "ffc6ff"
* "Baby Powder": "fffffc"
*/
.mp-news > .item[data-type="event"]:before {
content: 'event';
background-color: #fdffb6;
}
.mp-news > .item[data-type="gacha"]:before {
content: 'gacha';
background-color: #bdb2ff;
}
.mp-news > .item[data-type="misc"]:before {
content: 'misc';
background-color: #9bf6ff;
}
.mp-news > .item[data-type="song"]:before {
content: 'song';
background-color: #ffadad;
}
/*
* Citizen skin
*/
body.skin-citizen .mp-news > .item:before {
color: hsl(206.7, 5.1%, 34.7%);
border-radius: var(--border-radius--small);
}