MediaWiki:Common.css
Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* CSS placed here will be applied to all skins */
.icon-margin,
.margin-small {
margin:0;
padding:0;
margin-bottom:3px
}
.small-30 {
width:30px;
height:30px;
margin:0;
padding:0;
margin-bottom:3px
}
.small-20 {
width:20px;
height:20px;
margin:0;/* Base content styling — applies to both themes via variables */
padding:0;
margin-bottom:3px
}
.small-25 {
width:25px;
height:25px;
margin:0;
padding:0;
margin-bottom:3px
}
.small-12 {
width:12px;
height:12px;
margin:0;
padding:0;
margin-bottom:3px
}
.small-50 {
width:50px;
height:50px;
margin:0;
padding:0;
margin-bottom:3px
}
.small-10 {
width:10px;
height:10px;
margin:0;
padding:0;
margin-bottom:3px
}
.small-16 {
width:16px;
height:16px;
margin:0;
padding:0;
margin-bottom:3px
}
.small-32 {
width:32px;
height:32px;
margin:0;
padding:0;
margin-bottom:3px
}
.small-em {
width:1.6em;
height:1.6em;
margin:0;
padding:0;
margin-bottom:3px
}
#frontpage_content {
width:100%;
display:table
}
.frontpage_column {
width:16%;
display:table-cell;
padding:0.4em;
box-sizing:border-box
}
table.padded-table > * > tr > td {
padding:0.4em
}
.template-main {
display:inline-block;
white-space:nowrap;t
border:1px solid #ccc;
margin-bottom:0.5em;
padding:2px;
background:#F9F9F9;
font-size:95%;
max-width:350px
}
.skill-level {
display:inline-block;
width:18px;
height:18px;
text-align:center;
background:url(/images/0/0f/Level_background.png)
}
.skill-level-mush {
display:inline-block;
width:18px;
height:18px;
text-align:center;
background:url(/images/6/63/Level_background_mush.png)
}
.skill-level a,
.skill-level-mush a {
color:#FFF !important;
font-size:0.95em;
font-weight:bold;
font-family:"Days One","Segoe UI","Lucida Grande","Trebuchet MS",Arial,"lucida sans unicode",sans-serif;
text-shadow:0px 0px 1px #000
}
.mush-status-kept,
.mush-status-lost,
.mush-status-only,
.mush-status-none,
.mush-status-no-effect{
text-align:center
}
.mush-status-kept {
background-color:#d6ffd6
}
.mush-status-lost {
background-color:#ffd6d6
}
.mush-status-only {
background-color:#e1bcc6
}
.mush-status-none {
background-color:#dcdcdc
}
.mush-status-no-effect {
background-color:#ffe8b2
}
.table {
width:100%;
display:table
}
.table-cell {
display:table-cell
}
.mush-button {
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
margin: 4px;
padding: 1px 10px 3px;
border-radius: 2px;
font-family: "Segoe UI","Lucida Grande","Trebuchet MS",Arial,"lucida sans unicode",sans-serif;
font-size: 0.8rem;
font-weight: 700;
font-variant: small-caps;
letter-spacing: .05em;
text-decoration: none;
color: #fff;
text-shadow: 0 0 4px rgb(21,39,60),0 0 4px rgb(21,39,60);
box-shadow: 0 0 0 1px #0c120d;
background: linear-gradient(0deg,#003bc3 2%,#0074df 6% 46%,#008ee5 54% 94%,#499ae5 96%);
}
.mush-button:hover {
background: #00a0e9;
background: linear-gradient(0deg,#0061d5 2%,#00a0e9 6% 46%,#00b3ed 54% 94%,#40b6ec 96%);
}
.mush-button a {
text-decoration:none;
color:#fff
}
.mush-button > span {
margin: 0 .3em;
}
.navbox {
border:1px solid #aaa;
width:100%;
margin:auto;
clear:both;
font-size:88%;
text-align:center;
padding:1px
}
.navbox-inner,
.navbox-subgroup {
width:100%
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding:0.25em 1em;
line-height:1.5em;
text-align:center
}
th.navbox-group {
white-space:nowrap;
text-align:right
}
.navbox,
.navbox-subgroup {
background:#fdfdfd
}
.navbox-list {
line-height:1.8em;
border-color:#fdfdfd
}
.navbox th,
.navbox-title {
background:#ccccff
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background:#ddddff
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background:#e6e6ff
}
.navbox-even {
background:#f7f7f7
}
.navbox-odd {
background:transparent
}
table.navbox + table.navbox {
margin-top:-1px
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding:0.125em 0
}
ol + table.navbox,
ul + table.navbox {
margin-top:0.5em
}
.navbar {
display:inline;
font-size:88%;
font-weight:normal
}
.navbar ul {
display:inline;
white-space:nowrap
}
.navbar li {
word-spacing:-0.125em
}
.navbar.mini li span {
font-variant:small-caps
}
.infobox .navbar {
font-size:100%
}
.navbox .navbar {
display:block;
font-size:100%
}
.navbox-title .navbar {
float:left;
text-align:left;
margin-right:0.5em;
width:6em
}
.collapseButton {
float:right;
font-weight:normal;
margin-left:0.5em;
text-align:right;
width:auto
}
.navbox .collapseButton {
width:6em
}
.mw-collapsible-toggle {
font-weight:normal;
text-align:right
}
.navbox .mw-collapsible-toggle {
width:6em
}
.galleryfilename-truncate {
white-space:normal;
overflow:visible
}
.visibility-invisible{
border-radius: 8px;
border-color: #98388a;
border-style: dashed;
border-width: 2px;
padding: 0px 2px;
}
.visibility-private, .visibility-private a.new, .visibility-private a.new:link, .visibility-private a.new:visited, .visibility-private a.new:active{
color:#98388a;
font-style: italic;
background-color:#c2f3fc;
}
.visibility-furtif{
background-color:#88def8;
border-radius: 3px;
border: none;
}
.visibility-furtif a.new, .visibility-furtif a.new:link, .visibility-furtif a.new:visited, .visibility-furtif a.new:active{
color:#090a61;
}
.visibility-discret{
background-color:#88def8;
border-radius: 3px;
border: none;
}
.visibility-discret a.new, .visibility-discret a.new:link, .visibility-discret a.new:visited, .visibility-discret a.new:active{
color:#090a61;
}
.visibility-noticed{
background-color:#e29ec3;
border-radius: 3px;
border: 1px solid #ff3f58;
}
.visibility-noticed a.new, .visibility-noticed a.new:link, .visibility-noticed a.new:visited, .visibility-noticed a.new:active{
color:#090a61;
}
.visibility-public, .visibility-public a.new, .visibility-public a.new:link, .visibility-public a.new:visited, .visibility-public a.new:active{
color:#090a61;
background-color:#c2f3fc;
}
mw-gallery-traditional{
text-align: center;
}
/**************************************************************************************************/
/*************************************** SPACE THEME **********************************************/
/**************************************************************************************************/
/* SPACE - VARIABLES */
/************************************************/
:root {
--color-base: #fff;
--color-emphasized: #fff;
}
a {
color: white;
&:hover {
color: #dffaff;
text-shadow: 0 0 1px white, 0 0 1px white;
}
}
/* SPACE - LAYOUT
/************************************************/
body {
color: #fff;
min-width: 100%;
min-height: 100%;
background: url(/images/e/ec/Theme-space-logo.png) no-repeat center 32px,
#0f0f43 url(/images/e/ec/Theme-space-background.jpg) no-repeat center 32px;
background-size: 450px auto, 2745px auto;
overflow-y: auto;
padding-top: 32px;
/* Invisible hotspot matching the centered background logo */
#emush-logo-hotspot {
position: absolute;
top: 48px;
left: 50%;
transform: translateX(-50%);
width: 450px;
height: 150px;
z-index: 5;
display: block;
}
}
#mw-page-base {
height: 12em;
background-color: unset;
background-image: unset;
background-position: unset;
}
#mw-head {
#left-navigation {
display: none;
}
#right-navigation {
margin: 14.5em 2.5em 0 0 !important;
.vector-menu-tabs-legacy {
.selected {
background: unset;
a {
text-decoration: underline;
}
}
li {
background-image: unset !important;
a {
color: #fff;
}
}
}
.vector-menu-dropdown .vector-menu-heading {
color: #fff;
&::after {
filter: brightness(0) invert(1);
}
}
.vector-search-box-form {
margin: 0.7em 0 0 !important;
}
.vector-search-box-input {
background-color: unset !important;
&:placeholder {
color: #444 !important;
}
}
}
#p-personal {
top: 0;
right: 1em;
width: 100%;
height: 32px;
background-color: #111317;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
a {
color: #fff;
}
.vector-menu-content {
margin-top: 3px;
}
.oo-ui-icon-tray, .mw-ui-icon-tray::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath fill=%22%23fff%22 d=%22M3 1a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22/%3E%3C/svg%3E");
opacity: 1 !important;
}
.oo-ui-icon-bell, .mw-ui-icon-bell::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Ebell%3C/title%3E%3Cpath fill=%22%23fff%22 d=%22M16 7a5.38 5.38 0 0 0-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 0 0 4 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 0 0 3-3H7a3 3 0 0 0 3 3%22/%3E%3C/svg%3E");
opacity: 1 !important;
}
#pt-userpage > a {
filter: brightness(0) invert(1);
}
}
}
#mw-panel {
display: flex !important;
flex-direction: column !important;
top: 14em !important;
bottom: 0;
width: 11em !important;
padding: 0 1.5em 1em 1em !important;
margin-left: 2em !important;
box-shadow: inset 0 0 35px 25px rgba(15, 89, 171, 0.5);
background-color: rgba(34, 38, 102, 0.5);
clip-path: polygon(18.5px 0, calc(100% - 18.5px) 0, calc(100% - 18.5px) 100%, 18.5px 100%, 0 calc(100% - 18.5px), 0 18.5px);
h3 {
color: #ccc;
font-weight: bold;
}
a {
color: unset !important;
}
#p-logo {
align-self: center;
width: unset !important;
height: unset !important;
margin-bottom: unset !important;
.mw-wiki-logo {
width: 120px;
}
}
#p-navigation, #p-tb, #p-lang {
margin: 0 !important;
padding: 0 0 1em !important;
}
}
#content {
box-shadow: inset 0 0 35px 25px rgba(15, 89, 171, 0.5);
background-color: rgba(34, 38, 102, 0.5);
clip-path: polygon( 0 0, calc(100% - 18.5px) 0, 100% 18.5px, 100% calc(100% - 18.5px), calc(100% - 18.5px) 100%, 0 100% );
margin: 0 2em 0 16em !important;
border: unset !important;
border-right-width: unset !important;
}