Différences entre versions de « MediaWiki:Common.css »

De Wiki Latitude-Cartagène
Aller à : navigation, rechercher
(Page blanchie)
Balise : Blanchiment
 
(27 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
  
−
.yellow, yellow > *, .yellow * { color: gold !important; }
 
−
.black, black > *, .black * { color: black !important; }
 
−
.title, title > *, .title * { color: black !important; }
 
−
.latitude, latitude > *, .latitude * { color: gold !important; }
 
−
 
−
 
−
/**** VECTOR TABS & VECTOR MENU ****/
 
−
 
−
/* sizing and font styles for non-active tabs */
 
−
div#mw-head div.vectorMenu h3 span,
 
−
div#mw-head div.vectorTabs span a {
 
−
font-weight: bold;
 
−
text-transform: uppercase;
 
−
color: #FFD700;
 
−
height: 1em;
 
−
padding: 0;
 
−
font-size: 100%;
 
−
}
 
−
 
−
/* allow space for the vectormenu arrows */
 
−
div#mw-head div.vectorMenu h3 span {
 
−
padding-right: 16px;
 
−
vertical-align: top;
 
−
}
 
−
 
−
div#mw-head div.vectorMenu h3 span:after {
 
−
top: 0;
 
−
}
 
−
 
−
/* padding/sizing and aesthetic styles for the background of the tabs */
 
−
div#mw-head div.vectorMenu h3,
 
−
div#mw-head div.vectorTabs ul li span {
 
−
background: #FF4500;
 
−
border-radius: 2px;
 
−
padding: 0.5em;
 
−
margin: 0 0.25em;
 
−
height: 1em;
 
−
line-height: 1;
 
−
overflow: visible;
 
−
}
 
−
 
−
/* styles for the currently selected tab and on-hover dropdown menus */
 
−
div#mw-head div.vectorMenu:hover h3 span,
 
−
div#mw-navigation div.vectorMenu div.menu li a,
 
−
div#pageWrapper div#mw-navigation li.selected a {
 
−
color: #FFD700;
 
−
}
 
−
 
−
div#mw-head div.vectorMenu:hover h3,
 
−
div#mw-head div.vectorTabs ul li.selected span,
 
−
div.vectorMenu div.menu {
 
−
background: #000000;
 
−
}
 
−
 
−
/* clear border-radius on the bottom of the dropdown menu on hover */
 
−
div#mw-head div.vectorMenu:hover h3 {
 
−
border-bottom-right-radius: 0;
 
−
border-bottom-left-radius: 0;
 
−
}
 
−
 
−
/* reset backgrounds on various parts of the dropdown menu to allow custom styles to show */
 
−
div.vectorMenu:hover ul,
 
−
div.vectorTabs ul,
 
−
div.vectorTabs ul li,
 
−
div.vectorTabs ul li.selected {
 
−
background: transparent;
 
−
}
 
−
 
−
/* position the dropdown menu to properly align with the bottom of the tabs */
 
−
div.vectorMenu div.menu {
 
−
top: 2em;
 
−
border: 0;
 
−
padding: 0.25em;
 
−
}
 
−
 
−
/* clean up links in dropdown menu */
 
−
div#mw-navigation div.vectorMenu div.menu li a {
 
−
padding: 0.3em;
 
−
font-size: 90%;
 
−
display: block;
 
−
height: auto;
 
−
margin: auto;
 
−
}
 
−
 
−
/* style watch button to fit inside tabs */
 
−
div#mw-head #p-views #ca-unwatch.icon a,
 
−
div#mw-head #p-views #ca-watch.icon a {
 
−
background-size: 1.5em;
 
−
height: 0;
 
−
margin: -0.25em 0;
 
−
padding-top: 1.5em;
 
−
background-position: center center;
 
−
}
 
−
 
−
 
−
/* change background of unselected tabs */
 
−
#p-cactions ul li a { background: #FFD700; }
 
−
 
−
/* change background of selected tabs */
 
−
#p-cactions ul li.selected a { background: white; }
 
−
 
−
/* change border background of selected tabs */
 
−
#p-cactions li.selected { border-color: #aaaaaa; }
 
−
 
−
/* tab bottom not removed on hover */
 
−
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
 
−
#p-cactions li.selected a:hover { z-index: 3; }
 
−
 
−
 
−
 
−
 
−
 
−
 
−
/* standard link colors
 
−
:link { color: #C71585; }
 
−
:link:visited { color: #C71585; }
 
−
:link:active, :link.new { color: #C71585; }
 
−
:link.interwiki, :link.external { color: #C71585; }
 
−
:link.stub { color: #C71585; }
 
−
*/
 
−
 
−
 
−
 
−
 
−
 
−
 
−
 
−
 
−
/**** SIDEBAR ****/
 
−
/* style the background of the sidebar section headers */
 
−
.mediawiki div#mw-panel div.portal h3 {
 
−
font-size: 80%;
 
−
padding: 0.5em;
 
−
background-color: #FFD700;
 
−
border-radius: 2px;
 
−
}
 
−
 
−
/* text styles for sidebar headers */
 
−
.mediawiki div#mw-panel div.portal h3,
 
−
div#pageWrapper div#mw-panel h3 a {
 
−
text-transform: uppercase;
 
−
font-weight: bold;
 
−
color: #FFD700;
 
−
}
 
−
 
−
/* remove underline on hover of collapsed sidebar headers */
 
−
#mw-panel.collapsible-nav .portal.collapsed h3:hover {
 
−
text-decoration: none;
 
−
}
 
−
 
−
/* switch arrow image on collapsible sidebar headers */
 
−
.mediawiki div#mw-panel.collapsible-nav div.portal h3 {
 
−
padding-left:calc(16px + 0.5em);
 
−
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%23fff%22/%3E %3C/svg%3E");
 
−
background-position: 0.5em center;
 
−
}
 
−
 
−
/* switch arrow image for collapsed headers */
 
−
.mediawiki #mw-panel.collapsible-nav .portal.collapsed h3 {
 
−
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 transform=%22rotate(-90 6 6)%22 fill=%22%23fff%22/%3E %3C/svg%3E");
 
−
}
 
−
 
−
/* reset some default styles on sidebar sections */
 
−
#mw-panel.collapsible-nav .portal .body,
 
−
.mediawiki div#mw-panel div.portal div.body {
 
−
background: transparent;
 
−
margin-left: 0;
 
−
}
 
−
 
−
#mw-panel.collapsible-nav .portal .body ul,
 
−
div#mw-panel div.portal div.body ul {
 
−
padding-top: 0;
 
−
}
 
−
 
−
/* style the background of the sidebar links */
 
−
#mw-panel.collapsible-nav .portal .body ul li,
 
−
div#mw-panel div.portal div.body ul li {
 
−
padding: 0.35em 0.5em;
 
−
margin: 0.25em 0;
 
−
background: #000;
 
−
border-radius: 2px;
 
−
}
 
−
 
−
/* text styles for sidebar links */
 
−
.mediawiki div#mw-panel div.portal div.body ul li a,
 
−
div#mw-panel.collapsible-nav div.portal div.body ul li a {
 
−
color: #FFD700;
 
−
}
 
−
 
−
/* misc cleanups for social button section */
 
−
div#mw-panel div.portal#p-socialProfiles h3 {
 
−
display: none;
 
−
        color: #FFD700;
 
−
}
 
−
 
−
.socialSidebar {
 
−
width: 100%;
 
−
        color: #FFD700;
 
−
}
 
−
 
−
div#mw-panel.collapsible-nav div.portal#p-socialProfiles {
 
−
margin: 0.25em;
 
−
}
 
−
 
−
 
−
 
−
/*@media screen and (min-width: 901px)*/
 
−
#mw-sidebar h3 {
 
−
    display: block;
 
−
    width: 80px;
 
−
    height: 75px;
 
−
    box-sizing: border-box;
 
−
    margin: 0;
 
−
    padding: 48px 2px 0;
 
−
    text-transform: uppercase;
 
−
    color: #FFD700;
 
−
    border-left: 1px solid #666666;
 
−
    border-right: 1px solid #444444;
 
−
    font-size: 10px;
 
−
    font-weight: bold;
 
−
    position: relative;
 
−
    text-align: center;
 
−
    cursor: pointer;
 
−
    overflow: hidden;
 
−
}
 
−
 
−
 
−
#searchInput {
 
−
    width: 100%;
 
−
    background: transparent;
 
−
    border: none;
 
−
    border-bottom: solid 2px #ffffff;
 
−
    height: 2em;
 
−
    color: #FFD700;
 
−
    font-weight: bold;
 
−
    font-family: "Helvetica","arial",sans-serif;
 
−
}
 
−
 
−
 
−
 
−
#preftoc, .mw-body-content .mw-search-profile-tabs, table.wikitable > tr > th, table.wikitable > * > tr > th {
 
−
    border: solid 1px #444444;
 
−
    background: #FFD700;
 
−
}
 
−
 
−
#content-block h2 .mw-headline {
 
−
    border-left: 10px solid #FFD700;
 
−
    padding-left: 6px;
 
−
}
 
−
 
−
 
−
#p-wiki-title {
 
−
    margin-top: 0.5em;
 
−
    color: #F8F8FF;
 
−
}
 
−
 
−
 
−
/** Title Icon
 
−
* make icons less dominant
 
−
#firstHeading.firstHeading a img {
 
−
max-width: 25px;
 
−
max-height: 25px;
 
−
    padding-bottom: 5px;
 
−
}
 
−
*/
 
−
 
−
 
−
#pt-notifications-alert .mw-echo-notifications-badge:before {
 
−
    margin-bottom: 0.5em;
 
−
}
 

Version actuelle datée du 14 janvier 2021 à 17:43