MediaWiki:Common.css: Difference between revisions
From Polcompball Wiki
Jump to navigationJump to search
Content deleted Content added
Created page with "→CSS placed here will be applied to all skins: →Mbox start: .mbox { --type-important: rgba(200, 0, 0, 0.8); --type-moderate: rgba(233, 124, 47, 0.8); --typ..." |
No edit summary |
||
(36 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
/* Mbox start */ |
|||
.mbox { |
|||
--type-important: rgba(200, 0, 0, 0.8); |
|||
--type-moderate: rgba(233, 124, 47, 0.8); |
|||
--type-minor: rgba(241, 197, 37, 0.8); |
|||
display: flex; |
|||
position: relative; |
|||
background-color: rgba(255, 255, 255, 0.7); |
|||
border: 1px solid #d6d6d6; |
|||
border-left-width: 8px; |
|||
border-left-color: #d6d6d6; |
|||
border-radius: 3px; |
|||
margin-bottom: 5px; |
|||
min-height: 32px; |
|||
} |
|||
.mbox.mbox-type-important { |
|||
border-left-color: var(--type-important); |
|||
} |
|||
/* Network Consuls */ |
|||
.mbox.mbox-type-moderate { |
|||
border-left-color: var(--type-moderate); |
|||
} |
|||
a[href$=":Denatidum"], |
|||
.mbox.mbox-type-minor { |
|||
a[href$="/Denatidum"] { |
|||
border-left-color: var(--type-minor); |
|||
color: #007FFF !important; |
|||
} |
} |
||
a[href$=":SchizoACC"], |
|||
.mbox__content { |
|||
a[href$="/SchizoACC"] { |
|||
display: table; |
|||
color: #007FFF !important; |
|||
box-sizing: border-box; |
|||
width: 100%; |
|||
padding: 8px 15px; |
|||
} |
} |
||
/* Bureaucrats */ |
|||
.mbox__content__image { |
|||
display: table-cell; |
|||
width: 40px; |
|||
height: 100%; |
|||
text-align: center; |
|||
vertical-align: middle; |
|||
padding-right: 15px; |
|||
} |
|||
a[href$=":TheGhostOfInky"], |
|||
.mbox__content__wrapper { |
|||
a[href$="/TheGhostOfInky"] { |
|||
display: table-cell; |
|||
color: #604DFF !important; |
|||
vertical-align: middle; |
|||
} |
} |
||
a[href$=":Monkeysszz"], |
|||
.mbox__content__header { |
|||
a[href$="/Monkeysszz"] { |
|||
display: block; |
|||
color: #604DFF !important; |
|||
font-weight: bold; |
|||
} |
} |
||
a[href$=":2x2Master"], |
|||
.mbox__content__text { |
|||
a[href$="/2x2Master"] { |
|||
display: block; |
|||
color: #604DFF !important; |
|||
} |
} |
||
a[href$=":Kymiliane"], |
|||
.mbox__content__text__comment { |
|||
a[href$="/Kymiliane"] { |
|||
font-size: small; |
|||
color: #604DFF !important; |
|||
} |
} |
||
a[href$=":IberianUnionbest"], |
|||
.mbox__content__aside { |
|||
a[href$="/IberianUnionbest"] { |
|||
display: table-cell; |
|||
color: #604DFF !important; |
|||
vertical-align: middle; |
|||
text-align: center; |
|||
padding-left: 15px; |
|||
border-left: 1px solid #d6d6d6; |
|||
} |
} |
||
/* Admins */ |
|||
.mbox__close { |
|||
position: absolute; |
|||
a[href$=":TheElectricBomb"], |
|||
right: 0; |
|||
a[href$="/TheElectricBomb"] { |
|||
top: 0; |
|||
color: #32a852 !important; |
|||
font-weight: bold; |
|||
font-size: 16px; |
|||
color: #bbb; |
|||
cursor: pointer; |
|||
transition: all .15s ease-in; |
|||
} |
} |
||
.mbox__close:hover { |
|||
a[href$=":DerVampir666"], |
|||
color: #777; |
|||
a[href$="/DerVampir666"] { |
|||
color: #32a852 !important; |
|||
} |
} |
||
a[href$=":Afunhumaninter"], |
|||
.mbox__close:after { |
|||
a[href$="/Afunhumaninter"] { |
|||
content: '×'; |
|||
color: #32a852 !important; |
|||
} |
} |
||
.mw-collapsed + .mbox__close { |
|||
/* Content Moderators */ |
|||
transform: rotate(45deg); |
|||
padding: 4px 7px 5px 2px; |
|||
a[href$=":M4RKAru"], |
|||
a[href$="/M4RKAru"] { |
|||
color: #ff7f27 !important; |
|||
} |
} |
||
a[href$=":DualPlay1"], |
|||
/* Wookieepedia-style Mbox demo. */ |
|||
a[href$="/DualPlay1"] { |
|||
.mbox--wook { |
|||
color: #ff7f27 !important; |
|||
border: none; |
|||
border-radius: 10px; |
|||
} |
} |
||
.mbox--wook .mbox__close { |
|||
/* Former Bureaucrats */ |
|||
color: #0c8787; |
|||
font-weight: normal; |
|||
a[href$=":Aycee Lovelace"], |
|||
font-size: 13px; |
|||
a[href$="/Aycee Lovelace"] { |
|||
color: #30267f !important; |
|||
} |
} |
||
a[href$=":Athena von Krab"], |
|||
.mbox--wook .mbox__close:after { |
|||
a[href$="/Athena von Krab"] { |
|||
content: '[hide]'; |
|||
color: #30267f !important; |
|||
} |
} |
||
/*Bots*/ |
|||
.mbox--wook .mw-collapsed + .mbox__close { |
|||
transform: none; |
|||
a[href$=":Polcompbot"], |
|||
padding: 2px 7px; |
|||
a[href$="/Polcompbot"] { |
|||
color: aquamarine !important; |
|||
} |
} |
||
/*Global rules*/ |
|||
.mbox--wook .mw-collapsed + .mbox__close:after { |
|||
content: '[show]'; |
|||
.portable-infobox .pi-header, .portable-infobox .pi-border-color, .portable-infobox .pi-title, .pi-item .pi-item-spacing .pi-title, .client-js .pi-collapse .pi-header:first-child { |
|||
border-bottom: unset; |
|||
} |
} |
||
/*****Custom cursor *****/ |
|||
/* Ensure text is readable in the FandomDesktop dark theme. */ |
|||
/*Global cursor */ |
|||
.theme-fandomdesktop-dark .mbox { |
|||
body { |
|||
background-color: var(--theme-page-background-color--secondary); |
|||
cursor: url('/wiki/Special:FilePath/Polcomp-cur.png'), pointer; |
|||
border-color: var(--theme-border-color); |
|||
} |
|||
/*Link cursor */ |
|||
a:hover { |
|||
cursor: url('/wiki/Special:FilePath/Polcomp-curhover.png'), pointer; |
|||
} |
} |
||
/* Mbox end */ |
Latest revision as of 15:31, 3 August 2024
/* CSS placed here will be applied to all skins */
/* Network Consuls */
a[href$=":Denatidum"],
a[href$="/Denatidum"] {
color: #007FFF !important;
}
a[href$=":SchizoACC"],
a[href$="/SchizoACC"] {
color: #007FFF !important;
}
/* Bureaucrats */
a[href$=":TheGhostOfInky"],
a[href$="/TheGhostOfInky"] {
color: #604DFF !important;
}
a[href$=":Monkeysszz"],
a[href$="/Monkeysszz"] {
color: #604DFF !important;
}
a[href$=":2x2Master"],
a[href$="/2x2Master"] {
color: #604DFF !important;
}
a[href$=":Kymiliane"],
a[href$="/Kymiliane"] {
color: #604DFF !important;
}
a[href$=":IberianUnionbest"],
a[href$="/IberianUnionbest"] {
color: #604DFF !important;
}
/* Admins */
a[href$=":TheElectricBomb"],
a[href$="/TheElectricBomb"] {
color: #32a852 !important;
}
a[href$=":DerVampir666"],
a[href$="/DerVampir666"] {
color: #32a852 !important;
}
a[href$=":Afunhumaninter"],
a[href$="/Afunhumaninter"] {
color: #32a852 !important;
}
/* Content Moderators */
a[href$=":M4RKAru"],
a[href$="/M4RKAru"] {
color: #ff7f27 !important;
}
a[href$=":DualPlay1"],
a[href$="/DualPlay1"] {
color: #ff7f27 !important;
}
/* Former Bureaucrats */
a[href$=":Aycee Lovelace"],
a[href$="/Aycee Lovelace"] {
color: #30267f !important;
}
a[href$=":Athena von Krab"],
a[href$="/Athena von Krab"] {
color: #30267f !important;
}
/*Bots*/
a[href$=":Polcompbot"],
a[href$="/Polcompbot"] {
color: aquamarine !important;
}
/*Global rules*/
.portable-infobox .pi-header, .portable-infobox .pi-border-color, .portable-infobox .pi-title, .pi-item .pi-item-spacing .pi-title, .client-js .pi-collapse .pi-header:first-child {
border-bottom: unset;
}
/*****Custom cursor *****/
/*Global cursor */
body {
cursor: url('/wiki/Special:FilePath/Polcomp-cur.png'), pointer;
}
/*Link cursor */
a:hover {
cursor: url('/wiki/Special:FilePath/Polcomp-curhover.png'), pointer;
}