MediaWiki:Common.css : Différence entre versions
De Solarpedia
Ligne 84 : | Ligne 84 : | ||
position: absolute; | position: absolute; | ||
top: -160px; | top: -160px; | ||
− | left: | + | left: 10; |
width: 10em; | width: 10em; | ||
height: 160px; | height: 160px; |
Version du 31 octobre 2015 à 17:34
/* Le CSS placé ici sera appliqué à tous les habillages. */ body { background: #ffffff url(fond.jpg) 0 0 repeat-x; color: black; margin: 0; padding: 0; } body.page-Accueil h1.firstHeading { display:none; } /* Head */ #mw-page-base { height: 5em; /* @embed */ background: #ffffff url(fond.jpg) 0 0 repeat-x; } #mw-head-base { margin-top: -5em; margin-left: 10em; height: 5em; /* @embed */ background: #ffffff url(fond.jpg) 0 0 repeat-x; } /* Panel */ div#mw-panel { position: absolute; top: 160px; padding-top: 1em; width: 10em; left: 0; } div#mw-panel div.portal { padding-bottom: 1.5em; direction: ltr; } div#mw-panel div.portal h5 { font-weight: normal; color: #444444; padding: 0.25em; padding-top: 0; padding-left: 1.75em; cursor: default; border: none; font-size: 0.75em; } div#mw-panel div.portal div.body { margin: 0; padding-top: 0.5em; margin-left: 1.25em; /* @embed */ background-image: url(images/portal-break.png); background-repeat: no-repeat; background-position: top left; } div#mw-panel div.portal div.body ul { list-style: none; list-style-image: none; list-style-type: none; padding: 0; margin: 0; } div#mw-panel div.portal div.body ul li { line-height: 1.125em; padding: 0; padding-bottom: 0.5em; margin: 0; overflow: hidden; font-size: 0.75em; } div#mw-panel div.portal div.body ul li a { color: #0645ad; } div#mw-panel div.portal div.body ul li a:visited { color: #0b0080; } /* Logo */ #p-logo { position: absolute; top: -160px; left: 10; width: 10em; height: 160px; } #p-logo a { display: block; width: 10em; height: 160px; background-repeat: no-repeat; background-position: center center; text-decoration: none; } .mw-wiki-logo { background-image: url("resources/assets/logo_main.png"); } /* acceuil */ #colonneacceuil { float:left; border:1px solid #3C3CFF; -moz-border-radius:10px; background: white url("http://fr.solarpedia.net/images/fond_menu.jpg"); background-repeat: repeat-y; } #acceuilheader { min-width:820px; max-width:1000px; margin:0 auto; } #acceuilheader2 { float: left; margin:20px auto; width: 100%; } #acceuilheaderleft { float: left; margin:20px auto; width: 66%; } #acceuilheaderright { float: right; width: 260px; margin:20px auto; } #acceuilheadercontenuleft { float: left; width: 100%; background:#fcfcfc; border:1px solid #ccc; padding: 10px 0px 10px 10px; } #acceuilheadercontenuright { float: left; width: 100%; background:#fcfcfc; border:1px solid #ccc; padding: 10px 0px 10px 10px; -moz-border-radius-topright : 10px; } #acceuilmain1 { min-width: 820px; max-width: 1000px; margin:0 auto; } #acceuilleft { float:left; padding: 0; border:1px solid #8ac702; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; behavior: url(border-radius.htc); width:260px; height: 260px; font-size:100%; background:url("http://fr.solarpedia.net/images/fond_menu1.png") top right repeat-x; } .acceuiltitle { float: left; width: 165px; padding: 10px 5px; position:relative; z-index: 2; } #acceuiltitleleft a:link {color: #8ac702;} #acceuiltitleright a:link {color: #024bca;} #acceuiltitlemiddle a:link {color: #CC0000;} #acceuiltitleleft a:visited {color: #8ac702;} #acceuiltitleright a:visited {color: #024bca;} #acceuiltitlemiddle a:visited {color: #CC0000;} .acceuillogo { float: left; position:relative; z-index: 2; } .acceuilsubmenu a:link {color: #444444;} .acceuilsubmenu a:visited {color: #444444;} .acceuilsubmenu { float: left; padding: 10px; position:relative; z-index: 2; width: 240px; } #acceuilright { float:right; border:1px solid #024bca; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; behavior: url(border-radius.htc); width:260px; height: 260px; font-size:100%; background:url("http://fr.solarpedia.net/images/fond_menu3.png") top right repeat-x; } #acceuilmiddle { margin: 0 auto; width:260px; height: 260px; border:1px solid #CC0000; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; behavior: url(border-radius.htc); font-size:100%; background:url("http://fr.solarpedia.net/images/fond_menu2.png") top right repeat-x; } #acceuiltitleleft a:link {color: #8ac702;} #acceuiltitleright a:link {color: #024bca;} #acceuiltitlemiddle a:link {color: #CC0000;} #acceuilmenu { float:left; font-size:90%; padding:10px 0px 0px 0px; } #acceuilmenu a:link {color: #444444;} .acceuilcleaner { clear:both; height:1px; font-size:1px; margin:0; padding:0; background: #fff; } #acceuilmain3 { width: 100%; margin:0 auto; padding:0; } #acceuilactualitetitle { float: left; background:#fcfcfc; border:1px solid #ccc; padding: 2px 8px; -moz-border-radius-topright : 10px; } #acceuilactualitecontenu { float: left; width: 100%; background:#fcfcfc; border:1px solid #ccc; padding: 10px; -moz-border-radius-topright : 10px; } #acceuilactualite { float: left; margin:40px auto; padding:0; width: 60%; } #acceuilressources{ float: right; width: 33%; margin:40px auto; padding:0; } #acceuilressourcestitle { float: left; background:#fcfcfc; border:1px solid #ccc; padding: 2px 8px; -moz-border-radius-topright : 10px; } #acceuilressourcescontenu { float: left; width: 100%; background:#fcfcfc; border:1px solid #ccc; padding: 10px 0px 10px 10px; -moz-border-radius-topright : 10px; } /* BAS DE PAGE */ #acceuilmain4 { width: 100%; margin:0 auto; padding:0; } #acceuilreseauxsociaux { float: left; margin:40px auto; padding:0; width: 60%; } #acceuilhebergement{ float: right; width: 33%; margin:40px auto; padding:0; } /* ACTUALITES */ #actualitecontenu { float: left; width: 94%; background:#fcfcfc; border:1px solid #ccc; padding: 10px; -moz-border-radius-topright : 10px; } #Actus_titre { float: left; font-weight: bold; width: 100%; } #Actus_article { float: left; border:1px solid #ccc; margin: 4px; } #Actus_contenu { float: left; width: 100%; margin: 4px; } #Actus_image { float: left; margin: 4px; } #Actus_bas { width: 100%; } /* FORMATIONS */ #formationcontenu { float: left; width: 94%; background:#fcfcfc; border:1px solid #ccc; padding: 10px; -moz-border-radius-topright : 10px; } #Form_titre { float: left; font-weight: bold; width: 100%; color: #002bb8; } #Form_article { float: left; border:1px solid #ccc; margin: 4px; } #Form_contenu { float: left; width: 100%; margin: 4px; } #Form_bas { width: 100%; margin: 4px; color: #444444; font-weight: italic; } /* EVENEMENTS */ #eventscontenu { float: left; width: 94%; background:#fcfcfc; border:1px solid #ccc; padding: 10px; -moz-border-radius-topright : 10px; } #Evt_titre { float: left; font-weight: bold; width: 100%; color: #002bb8; } #Evt_article { float: left; border:1px solid #ccc; margin: 4px; } #Evt_contenu { float: left; width: 100%; margin: 4px; } #Evt_bas { width: 100%; margin: 4px; color: #444444; font-weight: italic; } /* VIDEOS */ #Vid_contenu { float: left; width: 94%; padding: 10px; border:1px solid #ccc; } #Vid_contenu_bas { float: left; width: 94%; padding: 10px; border:1px solid #ccc; } #Vid_mainvideo { float: left; padding: 14px; border:1px solid #ccc; } #Vid_maindesc { float: left; padding: 14px; width: 282px; border:1px solid #ccc; } .Vid_titre { font-weight: bold; color: #002bb8; } .Vid_par { font-weight: bold; color: #ffc311; border:1px solid #ccc; } .Vid_bloc { float: left; padding: 14px; border:1px solid #ccc; width: 260px; }