Common.css: Difference between revisions
Visvatmadeva (talk | contribs) No edit summary |
Visvatmadeva (talk | contribs) No edit summary |
||
Line 100: | Line 100: | ||
/* -------------------- END NEW COMPILE FORM -------------------- */ | /* -------------------- END NEW COMPILE FORM -------------------- */ | ||
/* -------------------- BEGIN MAIN PAGE TEST -------------------- */ | /* -------------------- BEGIN MAIN PAGE TEST -------------------- */ | ||
body.page-Main_Page_test h2, body.page-Sandbox h1 { | |||
background:#faf5ff; | |||
border-bottom:1px solid #ccc; | |||
border-top:1px solid #ccc; | |||
padding:0.3em; | |||
margin:1em 0; | |||
color:#000000; | |||
font-family:georgia; | |||
font-weight:bold; | |||
text-align:center; | |||
} | |||
body.page-Main_Page_test h2, body.page-Sandbox h2 { | body.page-Main_Page_test h2, body.page-Sandbox h2 { |
Revision as of 09:45, 31 October 2015
/* 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 */ /* Useful parameters... margin-bottom:0.5em */ .noautonum .tocnumber { display: none; } .daytable { /* Usage: {| class="daytable" */ text-align: left; } .vanitable { /* Usage: {| class="vanitable" */ border: 0.1em solid #BFBFBF; /* #BFBFBF=light grey border */ border-collapse: collapse; padding: 0.25em; /* 0.25em=4px cellpadding */ background-color: #F2F2F2; /* #F2F2F2=pale grey background */ text-align: left; /* left, center, right */ vertical-align: middle; /* top, bottom, or middle */ } .timelineh2 { /* (Used on the timeline pages) Usage: <div class="timelineh2" */ text-align: center; border: 1px solid #ddcef2; background: #F2F2F2; /* was #faf5ff; */ padding: 0.2em 0.4em; margin: auto } .timelineh3 { /* Usage: <div class="timelineh3" */ text-align: center; border-top: 1px solid #ddcef2; border-bottom: 1px solid #ddcef2; background: #FFFFFF; padding: 0.2em 0.4em; margin: auto } .timelinesummary { /* Usage: <div class="timelinesummary" */ border: thin solid #ddcef2; border-radius: 1em; box-shadow: 0.5em 0.5em 0.5em #888888; background: #FFFFCC; min-width: 77em; margin: 1em auto 3em auto; padding: 1em; text-align: center; } .timelinelinks { /* Usage: <div class="timelinelinks"> for Timelinenav template */ text-align: center; font-size: 132%; font-weight: bold; } .timelinelinks a { /* Usage: for Timelinenav template, link text color */ color: #B5BD64; /* #B5BD64 (light mustard) */ } .greentext { /* Usage: <span class="greentext">vaniquotes.org</span> */ color: #296F39; /* #296F39=green */ } .quotelink { /* Usage: <span class="quotelink">vaniquotes.org</span> for quote boxes */ font-size: 1em; font-weight: bold; color: #296F39; /* #296F39=green */ } .firstchar { /* Usage: <span class="firstchar">A</span> */ float: left; width: 0.7em; font-size: 375%; font-family: algerian, courier; line-height: 80%; } .daystext { /* Usage: <span class="daystext">Text Here</span> */ color: #296F39; /* #296F39 = Green used for Video info on the Day in the life pages */ } .daystextb { /* Usage: <span class="daystextb">Text Here</span> */ color: #296F39; /* #296F39 = Green used for Video info on the Day in the life pages */ font-weight: bold; } /* -------------------- BEGIN NEW COMPILE FORM -------------------- */ .quote { margin: 1.5em 0em; /* Places 20px space between quotes on multi-quote pages */ font-family: tahoma; } .quote_heading { font-weight: bold; color: #296F39; } .quote_translation { font-weight: bold; color: #000000; } .quote_link { /* Vanisource link */ font-weight: bold; } .quote_text { color: #000000; } .quote_verse { /* To center use: text-align: center; */ color: #000000; } .quote_text a { /* Makes the Vanisource verse links bold */ font-weight: bold; } /* -------------------- END NEW COMPILE FORM -------------------- */ /* -------------------- BEGIN MAIN PAGE TEST -------------------- */ body.page-Main_Page_test h2, body.page-Sandbox h1 { background:#faf5ff; border-bottom:1px solid #ccc; border-top:1px solid #ccc; padding:0.3em; margin:1em 0; color:#000000; font-family:georgia; font-weight:bold; text-align:center; } body.page-Main_Page_test h2, body.page-Sandbox 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; } .MainPageh2 { border:1px solid #afa3bf; padding:0.2em 0.4em; margin:0; background:#ddcef2; text-align: center; font-family:georgia; font-size:120%; font-weight:bold; color:#000; } /* -------------------- END MAIN PAGE TEST -------------------- */ /* 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; } div.thumb { /* Remove white border from thumbnails */ 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; } #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-Sandbox 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; max-width:65em; margin:0px auto; padding-bottom:1em; } .mainleft { text-align:left; max-width:65em; margin:0px auto; padding-bottom:1em; } .mainjustify { text-align:justify; max-width:65em; margin:0px auto; padding-bottom:1em; } body { background-image:none; } #lastmod { display:none } body { font-family:tahoma; } li#ca-unify { margin-left:1.6em; } #google-search input { font-size:95%; width:10.9em; } #searchform { padding-bottom:0.5em } #p-logo a, #p-logo a:hover { height:190px; } #column-one { padding-top:190px; } #p-navigation { padding-top:30px; } .ac_results { padding: 0px; border: 1px solid black; background-color: Window; overflow: hidden; z-index: 99999; } .ac_results ul { width: 100%; list-style-position: outside; list-style: none; padding: 0; margin: 0; } .ac_results li { margin: 0px; padding: 2px 5px; cursor: default; display: block; /* if width will be 100% horizontal scrollbar will appear when scroll mode will be used */ /* width: 100%; */ font: menu; font-size: 12px; /* it is very important, if line-height not set or set in relative units scroll will be broken in firefox */ line-height: 16px; overflow: hidden; } .ac_loading { background: Window url('indicator.gif') right center no-repeat; } .ac_odd { background-color: #eee; } .ac_over { background-color: aquamarine; color: HighlightText; } .ac_moreItems { text-align: center; background-color: InactiveCaption; color: InactiveCaptionText; margin: 0px; padding: 0px 5px; cursor: default; display: block; width: 100%; font: bold menu 12px; overflow: hidden; -moz-user-select: none; -khtml-user-select: none; } /* </nowiki></pre> */