« MediaWiki:Common.css » : différence entre les versions

De eMushpedia
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 119 : Ligne 119 :
.template-main {
.template-main {
   display:inline-block;
   display:inline-block;
   white-space:nowrap;t
   white-space:nowrap;
   border:1px solid #ccc;
   border:1px solid #ccc;
   margin-bottom:0.5em;
   margin-bottom:0.5em;
Ligne 377 : Ligne 377 :
mw-gallery-traditional{
mw-gallery-traditional{
text-align: center;
text-align: center;
}
/* ============================================================
  THÈME eMush — barre latérale gauche (skin Vector legacy)
  ============================================================ */
#mw-panel.vector-legacy-sidebar {
    /* --- Palette eMush : ajuste ici, tout en découle --- */
    --emush-bg:        #0a1420;  /* fond général, bleu-nuit profond */
    --emush-panel:    #0e1c2b;  /* fond des modules */
    --emush-cyan:      #33d0e0;  /* accent principal, turquoise */
    --emush-cyan-soft: rgba(51, 208, 224, .35);
    --emush-amber:    #ffb02e;  /* accent secondaire, titres */
    --emush-text:      #bcd8e2;  /* texte des liens */
    background: linear-gradient(180deg, var(--emush-bg) 0%, #060d16 100%);
    padding: 12px 8px;
    box-sizing: border-box;
}
/* ---- Zone du logo ---- */
#mw-panel #p-logo {
    border: 1px solid var(--emush-cyan-soft);
    border-radius: 6px;
    background: rgba(51, 208, 224, .04);
    margin-bottom: 14px;
    padding: 6px;
}
/* ---- Modules (Navigation / Outils / Langues) ---- */
#mw-panel .vector-menu-portal {
    background: var(--emush-panel);
    border: 1px solid var(--emush-cyan-soft);
    border-radius: 6px;
    margin: 0 0 12px 0;
    padding: 6px 8px 8px;
    box-shadow: 0 0 12px rgba(51, 208, 224, .08),
                inset 0 0 20px rgba(51, 208, 224, .03);
}
/* ---- Titres de section ---- */
#mw-panel .vector-menu-heading {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    color: var(--emush-amber) !important;
    padding: 4px 2px 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--emush-cyan-soft);
}
#mw-panel .vector-menu-heading-label::before {
    content: "▸ ";
    color: var(--emush-cyan);
}
/* ---- Liens ---- */
#mw-panel .vector-menu-content-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
#mw-panel .mw-list-item { margin: 2px 0; }
#mw-panel .mw-list-item a {
    display: block;
    color: var(--emush-text) !important;
    font-size: 13px;
    text-decoration: none;
    padding: 5px 8px;
    border-left: 2px solid transparent;
    border-radius: 3px;
    transition: all .15s ease;
}
#mw-panel .mw-list-item a:hover {
    color: #ffffff !important;
    background: rgba(51, 208, 224, .10);
    border-left-color: var(--emush-cyan);
    text-shadow: 0 0 6px var(--emush-cyan-soft);
    padding-left: 12px;  /* léger glissement au survol */
}
}

Version du 19 juillet 2026 à 08:04

/* CSS placed here will be applied to all skins */

/* Dark Mode */
.client-dark-mode body {
    background-color: #121212;
    color: #e0e0e0;
}
.client-dark-mode #content,
.client-dark-mode .mw-body {
   background-color: #1e1e1e;
}
.client-dark-mode a {
    color: #8ab4f8;
}
.client-dark-mode .wikitable {
    background-color: #1e1e1e;
    color: #e0e0e0;
}
.client-dark-mode img {
    filter: brightness(0.9);
}

/* Language switcher */
.lang-switcher .external {
    background-image: none !important;
    padding-right: 0 !important;
}
.lang-switcher a .lang-create {
    color: #ba0000 !important;
    font-weight: 500;
}
.lang-switcher .mw-file-element {
    margin-bottom: 2px;
}


.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;
  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;
  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;
}


/* ============================================================
   THÈME eMush — barre latérale gauche (skin Vector legacy)
   ============================================================ */

#mw-panel.vector-legacy-sidebar {
    /* --- Palette eMush : ajuste ici, tout en découle --- */
    --emush-bg:        #0a1420;   /* fond général, bleu-nuit profond */
    --emush-panel:     #0e1c2b;   /* fond des modules */
    --emush-cyan:      #33d0e0;   /* accent principal, turquoise */
    --emush-cyan-soft: rgba(51, 208, 224, .35);
    --emush-amber:     #ffb02e;   /* accent secondaire, titres */
    --emush-text:      #bcd8e2;   /* texte des liens */

    background: linear-gradient(180deg, var(--emush-bg) 0%, #060d16 100%);
    padding: 12px 8px;
    box-sizing: border-box;
}

/* ---- Zone du logo ---- */
#mw-panel #p-logo {
    border: 1px solid var(--emush-cyan-soft);
    border-radius: 6px;
    background: rgba(51, 208, 224, .04);
    margin-bottom: 14px;
    padding: 6px;
}

/* ---- Modules (Navigation / Outils / Langues) ---- */
#mw-panel .vector-menu-portal {
    background: var(--emush-panel);
    border: 1px solid var(--emush-cyan-soft);
    border-radius: 6px;
    margin: 0 0 12px 0;
    padding: 6px 8px 8px;
    box-shadow: 0 0 12px rgba(51, 208, 224, .08),
                inset 0 0 20px rgba(51, 208, 224, .03);
}

/* ---- Titres de section ---- */
#mw-panel .vector-menu-heading {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    color: var(--emush-amber) !important;
    padding: 4px 2px 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--emush-cyan-soft);
}
#mw-panel .vector-menu-heading-label::before {
    content: "▸ ";
    color: var(--emush-cyan);
}

/* ---- Liens ---- */
#mw-panel .vector-menu-content-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
#mw-panel .mw-list-item { margin: 2px 0; }

#mw-panel .mw-list-item a {
    display: block;
    color: var(--emush-text) !important;
    font-size: 13px;
    text-decoration: none;
    padding: 5px 8px;
    border-left: 2px solid transparent;
    border-radius: 3px;
    transition: all .15s ease;
}
#mw-panel .mw-list-item a:hover {
    color: #ffffff !important;
    background: rgba(51, 208, 224, .10);
    border-left-color: var(--emush-cyan);
    text-shadow: 0 0 6px var(--emush-cyan-soft);
    padding-left: 12px;   /* léger glissement au survol */
}