Guild Wars 2 Wiki:Projects/CSS documentation/individual pages- minerva

From Guild Wars 2 Wiki
Jump to navigationJump to search
/** MAIN PAGE **/
body.page-Main_Page main {
    overflow-x: hidden;
    background: url("/images/3/35/Main_page_background_left_%28Janthir_Wilds%29.png") top 100px left -250px/auto auto no-repeat,
        url("/images/e/e6/Main_page_background_right_%28Janthir_Wilds%29.png") bottom +50px right -50px/auto auto no-repeat,
        #FFF;
}

body.action-view.page-Main_Page #content, body.action-view.page-Main_Page_editcopy #content {
    padding: 0em 0em 1.2em 0em;
}

.mainpage-banner > p {
    text-align: center;
    font-style: italic;
    font-size: 125%;
}

.mainpage-banner > p > span {
    position: relative;
    bottom: 2px;
}

.mainpage-banner, .mainpage-cell, #editcopylink {
    background: rgba(255, 255, 255, 0.85);
}

.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: 28em;
    border: 1px solid #B7B8CC;
    box-sizing: border-box;
}

.mainpage-cell.mainpage-cell-double {
    width: 56.5em;
}

.mainpage-cell h2 {
    line-height: 1.5em;
    font-size: 1.75em;
    margin: 0em 0em 0.5em;
}

.mainpage-cell dl {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 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 featured images and set cells to full width if page width is less than two columns wide */
@media only screen and (max-width:65.5em) {
    .mainpage-cell, .mainpage-cell:first-of-type {
        width: 100%;
    }
}