Guild Wars 2 Wiki:Projects/CSS documentation/individual pages- vector
From Guild Wars 2 Wiki
Jump to navigationJump to search
/** MAIN PAGE **/
.mainpage-background-wrapper {
overflow-x: hidden;
background: url("/images/c/c9/Main_page_background_left_%28Visions_of_Eternity%29.png") top +50px left -130px no-repeat,
url("/images/5/5c/Main_page_background_right_%28Visions_of_Eternity%29.png") bottom right/600px 828px no-repeat,
#1E1E1E; /* color scheme: page gray */
}
body.action-view.page-Main_Page #content,
body.action-view.page-Main_Page_editcopy #content {
padding: 0em 0em 1.2em 0em;
}
.mainpage-banner > p {
font-family: EasonPro, Helvetica, Arial, sans-serif;
font-size: 1.8375em;
text-align: center;
}
.mainpage-banner > p > span {
position: relative;
bottom: 2px;
}
.mainpage-banner,
.mainpage-cell,
#editcopylink {
background: rgba(30,30,30,0.85); /* #1E1E1E in rgb with transparency */ /* color scheme: page gray */
}
#mainpage-content {
font-family: CronosPro, Arial, Helvetica, sans-serif;
font-size: 1.225em;
}
.mainpage-cell-wrapper {
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox; /* TWEENER - IE 10 */
display: -webkit-flex; /* NEW - Chrome */
display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
flex-wrap: wrap;
justify-content: center;
max-width: 96em;
margin: 0 auto;
padding-right: 0.5em;
}
.mainpage-cell {
margin: 0.5em 0em 0em 0.5em;
padding: 0.5em;
width: 21em;
border: 1px solid #393A3C; /* color scheme: gray page border */
box-sizing: border-box;
}
.mainpage-cell.mainpage-cell-double {
width: 42.5em;
}
.mainpage-cell h2 {
line-height: 1.5em;
font-size: 1.75em;
margin: 0em 0em 0.5em;
}
.mainpage-cell a {
white-space: nowrap;
}
.mainpage-cell a.external {
white-space: normal;
}
.mainpage-cell dl {
margin-top: 0;
margin-bottom: 0;
}
.mainpage-featured-images {
overflow-x: hidden;
}
#editcopylink {
font-size: 0.8em;
font-style: italic;
text-align: right;
margin-top: 1em;
}
#editcopylink span {
margin-right: 2em;
}
/* Hide right background image if it would interfere with left image */
@media only screen and (max-width: 70em) {
.mainpage-background-wrapper {
background: url("/images/c/c9/Main_page_background_left_%28Visions_of_Eternity%29.png") top 80px left -220px/739px 775px no-repeat,
#1E1E1E; /* color scheme: page gray */
}
}
/* Hide featured images and set cells to full width if page width is less than two columns wide */
@media only screen and (max-width: 54.5em) {
.mainpage-featured-images {
display: none;
}
.mainpage-cell,
.mainpage-cell:first-of-type {
width: 100%;
}
}