Différences entre versions de « MediaWiki:Common.css »
De Rich Annotator System
(27 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 4 : | Ligne 4 : | ||
#ca-viewsource { display:none!important; } | #ca-viewsource { display:none!important; } | ||
#article, #bodyContent, #mw_content { text-align: justify; } | #article, #bodyContent, #mw_content { text-align: justify; } | ||
− | a { color:# | + | a { color:#0021e0; } |
− | a:visited { color:# | + | a:visited { color:#0021e0; } |
a:hover { text-decoration:underline; } | a:hover { text-decoration:underline; } | ||
− | a.external { color:# | + | a.external { color:#0021e0; } |
.infobox { | .infobox { | ||
Ligne 13 : | Ligne 13 : | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
padding: 1em; | padding: 1em; | ||
− | width: | + | width: 340px; |
} | } | ||
.infobox-floatright { | .infobox-floatright { | ||
Ligne 19 : | Ligne 19 : | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
padding: 1em; | padding: 1em; | ||
− | width: | + | width: 340px; |
− | |||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
+ | } | ||
+ | @media (min-width: 600px) { | ||
+ | .infobox-floatright { | ||
+ | float: right; | ||
+ | } | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
Ligne 33 : | Ligne 37 : | ||
vertical-align: top; | vertical-align: top; | ||
text-align: left; | text-align: left; | ||
− | width: | + | width: 130px; |
font-size: small; | font-size: small; | ||
} | } | ||
Ligne 39 : | Ligne 43 : | ||
vertical-align: top; | vertical-align: top; | ||
font-size: small; | font-size: small; | ||
+ | text-align: left; | ||
} | } | ||
Ligne 44 : | Ligne 49 : | ||
vertical-align: top; | vertical-align: top; | ||
text-align: left; | text-align: left; | ||
− | width: | + | width: 130px; |
font-size: small; | font-size: small; | ||
} | } | ||
Ligne 50 : | Ligne 55 : | ||
vertical-align: top; | vertical-align: top; | ||
font-size: small; | font-size: small; | ||
+ | text-align: left; | ||
+ | } | ||
+ | .presentation { | ||
+ | background: #fcfcfc; | ||
+ | border: 1px solid #aaa; | ||
+ | padding: 1em; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .half-right { | ||
+ | width: 40%; | ||
+ | background: #f9f9f9; | ||
+ | border: 1px solid #aaa; | ||
+ | padding: 1em; | ||
+ | float: right; | ||
+ | margin: 0 0 1em 1em; | ||
+ | } | ||
+ | |||
+ | .wiki-template-contentgrid { | ||
+ | padding: 10px; | ||
+ | margin-bottom: 1em; | ||
+ | display: grid; | ||
} | } |
Version actuelle datée du 16 octobre 2020 à 19:46
/* Le CSS placé ici sera appliqué à tous les habillages. */
#ca-history { display:none!important; }
#ca-talk { display:none!important; }
#ca-viewsource { display:none!important; }
#article, #bodyContent, #mw_content { text-align: justify; }
a { color:#0021e0; }
a:visited { color:#0021e0; }
a:hover { text-decoration:underline; }
a.external { color:#0021e0; }
.infobox {
background: #f9f9f9;
border: 1px solid #aaa;
padding: 1em;
width: 340px;
}
.infobox-floatright {
background: #f9f9f9;
border: 1px solid #aaa;
padding: 1em;
width: 340px;
margin: 0 0 1em 1em;
}
@media (min-width: 600px) {
.infobox-floatright {
float: right;
}
}
.infobox-title {
font-weight: bold;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
vertical-align: top;
text-align: left;
width: 130px;
font-size: small;
}
.infobox td {
vertical-align: top;
font-size: small;
text-align: left;
}
.infobox-floatright th {
vertical-align: top;
text-align: left;
width: 130px;
font-size: small;
}
.infobox-floatright td {
vertical-align: top;
font-size: small;
text-align: left;
}
.presentation {
background: #fcfcfc;
border: 1px solid #aaa;
padding: 1em;
text-align: center;
}
.half-right {
width: 40%;
background: #f9f9f9;
border: 1px solid #aaa;
padding: 1em;
float: right;
margin: 0 0 1em 1em;
}
.wiki-template-contentgrid {
padding: 10px;
margin-bottom: 1em;
display: grid;
}