MediaWiki:Common.css : Différence entre versions
(67 révisions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | + | body { | |
− | + | background-color: #FFF5EE; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | h1 { | |
− | + | font-size: 20px; | |
− | |||
− | |||
− | |||
− | font- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | img { | |
− | { | + | max-width: 100%; |
− | + | height: auto; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | li a { | |
− | + | display: block; | |
− | + | width: auto; | |
− | |||
− | |||
} | } | ||
− | + | /* Change the link color on hover */ | |
− | + | li a:hover { | |
− | + | background-color: #555; | |
− | + | color: white; | |
} | } | ||
− | + | .active { | |
− | + | background-color: #A9A9A9; | |
− | . | + | color: white; |
− | |||
− | |||
− | color: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .dropdown { | |
− | + | position: relative; | |
− | + | display: inline-block; | |
} | } | ||
− | + | .dropdown-content { | |
− | .content { | ||
− | |||
display: none; | display: none; | ||
− | + | position: absolute; | |
− | background-color: # | + | background-color: #f9f9f9; |
+ | min-width: 160px; | ||
+ | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
+ | padding: 12px 16px; | ||
+ | z-index: 1; | ||
} | } | ||
+ | .dropdown:hover .dropdown-content { | ||
+ | display: block; | ||
+ | } | ||
− | + | #mw-panel, #mw-head, #mw-page-base, #firstHeading, #footer, #left-navigation, #contentSub, #jump-to-nav, .mw-pt-translate-header {display:none;} | |
− | + | #content.mw-body { margin: 10em; border:none;} | |
− | + | #mw-head-base, #content, #footer {display:none;} | |
− | #mw-head-base, | + | .ns-3504 #mw-content-ltr { |
− | .ns-3504 | + | color: #000000; |
− | |||
} | } | ||
body.ns-3504 {background: #282828} | body.ns-3504 {background: #282828} | ||
− | .ns-3504 | + | .ns-3504 #content a { |
− | + | color: #da5c2a; | |
} | } | ||
− | + | ||
+ | .mw-editsection { display:none!important; } | ||
+ | .hiddentext {display:none;} |
Version actuelle datée du 16 septembre 2021 à 15:47
body {
background-color: #FFF5EE;
}
h1 {
font-size: 20px;
}
img {
max-width: 100%;
height: auto;
}
li a {
display: block;
width: auto;
}
/* Change the link color on hover */
li a:hover {
background-color: #555;
color: white;
}
.active {
background-color: #A9A9A9;
color: white;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px;
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
#mw-panel, #mw-head, #mw-page-base, #firstHeading, #footer, #left-navigation, #contentSub, #jump-to-nav, .mw-pt-translate-header {display:none;}
#content.mw-body { margin: 10em; border:none;}
#mw-head-base, #content, #footer {display:none;}
.ns-3504 #mw-content-ltr {
color: #000000;
}
body.ns-3504 {background: #282828}
.ns-3504 #content a {
color: #da5c2a;
}
.mw-editsection { display:none!important; }
.hiddentext {display:none;}