Common.css: Difference between revisions
(Created page with '→CSS placed here will be applied to all skins: .noautonum .tocnumber { display: none; }') |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins | ||
The use of the ID tag (#) is being phased out to be replaced by classes (.) where appropriate | |||
*/ | |||
.noautonum .tocnumber { display: none; } | .greentext { /* Usage: <span class="greentext">vaniquotes.org</span> */ | ||
color: #296F39; /* #296F39=green */ | |||
} | |||
.noautonum .tocnumber { | |||
display: none; | |||
} | |||
.journaltable { /* Usage: {| class="journaltable" */ | |||
max-width: 108em; | |||
min-width: 65em; | |||
} | |||
.daystext { /* Usage: <span class="daystext">Text Here</span> */ | |||
color: #296F39; /* #296F39 = Green */ | |||
} | |||
.daystextb { /* Usage: <span class="daystextb">Text Here</span> */ | |||
color: #296F39; /* #296F39 = Green */ | |||
font-weight: bold; | |||
} | |||
.lec_code { /* Used on all lecture and converstion pages */ | |||
font-weight:bold; | |||
} | |||
.code { | |||
font-weight:bold; | |||
} | |||
.quotelink { /* Usage: <span class="quotelink">vaniquotes.org</span> for quote boxes */ | |||
font-size: 1em; | |||
font-weight: bold; | |||
color: #296F39; /* #296F39=green */ | |||
} | |||
body.page-Main_Page h1.firstHeading { /* Don't display some stuff on the main page */ | |||
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; | |||
} | |||
.highlight_quote { | |||
background-color: #F9F7E0; | |||
margin: 0px; | |||
padding: 4px 2px; | |||
} | |||
.highlight_terms { | |||
background-color: #EEE8AA; | |||
} | |||
/* ----------------- Book styles ----------------- */ | |||
.devanagari { /* Usage: <div class="devanagari"> */ | |||
color: #000000; /* Font color #0000 = black */ | |||
font-weight: bold; | |||
} | |||
.verse { /* Usage: <div class="verse"> */ | |||
color: #000000; /* Font color #0000 = black */ | |||
font-style: italic; | |||
} | |||
.versecenter{ /* Usage: <div class="versecenter"> */ | |||
color: #000000; /* Font color #0000 = black */ | |||
font-style: italic; | |||
text-align: center; | |||
} | |||
.synonyms { /* Usage: <div class="synonyms"> */ | |||
color: #000000; /* Font color #0000 = black */ | |||
} | |||
.translation { /* Usage: <div class="translation"> */ | |||
color: #000000; /* Font color #0000 = black or #296F39 = green */ | |||
font-weight: bold; | |||
} | |||
.purport { /* Usage: <div class="purport"> */ | |||
color: #000000; /* Font color #0000 = black */ | |||
} | |||
*:not(a).text { /* Usage: <div class="text"> */ | |||
color: #000000; /* Font color #0000 = black */ | |||
} | |||
/* --- Begin OLD book style for 1965 SB (maybe replace with .verse after adding colons to beginning of verse lines) --- */ | |||
.SB65verse { /* 1962-65 SB */ | |||
white-space: pre-line; /* CSS 3 */ | |||
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ | |||
white-space: -pre-wrap; /* Opera 4-6 */ | |||
white-space: -o-pre-wrap; /* Opera 7 */ | |||
word-wrap: break-word; /* Internet Explorer 5.5+ */ | |||
text-align: center; /* Center or margin-left:1.5em; = a : colon. Only if not using text-align: center;*/ | |||
color: #000000; /* Font color #0000 = black */ | |||
} | |||
/* ----------------- End old books styles ----------------- */ | |||
/* ----------------- End book styles ----------------- */ | |||
/* ----------------- 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; | |||
} | |||
#banner { | |||
text-align: center; | |||
background: #f9f9f9; | |||
border-bottom: 1px solid #ccc; | |||
border-top: 1px solid #ccc; | |||
padding: 0.3em; | |||
font-size: 125%; | |||
} | |||
#mainbanner { | |||
text-align: center; | |||
background: #66806A; | |||
border-bottom: 1px solid #ccc; | |||
border-top: 1px solid #ccc; | |||
padding: 0.3em; | |||
color: #faf2bb; | |||
font-family: georgia; | |||
font-size: 150%; | |||
font-style: italic; | |||
} | |||
#mainlinks { | |||
text-align: center; | |||
margin-bottom: 0.5em | |||
} | |||
#mainlinks a { | |||
color: #B5BD64 | |||
} | |||
#mainmantra { | |||
text-align: center; | |||
margin-top: 1.5em; | |||
color: #B5BD64; | |||
} | |||
.maincenter { | |||
text-align: center; | |||
max-width: 100em; | |||
margin: 0px auto; | |||
padding-bottom: 1em; | |||
} | |||
.mainleft { | |||
text-align: left; | |||
max-width: 100em; | |||
margin: 0px auto; | |||
padding-bottom: 1em;} | |||
.mainjustify { | |||
text-align: justify; | |||
max-width: 65em; | |||
margin: 0px auto; | |||
padding-bottom: 1em; | |||
} | |||
body { | |||
background:#fef8cb; | |||
font-family: tahoma; | |||
} | |||
#headertabs { | |||
background: inherit; | |||
} | |||
#headertabs ul li.ui-state-active { | |||
background: #fef8cb; | |||
} | |||
#lastmod { | |||
display: none!important | |||
} | |||
li#ca-unify { | |||
margin-left: 1.6em; | |||
} | |||
#google-search input { | |||
font-size: 95%; | |||
width:10.9em; | |||
} | |||
#searchform { | |||
padding-bottom: 0.5em; | |||
} | |||
.center { | |||
text-align: center; | |||
} | |||
/* ----------------- Begin - Used by Template:NavBar and BG Footer -------------------- */ | |||
.verse-nav { | |||
float:right; | |||
} | |||
.prev-link { | |||
float:left; | |||
min-height:22px; | |||
padding:0 0 0 25px; | |||
background:url(/w/images/Go-previous.png) no-repeat left | |||
} | |||
.next-link { | |||
float:left; | |||
min-height:22px; | |||
padding:0 25px; | |||
background:url(/w/images/Go-next.png) no-repeat right | |||
} | |||
.chap-nav, #chap-nav, #book-nav, #page-nav { | |||
float:left | |||
} | |||
/* ----------------- End - Used by Template:NavBar and BG Footer -------------------- */ | |||
/* -------------------- BEGIN VANIQUOTES RELATED STYLES -------------------- */ | |||
.hlterm { | |||
background-color: yellow; | |||
border: 1px Solid #EE9977; | |||
padding: 1px 2px 1px 2px; | |||
margin: -1px; | |||
} | |||
/* -------------------- END VANIQUOTES RELATED STYLES -------------------- */ | |||
/* ----------------- To be deleted when identified as not used ----------------- */ | |||
#p-logo a, #p-logo a:hover { | |||
height: 190px; | |||
} | |||
.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; | |||
line-height: 16px; /* it is very important, if line-height not set or set in relative units scroll will be broken in firefox */ | |||
overflow: hidden; | |||
} | |||
.ac_loading { | |||
background : Window url('indicator.gif') right center no-repeat; | |||
} | |||
.ac_odd { | |||
background-color: #eee; | |||
} | |||
.ac_over { | |||
background-color: #0A246A; | |||
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; | |||
} | |||
/* ----------------- End to be deleted when identified as not used ----------------- */ |
Revision as of 16:45, 1 January 2022
/* CSS placed here will be applied to all skins The use of the ID tag (#) is being phased out to be replaced by classes (.) where appropriate */ .greentext { /* Usage: <span class="greentext">vaniquotes.org</span> */ color: #296F39; /* #296F39=green */ } .noautonum .tocnumber { display: none; } .journaltable { /* Usage: {| class="journaltable" */ max-width: 108em; min-width: 65em; } .daystext { /* Usage: <span class="daystext">Text Here</span> */ color: #296F39; /* #296F39 = Green */ } .daystextb { /* Usage: <span class="daystextb">Text Here</span> */ color: #296F39; /* #296F39 = Green */ font-weight: bold; } .lec_code { /* Used on all lecture and converstion pages */ font-weight:bold; } .code { font-weight:bold; } .quotelink { /* Usage: <span class="quotelink">vaniquotes.org</span> for quote boxes */ font-size: 1em; font-weight: bold; color: #296F39; /* #296F39=green */ } body.page-Main_Page h1.firstHeading { /* Don't display some stuff on the main page */ 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; } .highlight_quote { background-color: #F9F7E0; margin: 0px; padding: 4px 2px; } .highlight_terms { background-color: #EEE8AA; } /* ----------------- Book styles ----------------- */ .devanagari { /* Usage: <div class="devanagari"> */ color: #000000; /* Font color #0000 = black */ font-weight: bold; } .verse { /* Usage: <div class="verse"> */ color: #000000; /* Font color #0000 = black */ font-style: italic; } .versecenter{ /* Usage: <div class="versecenter"> */ color: #000000; /* Font color #0000 = black */ font-style: italic; text-align: center; } .synonyms { /* Usage: <div class="synonyms"> */ color: #000000; /* Font color #0000 = black */ } .translation { /* Usage: <div class="translation"> */ color: #000000; /* Font color #0000 = black or #296F39 = green */ font-weight: bold; } .purport { /* Usage: <div class="purport"> */ color: #000000; /* Font color #0000 = black */ } *:not(a).text { /* Usage: <div class="text"> */ color: #000000; /* Font color #0000 = black */ } /* --- Begin OLD book style for 1965 SB (maybe replace with .verse after adding colons to beginning of verse lines) --- */ .SB65verse { /* 1962-65 SB */ white-space: pre-line; /* CSS 3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ text-align: center; /* Center or margin-left:1.5em; = a : colon. Only if not using text-align: center;*/ color: #000000; /* Font color #0000 = black */ } /* ----------------- End old books styles ----------------- */ /* ----------------- End book styles ----------------- */ /* ----------------- 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; } #banner { text-align: center; background: #f9f9f9; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; padding: 0.3em; font-size: 125%; } #mainbanner { text-align: center; background: #66806A; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; padding: 0.3em; color: #faf2bb; font-family: georgia; font-size: 150%; font-style: italic; } #mainlinks { text-align: center; margin-bottom: 0.5em } #mainlinks a { color: #B5BD64 } #mainmantra { text-align: center; margin-top: 1.5em; color: #B5BD64; } .maincenter { text-align: center; max-width: 100em; margin: 0px auto; padding-bottom: 1em; } .mainleft { text-align: left; max-width: 100em; margin: 0px auto; padding-bottom: 1em;} .mainjustify { text-align: justify; max-width: 65em; margin: 0px auto; padding-bottom: 1em; } body { background:#fef8cb; font-family: tahoma; } #headertabs { background: inherit; } #headertabs ul li.ui-state-active { background: #fef8cb; } #lastmod { display: none!important } li#ca-unify { margin-left: 1.6em; } #google-search input { font-size: 95%; width:10.9em; } #searchform { padding-bottom: 0.5em; } .center { text-align: center; } /* ----------------- Begin - Used by Template:NavBar and BG Footer -------------------- */ .verse-nav { float:right; } .prev-link { float:left; min-height:22px; padding:0 0 0 25px; background:url(/w/images/Go-previous.png) no-repeat left } .next-link { float:left; min-height:22px; padding:0 25px; background:url(/w/images/Go-next.png) no-repeat right } .chap-nav, #chap-nav, #book-nav, #page-nav { float:left } /* ----------------- End - Used by Template:NavBar and BG Footer -------------------- */ /* -------------------- BEGIN VANIQUOTES RELATED STYLES -------------------- */ .hlterm { background-color: yellow; border: 1px Solid #EE9977; padding: 1px 2px 1px 2px; margin: -1px; } /* -------------------- END VANIQUOTES RELATED STYLES -------------------- */ /* ----------------- To be deleted when identified as not used ----------------- */ #p-logo a, #p-logo a:hover { height: 190px; } .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; line-height: 16px; /* it is very important, if line-height not set or set in relative units scroll will be broken in firefox */ overflow: hidden; } .ac_loading { background : Window url('indicator.gif') right center no-repeat; } .ac_odd { background-color: #eee; } .ac_over { background-color: #0A246A; 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; } /* ----------------- End to be deleted when identified as not used ----------------- */