MediaWiki:Common.css: Difference between revisions
From Polcompball Wiki
Jump to navigationJump to search
Content added Content deleted
(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 |
||
(34 intermediate revisions by 4 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$=":Agent Isai"], |
|||
a[href$="/Agent Isai"] { |
|||
color: #007FFF !important; |
|||
} |
} |
||
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$=":Athena_von_Krab"], |
|||
.mbox__content__text__comment { |
|||
a[href$="/Athena_von_Krab"] { |
|||
font-size: small; |
|||
color: #604DFF !important; |
|||
} |
} |
||
a[href$=":Nguyenreich"], |
|||
.mbox__content__aside { |
|||
a[href$="/Nguyenreich"] { |
|||
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; |
|||
right: 0; |
|||
top: 0; |
|||
padding: 2px 7px; |
|||
font-weight: bold; |
|||
font-size: 16px; |
|||
color: #bbb; |
|||
cursor: pointer; |
|||
transition: all .15s ease-in; |
|||
} |
|||
a[href$=":TheElectricBomb"], |
|||
.mbox__close:hover { |
|||
a[href$="/TheElectricBomb"] { |
|||
color: #777; |
|||
color: #32a852 !important; |
|||
} |
} |
||
.mbox__close:after { |
|||
content: '×'; |
|||
} |
|||
a[href$=":DerVampir666"], |
|||
.mw-collapsed + .mbox__close { |
|||
a[href$="/DerVampir666"] { |
|||
transform: rotate(45deg); |
|||
color: #32a852 !important; |
|||
} |
} |
||
/*Bots*/ |
|||
/* Wookieepedia-style Mbox demo. */ |
|||
.mbox--wook { |
|||
background-color: #7bb0d8; |
|||
border: none; |
|||
border-radius: 10px; |
|||
} |
|||
a[href$=":Polcompbot"], |
|||
.mbox--wook .mbox__close { |
|||
a[href$="/Polcompbot"] { |
|||
color: #0c8787; |
|||
color: aquamarine !important; |
|||
font-weight: normal; |
|||
font-size: 13px; |
|||
} |
} |
||
/*Global rules*/ |
|||
.mbox--wook .mbox__close:after { |
|||
content: '[hide]'; |
|||
} |
|||
.mbox--wook .mw-collapsed + .mbox__close { |
|||
transform: none; |
|||
padding: 2px 7px; |
|||
} |
|||
.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 { |
|||
.mbox--wook .mw-collapsed + .mbox__close:after { |
|||
border-bottom: unset; |
|||
content: '[show]'; |
|||
} |
} |
||
/*****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 11:01, 23 March 2024
/* CSS placed here will be applied to all skins */
/* Network Consuls */
a[href$=":Agent Isai"],
a[href$="/Agent Isai"] {
color: #007FFF !important;
}
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$=":Athena_von_Krab"],
a[href$="/Athena_von_Krab"] {
color: #604DFF !important;
}
a[href$=":Nguyenreich"],
a[href$="/Nguyenreich"] {
color: #604DFF !important;
}
/* Admins */
a[href$=":TheElectricBomb"],
a[href$="/TheElectricBomb"] {
color: #32a852 !important;
}
a[href$=":DerVampir666"],
a[href$="/DerVampir666"] {
color: #32a852 !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;
}