MediaWiki:Common.css: Difference between revisions
From Darkness DB
(Created page with "→CSS placed here will be applied to all skins: →Barres colorées du haut: @media screen and (max-width: 850px) { .color-right, .color-middle, .color-left { background: black; } } @media screen and (max-width: 850px) { .color-middle { background: #93192d; } } .color-right { background: black; } .color-left { background: black; } .color-middle { background: #93192d; } →Fin barres colorées du haut: →Autre barres colorées: .mw-body h1.fi...") |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
#p-logo-text a | |||
{ | |||
font-size: 1.80em; | |||
} | |||
#mw-content-container { | |||
background-color: #919191; | |||
} | |||
/*Barres colorées du haut*/ | /*Barres colorées du haut*/ | ||
| Line 5: | Line 14: | ||
{ | { | ||
.color-right, .color-middle, .color-left { | .color-right, .color-middle, .color-left { | ||
background: | background: #424349; | ||
} | } | ||
} | } | ||
| Line 11: | Line 20: | ||
{ | { | ||
.color-middle { | .color-middle { | ||
background: # | background: #161c4d; | ||
} | } | ||
} | } | ||
.color-right { | .color-right { | ||
background: | background: #424349; | ||
} | } | ||
.color-left { | .color-left { | ||
background: | background: #424349; | ||
} | } | ||
.color-middle { | .color-middle { | ||
background: # | background: #161c4d; | ||
} | } | ||
| Line 30: | Line 39: | ||
/*Autre barres colorées */ | /*Autre barres colorées */ | ||
.mw-body h1.firstHeading { | .mw-body h1.firstHeading { | ||
border-bottom: solid 4px # | border-bottom: solid 4px #161c4d; | ||
} | } | ||
.tools-inline li.selected { | .tools-inline li.selected { | ||
border-bottom-color: # | border-bottom-color: #161c4d; | ||
} | } | ||
#mw-content-container { | #mw-content-container { | ||
border-bottom: solid 4px # | border-bottom: solid 4px #161c4d; | ||
} | } | ||
| Line 43: | Line 52: | ||
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 { | #mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 { | ||
border-bottom: solid 2px # | border-bottom: solid 2px #161c4d; | ||
} | } | ||
| Line 128: | Line 137: | ||
grid-row: 1; | grid-row: 1; | ||
text-align: center; | text-align: center; | ||
background-color: # | background-color: #161c4d; | ||
color: #FFFFFF; | color: #FFFFFF; | ||
font-size: 120%; | font-size: 120%; | ||
Latest revision as of 13:23, 18 August 2022
/* CSS placed here will be applied to all skins */
#p-logo-text a
{
font-size: 1.80em;
}
#mw-content-container {
background-color: #919191;
}
/*Barres colorées du haut*/
@media screen and (max-width: 850px)
{
.color-right, .color-middle, .color-left {
background: #424349;
}
}
@media screen and (max-width: 850px)
{
.color-middle {
background: #161c4d;
}
}
.color-right {
background: #424349;
}
.color-left {
background: #424349;
}
.color-middle {
background: #161c4d;
}
/*Fin barres colorées du haut*/
/*Autre barres colorées */
.mw-body h1.firstHeading {
border-bottom: solid 4px #161c4d;
}
.tools-inline li.selected {
border-bottom-color: #161c4d;
}
#mw-content-container {
border-bottom: solid 4px #161c4d;
}
/*Fin autres barres colorées*/
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
border-bottom: solid 2px #161c4d;
}
/* Fin autre barres colorées */
/*Infobox*/
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}
.testTable {
width: 200px;
float: right;
}
.wikitable{
float: right;
}
/* Fin infobox */
/* Sommaire + logo */
#toc::after{
clear: both;
}
.mw-wiki-logo.fallback{
height: 5em;
}
/* Fin Sommaire + logo*/
/* Blocs infos*/
.wrapperBA {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 10px;
grid-auto-rows: minmax(30px,auto);
min-width: 270px;
max-width: 370px;
background: #eee;
border: 1px solid #aaa;
padding: 1em;
margin-left: 1em;
}
.wrapperMG {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 10px;
grid-auto-rows: minmax(30px,auto);
min-width: 270px;
max-width: 370px;
background: #eee;
border: 1px solid #aaa;
padding: 1em;
margin-left: 1em;
}
.titleBA{
/*grid-column: 3;
grid-row: 1;*/
grid-column-start: 1;
grid-column-end: 3;
grid-row: 1;
text-align: center;
background-color: #161c4d;
color: #FFFFFF;
font-size: 120%;
padding: 1em;
}
.titleMG{
/*grid-column: 3;
grid-row: 1;*/
grid-column-start: 1;
grid-column-end: 3;
grid-row: 1;
text-align: center;
background-color: black;
color: #FFFFFF;
font-size: 120%;
padding: 1em;
}
.image{
grid-column-start: 1;
grid-column-end: 3;
grid-row: 2;
padding: 1em;
text-align: center;
}
.known {
grid-column: 1;
grid-row: 3;
}
.knownField {
grid-column: 2;
grid-row: 3;
}
.country {
grid-column: 1;
grid-row: 4;
}
.countryField {
grid-column: 2;
grid-row: 4;
}
.genres {
grid-column: 1;
grid-row: 5;
}
.genresField {
grid-column: 2;
grid-row: 5;
}
.years {
grid-column: 1;
grid-row: 6;
}
.yearsField {
grid-column: 2;
grid-row: 6;
}
.website {
grid-column: 1;
grid-row: 7;
}
.websiteField{
grid-column: 2;
grid-row: 7;
}
.genresOrigines {
grid-column: 1;
grid-row: 2;
}
.genresOriginesField {
grid-column: 2;
grid-row: 2;
}
.world {
grid-column: 1;
grid-row: 3;
}
.worldField {
grid-column: 2;
grid-row: 3;
}
.subgenres {
grid-column: 1;
grid-row: 4;
}
.subgenresField {
grid-column: 2;
grid-row: 4;
}
.titreGras {
font-weight: bold;
width: 100px 30%;
}
.mw-parser-output p br {
display: none;
}
@media (min-width: 850px) {
.wrapperBA, .wrapperMG {
float:right;
}
}
@media (max-width: 850px) {
.wrapperBA, .wrapperMG {
margin: auto;
}
}
/* Fin blocs infos */