MediaWiki:Common.css: Difference between revisions

From Epic Path
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
     background-attachment: fixed;
     background-attachment: fixed;
     margin-left: -4.5px;
     margin-left: -4.5px;
     width: 175px;
     width: 174px;
}
}
#p-logo a,
#p-logo a,

Revision as of 19:30, 6 May 2016

/* CSS placed here will be applied to all skins */

/* removes header on main page */
body.page-Epic_Path.action-view h1.firstHeading, body.page-Epic_Path.action-submit h1.firstHeading { display: none; }

/* removes bottom border of h2 on main page */
body.page-Epic_Path.action-view h2, body.page-Epic_Path.action-submit h2 { color: #584500; font-size: 1.5em; padding: 2px; padding-top: 30px; border-bottom-style: none; clear: both; }

/* removes redirected from main page message from main page */
.page-Epic_Path #contentSub { display: none }


/* Logo Space */
#p-logo {
     background-image: url(/images/4/47/Paper-texture.jpg);
     background-position: top left;
     background-attachment: fixed;
     margin-left: -4.5px;
     width: 174px;
}
#p-logo a,
#p-logo a:hover {
	display: block;
	height: 155px;
	width: 12.4em;
	background-repeat: no-repeat;
	background-position: 25% 50% !important;
	text-decoration: none;
}

h1 {
    color: #584500;
    font-size: 2em;
    padding: 2px;
    border-bottom-color: #584500;
}

h2 {
    color: #584500;
    font-size: 1.5em;
    padding: 2px;
    padding-top: 30px;
    border-bottom-style: solid;
    border-bottom-color: #584500;
}

h3 {
    color: #584500;
    font-size: 1.25em;
    padding: 2px;
    padding-top: 30px;
}


h4 {
    color: #584500;
    padding: 2px;
    padding-top: 30px;
}

h5 {
    color: #584500;
    padding: 2px;
    padding-top: 30px;
}


/* Main content panel */
#content {
     background-image: url(/images/4/47/Paper-texture.jpg);
     background-position: top left;
     background-attachment: fixed;
}

/* Top of screen */
#mw-head-base {
     background-image: url(/images/4/47/Paper-texture.jpg);
     background-position: top left;
     background-attachment: fixed;
}


/* Sidebar */
#mw-panel {
     background-image: url(/images/4/47/Paper-texture.jpg);
     background-position: top left;
     background-attachment: fixed;
}

/* Bottom of screen */
#footer {
     background-image: url(/images/4/47/Paper-texture.jpg);
     background-position: top left;
     background-attachment: fixed;
}

/* Categories pane */
#catlinks {
     background-color: #FFFBE6; 
}

/* Everywhere else */
body { 
     background-image: url(/images/4/47/Paper-texture.jpg);
     background-position: top left;
     background-attachment: fixed;
}

/* Mobile-Friendly Two Column Display (Full Page)*/
#page-2column-left {
    float: left;
    width: 48%;
}
#page-2column-right {
    float: right;
    width: 48%;
}
@media only screen and (max-width: 850px) {
    /* Decouple the columns on narrow screens */
    #page-2column-left,
    #page-2column-right {
        float: inherit;
        width: inherit;
    }
}

/* Responsive Columns on Main Page */
.section-content {
    box-sizing: border-box;
}

.columns {
    -moz-column-width: 16em; /* Firefox */
    -webkit-column-width: 16em; /* webkit, Safari, Chrome */
    column-width: 16em; 
    margin-right: 2px;
}

.columns ul {
    white-space: nowrap;
}

.clear {
   clear: left;
   height: 1px;
   margin-top: -1px;
}


/* Bestiary Header Formatting */
h2.bestiary_main {
    color: #584500;
    font-size: 2.5em;
    padding: 2px;
    text-align: center;
    border-bottom-style: solid;
    border-bottom-color: #584500;
}

h2.bestiary {
    color: #584500;
    font-size: 1.5em;
    font-weight: bold;
    padding: 2px;
    padding-top: 30px;
    border-bottom-style: none;
}