MediaWiki

Difference between revisions of "Common.css"

From Vanimedia

Line 152: Line 152:
 
.mainleft {
 
.mainleft {
 
     text-align: left;
 
     text-align: left;
     width: auto;
+
     max-width: 80%;
    margin-left: auto;  
+
     margin: 0px auto;
     margin-right: auto;
 
 
     padding-bottom: 1em;
 
     padding-bottom: 1em;
 
}
 
}

Revision as of 19:17, 11 December 2016

/* CSS placed here will be applied to all skins */
/* Use IDs (#) when there is only one concurrence per page */
/* Use classes (.) when there are one or more occurrences per page */

.noautonum .tocnumber {
    display: none;
}
.coupontable {
    border-collapse: collapse;
    margin: 1em auto 1em auto;
    width: 100%;
    background: #FFFFCC;
    text-align: center;
}
.coupontable td {
    font-size: 1em;
    border: 1px solid #98bf21;
    font-weight: bold;
    font-family: Comic Sans MS;
}
.starbanner {                            /* Usage: {| class="starbanner" Star Banner Table */
    border: 1px solid gray;
    background: #FFFFCC;                 /* Light Yellow */
    width: 62em;
    margin: 3em auto 3em auto;
}
.fidelitybanner {                            /* Usage: {| class="fidelitybanner" Star Banner Table */
    border: 1px solid gray;
    background: #FFFFCC;                 /* Light Yellow */
    width: 62em;
    margin: 1em auto 1em auto;
}
.wallofgloryh4 {                         /* Usage: <div class="wallofgloryh4">Wall of Glory Headings</div> */
    background: #FFFF99;                 /* Yellow */
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 0.2em 0.4em;
    margin: auto
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}
.quote_heading {
    font-weight: bold;
    color: #296F39;
}
.quotelink {                          /* Usage: <span class="quotelink">vaniquotes.org</span> for quote boxes */
    font-size: 1em;
    font-weight: bold;
    color: #296F39;                   /* #296F39=green */
}

/* <pre><nowiki> */

/* Don't display some stuff on the main page */
body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod, 
body.page-Main_Page #siteSub, 
body.page-Main_Page h1.firstHeading {
    display: none !important;
}
/* Remove white border from thumbnails */
div.thumb {
    border: none;
}
div.tright {
    border: none;
    margin: 0.5em 0 0.8em 1.4em;
}
div.tleft {
    border: none;
    margin: 0.5em 1.4em 0.8em 0;
}
.MainHeader h4 {
    margin: 0 !important;
    padding: 0.2em 0.4em;
}
/* Navigation */
#chap-nav  {
    float: left
}
#verse-nav {
    float: right;
}
#prev-link {
    float: left;
    min-height: 22px;
    padding: 0 0 0 25px;
    background: url(/wiki/images/9/92/Go-previous.png) no-repeat left
}
#next-link {
    float: left;
    min-height :22px;
    padding: 0 25px;
    background: url(/wiki/images/5/5d/Go-next.png) no-repeat right
}
.highlight_terms {
    background-color: #EEE8AA;
}
         /* New stuff, sort out later  */
body.page-Main_Page h2, body.page-Talk_Main_Page h2 {
    background: #f9f9f9;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 0.3em;
    margin: 1em 0;
    color: #B5BD64;
    font-family: georgia;
    font-weight: bold;
    text-align: center;
}
#mainbanner {
    text-align: center;
    background: #f9f9f9;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 0.3em;
    color: #B5BD64;
    font-family: georgia;
    font-size: 150%;
    font-style: italic;
}
#mainlinks {
    text-align: center;
    margin-bottom: 0.5em
}
#mainlinks a {
    color: #B5BD64
}
#mainfeature h2, #maincontent h2, #mainexplanation h2, #mainprabhupada h2, #mainhelp h2, #mainresources h2 {
    background: #f9f9f9;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color: #B5BD64;
    font-family: georgia;
    font-weight: bold;
    text-align: center;
    padding: 0.3em;
    margin: 1em 0;
}
#mainmantra {
    text-align: center;
    margin-top: 1.5em;
    color: #B5BD64;
}
.maincenter {
    text-align: center;
    width: auto; 
    margin-left: auto; 
    margin-right: auto;
}
.mainleft {
    text-align: left;
    max-width: 80%;
    margin: 0px auto;
    padding-bottom: 1em;
}
.mainjustify {
    text-align: justify;
    max-width: 65em;
    margin: 0px auto;
    padding-bottom: 1em;
}
body {
    background-image: none;
    font-family: tahoma;
}
#lastmod {
    display: none
}
#p-logo a, #p-logo a:hover {
    height: 190px;
}
#column-one {
    padding-top: 190px;
}
/* Gallery */ /* table.gallery {width:100%;} */
div.gallerybox {
}
div.gallerybox div.thumb {
    border: none;
    width:auto !important;
}
/* </nowiki></pre> */