MediaWiki:Common.css : Différence entre versions

De NoFrag
Aller à : navigation, rechercher
 
(2 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
  
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
+
body.page-Accueil.action-view h1.firstHeading, body.page-Accueil.action-submit h1.firstHeading { display: none; }
  
 
/**
 
/**
Ligne 9 : Ligne 9 :
  
 
#mainpage_topbox {
 
#mainpage_topbox {
background: #fdb1b1;
 
 
padding: 0;
 
padding: 0;
 
border: 1px solid #aaaaaa;
 
border: 1px solid #aaaaaa;

Version actuelle datée du 16 avril 2016 à 10:36

/* Le CSS placé ici sera appliqué à tous les habillages. */

body.page-Accueil.action-view h1.firstHeading, body.page-Accueil.action-submit h1.firstHeading { display: none; }

/**
 * 4. MAIN PAGE STYLING
 * -------------------------------------------------
 */

#mainpage_topbox {
	padding: 0;
	border: 1px solid #aaaaaa;
	margin: 0.2em 10px 10px;
}
.mainpage_boxtitle,
.mainpage_hubtitle,
#mainpage_pagetitle {
	font-size: 105%;
	padding: 0.4em;
	background-color: #e6e6e6;
}
.mainpage_boxtitle {
	line-height: 120%;
}
#mainpage_pagetitle {
        color: #cc3300;
	font-size: 200% !important;
}
#mainpage_sitelinks {
	padding: 0.2em;
	text-align: center;
	background-color: white;
}
.mainpage_hubtitle {
	text-align: center;
}
.mainpage_boxcontents,
.mainpage_boxcontents_small {
	background: #ffffff;
	padding: 0.2em 0.4em;
}
.mainpage_boxcontents_small {
	font-size: 95%;
}
.mainpage_boxcontents_title {
	display: block;
	border-bottom: 1px solid #AAA;
	margin-bottom: 0.5em;
	text-align: center;
	font-weight: bold;
	font-size: larger;
}
.mainpage_hubbox {
	width: 33%;
}
.mainpage_hubbox,
#mainpage_newscell,
#mainpage_downloadcell,
#mainpage_opportunitiescell,
#mainpage_featuredpagescell {
	padding: 0;
	border: 1px solid #aaaaaa;
}
#mainpage_newscell {
	margin-bottom: 15px;
	margin-top: 0 !important;
}
#mainpage_newscell .mainpage_boxtitle {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
	background-repeat: no-repeat;
	background-position: 99% 0.3em;
	padding-right: 25px;
}
#mainpage_downloadcell {
	width: 17em;
	margin-bottom: 5px;
}
#mainpage_downloadcell .mainpage_boxtitle {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
	background-repeat: no-repeat;
	background-position: 96% 0.33em;
	padding-right: 25px;
}
#mainpage_opportunitiescell {
	max-width: 25em;
	margin-bottom: 15px;
	margin-top: 0 !important;
}
#mainpage_opportunitiescell .mainpage_boxtitle {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png);
	background-repeat: no-repeat;
	background-position: 98% 0.15em;
	padding-right: 25px;
}
#mainpage_featuredpagescell {
	max-width: 25em;
	margin-bottom: 15px;
	margin-top: 0 !important;
}
#mainpage_featuredpagescell .mainpage_boxtitle {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png);
	background-repeat: no-repeat;
	background-position: 98% 0.15em;
	padding-right: 25px;
}
/* The words 'MediaWiki.org' in the title. */
#mainpage_mwtitle {
	color: #005288;
}

/*
 * Hide elements on the main page. 
 */
.page-MediaWiki #lastmod,
.page-MediaWiki #siteSub,
.page-MediaWiki #contentSub,
.page-MediaWiki .subtitle,
.page-MediaWiki #jump-to-nav,
.page-MediaWiki .firstHeading {
	display: none;
}