MediaWiki:Timeless.css
From Liberpédia
Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror:: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences.
/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs de l’habillage Timeless */
/* All CSS here will be loaded for users of the Timeless skin */
/* Timeless: make native unread user-talk messages prominent. */
@media screen {
.skin-timeless .usermessage {
margin: 0 0 1em;
padding: 0.75em 1em;
border: 1px solid #b32424;
border-left-width: 4px;
border-radius: 4px;
background: #fff1f0;
color: #202122;
}
.skin-timeless .usermessage a {
color: #b32424;
font-weight: 700;
}
/* The marker follows MediaWiki's real unread-message notice. */
body.skin-timeless:has(.usermessage) #personal > h2::before {
content: "!";
position: absolute;
top: 1px;
left: 12px;
z-index: 1;
box-sizing: content-box;
width: 18px;
height: 18px;
border: 2px solid #fff;
border-radius: 50%;
background: #b32424;
color: #fff;
font: 700 12px/18px sans-serif;
text-align: center;
text-indent: 0;
pointer-events: none;
}
body.skin-timeless:has(.usermessage) #pt-mytalk a {
color: #b32424;
font-weight: 700;
}
}
@media screen and (min-width: 851px) {
body.skin-timeless:has(.usermessage) #personal > h2 {
position: relative;
padding-left: 38px;
}
}
@media screen and (max-width: 850px) {
body.skin-timeless:has(.usermessage) #personal > h2::before {
top: -5px;
left: 18px;
}
}
