Difference between revisions of "MediaWiki:Common.css"
Greg.Fuller (talk | contribs) |
Greg.Fuller (talk | contribs) (Reverted edits by Greg.Fuller (talk) to last revision by Gregfuller) (Tag: Rollback) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* magnify most everything */ | /* magnify most everything */ | ||
body { | body { | ||
− | + | font-size: 130%; | |
− | + | max-width: 1100px; | |
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 154: | Line 13: | ||
/* title is creates in common.js */ | /* title is creates in common.js */ | ||
#jfatitle { | #jfatitle { | ||
− | + | position: absolute; | |
− | + | top: 26px; | |
− | + | left: 220px; | |
− | + | z-index: 1000; | |
− | + | font-size: 15px; | |
− | + | color: #333; | |
} | } | ||
#jfatitle a, a:visited { | #jfatitle a, a:visited { | ||
− | + | color: #333; | |
} | } | ||
@media screen and (min-width: 800px) { | @media screen and (min-width: 800px) { | ||
− | + | #jfatitle { | |
− | + | font-size: 22px; | |
− | + | top: 16px; | |
− | + | left: 235px; | |
− | + | } | |
} | } | ||
/* close the gap between the two rows of menus */ | /* close the gap between the two rows of menus */ | ||
#right-navigation { | #right-navigation { | ||
− | + | margin-top: .7em; | |
} | } | ||
/* set the top background color */ | /* set the top background color */ | ||
− | #mw-head, #left-navigation, #right-navigation { | + | #mw-head, #left-navigation, #right-navigation { |
− | + | background-color: #eaeaea; | |
− | |||
− | |||
} | } | ||
/* put a border on the bottom of the header */ | /* put a border on the bottom of the header */ | ||
#mw-head { | #mw-head { | ||
− | + | border-bottom: 2px solid #d66b28; /* orange */ | |
} | } | ||
/* resize the very top right personal menu */ | /* resize the very top right personal menu */ | ||
#p-personal { | #p-personal { | ||
− | + | font-size: .9em; | |
} | } | ||
/* size and reposition top tabs */ | /* size and reposition top tabs */ | ||
.vectorTabs, .vectorMenu { | .vectorTabs, .vectorMenu { | ||
− | + | font-size: .8em; | |
− | + | margin-top: 1em; | |
} | } | ||
.ns-special .vectorTabs { | .ns-special .vectorTabs { | ||
− | + | margin-top: .8em; | |
} | } | ||
/* size and reposition the search box */ | /* size and reposition the search box */ | ||
#simpleSearch { | #simpleSearch { | ||
− | + | font-size: .8em; | |
− | + | margin-top: 1.6em; | |
} | } | ||
.ns-special #simpleSearch { | .ns-special #simpleSearch { | ||
− | + | margin-bottom: .3em; | |
} | } | ||
Line 222: | Line 79: | ||
.vectorTabs ul, | .vectorTabs ul, | ||
.vectorTabs, | .vectorTabs, | ||
− | #mw-head .vectorMenu h3 | + | #mw-head .vectorMenu h3 |
− | { | + | { |
− | + | background-image: none; | |
− | } | + | } |
/* bring top left navagation back up */ | /* bring top left navagation back up */ | ||
#left-navigation { | #left-navigation { | ||
− | + | margin-top: .7em; | |
} | } | ||
Line 236: | Line 93: | ||
/* hide the sidebar logo */ | /* hide the sidebar logo */ | ||
#p-logo a { | #p-logo a { | ||
− | + | /* display:none; */ | |
} | } | ||
/* set the sidebar backgroundcolor */ | /* set the sidebar backgroundcolor */ | ||
body, #mw-page-base { | body, #mw-page-base { | ||
− | + | background-color: #dae7df; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
#mw-page-base { | #mw-page-base { | ||
− | + | background-image: none; | |
} | } | ||
/* why did the theme hide the top header "sections"? */ | /* why did the theme hide the top header "sections"? */ | ||
#mw-panel #p-logo + .portal h3 { | #mw-panel #p-logo + .portal h3 { | ||
− | + | display: block; | |
} | } | ||
/* CONTENT.................................. */ | /* CONTENT.................................. */ | ||
#content { | #content { | ||
− | + | margin-top: -30px; | |
− | + | background-color: #f7f7f7; | |
} | } | ||
#content a, #content a:visited { | #content a, #content a:visited { | ||
− | + | color: #0b0080; | |
} | } | ||
/* TEMPLATES....................................*/ | /* TEMPLATES....................................*/ | ||
.jfaredflag { | .jfaredflag { | ||
− | + | color: red; | |
− | |||
− | |||
} | } | ||
.jfanote { | .jfanote { | ||
− | + | margin-bottom: 16px; | |
− | + | margin-top: 16px; | |
− | + | padding-right: 10px; | |
− | + | padding-left: 14px; | |
− | + | font-size: .8em; | |
− | + | border-left: 1px solid gray; | |
− | + | color: #98582a; | |
} | } | ||
.jfastart, .jfaoutline-head, .jfaclipboard-head { | .jfastart, .jfaoutline-head, .jfaclipboard-head { | ||
− | + | margin-bottom:0px; | |
− | + | margin-top: 0px; | |
− | + | padding-right: 0px; | |
− | + | padding-left: 0px; | |
− | + | font-size: .8em; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 01:45, 10 February 2019
/* CSS placed here will be applied to all skins */
/* magnify most everything */ body { font-size: 130%; max-width: 1100px; }
/* TOP................................ */
/* title is creates in common.js */
- jfatitle {
position: absolute; top: 26px; left: 220px; z-index: 1000; font-size: 15px; color: #333; }
- jfatitle a, a:visited {
color: #333; }
@media screen and (min-width: 800px) { #jfatitle { font-size: 22px; top: 16px; left: 235px; } }
/* close the gap between the two rows of menus */
- right-navigation {
margin-top: .7em; }
/* set the top background color */
#mw-head, #left-navigation, #right-navigation {
background-color: #eaeaea; }
/* put a border on the bottom of the header */
- mw-head {
border-bottom: 2px solid #d66b28; /* orange */ }
/* resize the very top right personal menu */
- p-personal {
font-size: .9em; }
/* size and reposition top tabs */ .vectorTabs, .vectorMenu { font-size: .8em; margin-top: 1em; }
.ns-special .vectorTabs { margin-top: .8em; }
/* size and reposition the search box */
- simpleSearch {
font-size: .8em; margin-top: 1.6em; }
.ns-special #simpleSearch { margin-bottom: .3em; }
/* take the ancient gradients off some of the top tabs */ .vectorTabs li.selected, .vectorTabs ul li, .vectorTabs span, .vectorTabs ul, .vectorTabs,
- mw-head .vectorMenu h3
{ background-image: none; }
/* bring top left navagation back up */
- left-navigation {
margin-top: .7em; }
/* SIDEBAR............................ */
/* hide the sidebar logo */
- p-logo a {
/* display:none; */ }
/* set the sidebar backgroundcolor */ body, #mw-page-base { background-color: #dae7df; }
- mw-page-base {
background-image: none; }
/* why did the theme hide the top header "sections"? */
- mw-panel #p-logo + .portal h3 {
display: block; }
/* CONTENT.................................. */
- content {
margin-top: -30px; background-color: #f7f7f7; }
- content a, #content a:visited {
color: #0b0080; }
/* TEMPLATES....................................*/ .jfaredflag { color: red; }
.jfanote { margin-bottom: 16px; margin-top: 16px; padding-right: 10px; padding-left: 14px; font-size: .8em; border-left: 1px solid gray; color: #98582a; }
.jfastart, .jfaoutline-head, .jfaclipboard-head { margin-bottom:0px; margin-top: 0px; padding-right: 0px; padding-left: 0px; font-size: .8em; }