Difference between revisions of "Common.css"
From Vanimedia
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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; } | + | .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> */ | /* <pre><nowiki> */ | ||
Line 12: | Line 60: | ||
display: none !important; | display: none !important; | ||
} | } | ||
− | |||
/* Remove white border from thumbnails */ | /* Remove white border from thumbnails */ | ||
− | div.thumb {border: none;} | + | div.thumb { |
− | div.tright {border: none; margin: 0.5em 0 0.8em 1.4em;} | + | border: none; |
− | div.tleft {border: none; margin: 0.5em 1.4em 0.8em 0;} | + | } |
− | + | div.tright { | |
− | .MainHeader h4 {margin:0!important;padding:0.2em 0.4em;} | + | 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 */ | /* Navigation */ | ||
− | #chap-nav {float:left} | + | #chap-nav { |
− | #verse-nav {float:right;} | + | float: left |
− | #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} | + | #verse-nav { |
− | + | float: right; | |
− | .highlight_terms { background-color: #EEE8AA;} | + | } |
− | + | #prev-link { | |
− | + | float: left; | |
− | + | min-height: 22px; | |
− | /* New stuff, sort out later */ | + | padding: 0 0 0 25px; |
− | + | background: url(/wiki/images/9/92/Go-previous.png) no-repeat left | |
− | 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;} | + | } |
− | + | #next-link { | |
− | #mainbanner {text-align:center; background:# | + | float: left; |
− | + | min-height :22px; | |
− | #mainlinks {text-align:center; margin-bottom:0.5em} | + | padding: 0 25px; |
− | + | background: url(/wiki/images/5/5d/Go-next.png) no-repeat right | |
− | #mainlinks a {color:#B5BD64} | + | } |
− | + | .highlight_terms { | |
− | #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;} | + | background-color: #EEE8AA; |
− | + | } | |
− | #mainmantra {text-align:center; margin-top:1.5em; color:#B5BD64;} | + | /* New stuff, sort out later */ |
− | + | body.page-Main_Page h2, body.page-Talk_Main_Page h2 { | |
− | .maincenter {text-align:center; | + | background: #f9f9f9; |
− | + | border-bottom: 1px solid #ccc; | |
− | .mainleft {text-align:left; max-width: | + | border-top: 1px solid #ccc; |
− | + | padding: 0.3em; | |
− | .mainjustify {text-align:justify; max-width:65em; margin:0px auto; padding-bottom:1em;} | + | margin: 1em 0; |
− | + | color: #B5BD64; | |
− | body {background | + | font-family: georgia; |
− | + | font-weight: bold; | |
− | #lastmod {display:none} | + | text-align: center; |
− | + | } | |
− | #p-logo a, #p-logo a:hover {height:190px;} | + | #mainbanner { |
− | #column-one {padding-top:190px;} | + | text-align: center; |
− | + | background: #a36a00; | |
− | /* Gallery */ | + | border-bottom: 1px solid #ccc; |
− | + | border-top: 1px solid #ccc; | |
− | /*table.gallery {width:100%;}*/ | + | padding: 0.3em; |
− | div.gallerybox {} | + | color: #fdc88a; |
− | div.gallerybox div.thumb {border:none;width:auto!important;} | + | 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:#fdc88a; | ||
+ | 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> */ | /* </nowiki></pre> */ |
Latest revision as of 16:07, 25 January 2022
/* 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: #a36a00; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; padding: 0.3em; color: #fdc88a; 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:#fdc88a; 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> */