Difference between revisions of "MediaWiki:Common.css"
(148 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | body { | ||
+ | background-image:url('https://2k14.balccon.org/images/d/d7/Background_digital.jpg'); | ||
+ | background-size: cover; | ||
− | /* | + | } |
− | + | /* | |
− | + | h1, h2, h3, h4, h5, h6,p,a { | |
− | + | color: white; | |
} | } | ||
− | #mw- | + | |
− | + | #mw-navigation { display: none; } | |
+ | |||
+ | |||
+ | |||
+ | ADDED BY EA!!! | ||
+ | |||
+ | */ | ||
+ | #sitetitle { | ||
+ | margin-top: 1% | ||
+ | margin-right:2%; | ||
+ | |||
} | } | ||
− | # | + | #footer-info{ |
− | { | + | color: #81F7F3 |
− | + | ||
} | } | ||
− | # | + | #content { |
− | + | margin-top:-2%; | |
− | + | ||
} | } | ||
− | # | + | #toc{ |
− | background-color: # | + | background-color: #00040E; |
+ | } | ||
+ | #n-test{ | ||
+ | visibility: hidden; | ||
+ | } | ||
+ | #p-Archive | ||
+ | { | ||
+ | //color: red !important; | ||
+ | font-size: 1.5em; | ||
+ | font-weight: bold; | ||
+ | hight: 14em; | ||
+ | //text-decoration: underline; | ||
+ | padding-bottom:14em; | ||
} | } | ||
− | # | + | #n-Call-For-Papers |
{ | { | ||
− | + | //color: ; | |
+ | font-size: 1.5em; | ||
+ | font-weight: bold; | ||
+ | //text-decoration: underline; | ||
+ | padding-top: 1.1em; | ||
} | } | ||
− | # | + | #n-BalCCon2k14-Media |
{ | { | ||
− | + | //color: #FF6633; | |
+ | font-size: 1.5em; | ||
+ | font-weight: bold; | ||
+ | font-weight: italic; | ||
+ | text-decoration: underline; | ||
+ | padding-top: 1.1em; | ||
} | } | ||
− | # | + | #n-Press-Kit |
{ | { | ||
− | + | //color: red !important; | |
+ | font-size: 1.5em; | ||
+ | font-weight: bold; | ||
+ | //text-decoration: underline; | ||
+ | padding-top: 1.1em; | ||
} | } | ||
− | + | #n-Volunteers | |
− | + | { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | #n- | + | |
//color: red !important; | //color: red !important; | ||
− | font-size: 1em; | + | font-size: 1.5em; |
+ | font-weight: bold; | ||
+ | //text-decoration: underline; | ||
+ | padding-top: 1.1em; | ||
+ | } | ||
+ | #n-Supporters { | ||
+ | //color: red !important; | ||
+ | font-size: 1.5em; | ||
+ | font-weight: bold; | ||
+ | hight: 14em; | ||
+ | //text-decoration: underline; | ||
+ | padding-bottom:14em; | ||
+ | } | ||
+ | #n-Contact { | ||
+ | //color: red !important; | ||
+ | font-size: 1.5em; | ||
font-weight: bold; | font-weight: bold; | ||
//text-decoration: underline; | //text-decoration: underline; | ||
} | } | ||
− | + | #n-FAQ { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | #n- | + | |
//color: red !important; | //color: red !important; | ||
− | font-size: | + | font-size: 1.5em; |
font-weight: bold; | font-weight: bold; | ||
//text-decoration: underline; | //text-decoration: underline; | ||
} | } | ||
− | #n- | + | #n-BalCCon2k13{ |
//color: red !important; | //color: red !important; | ||
font-size: 1em; | font-size: 1em; | ||
Line 63: | Line 103: | ||
//text-decoration: underline; | //text-decoration: underline; | ||
} | } | ||
− | #n- | + | #n-BalCCon2k14{ |
//color: red !important; | //color: red !important; | ||
− | font-size: | + | font-size: 1.5em; |
font-weight: bold; | font-weight: bold; | ||
//text-decoration: underline; | //text-decoration: underline; | ||
} | } | ||
− | #n- | + | #n-Speakers { |
//color: red !important; | //color: red !important; | ||
− | font-size: | + | font-size: 1.5em; |
font-weight: bold; | font-weight: bold; | ||
//text-decoration: underline; | //text-decoration: underline; | ||
} | } | ||
− | #n- | + | |
+ | #n-Tickets { | ||
//color: red !important; | //color: red !important; | ||
− | font-size: | + | font-size: 1.5em; |
font-weight: bold; | font-weight: bold; | ||
//text-decoration: underline; | //text-decoration: underline; | ||
Line 83: | Line 124: | ||
#n-Home { | #n-Home { | ||
//color: red !important; | //color: red !important; | ||
− | font-size: | + | font-size: 1.5em; |
font-weight: bold; | font-weight: bold; | ||
//text-decoration: underline; | //text-decoration: underline; | ||
Line 89: | Line 130: | ||
#n-News { | #n-News { | ||
//color: red !important; | //color: red !important; | ||
− | font-size: | + | font-size: 1.5em; |
font-weight: bold; | font-weight: bold; | ||
//text-decoration: underline; | //text-decoration: underline; | ||
} | } | ||
+ | #n-Schedule { | ||
+ | //color: red !important; | ||
+ | font-size: 1.5em; | ||
+ | font-weight: bold; | ||
+ | //text-decoration: underline; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | |||
+ | |||
+ | end addition by ea | ||
+ | */ | ||
Line 116: | Line 169: | ||
/* this is an example to make the list of the second entry bigger e.g. when ther is a longer text in a list item | /* this is an example to make the list of the second entry bigger e.g. when ther is a longer text in a list item | ||
#p-Menu ul li.item2 ul { | #p-Menu ul li.item2 ul { | ||
− | width: | + | width: 20em; |
} | } | ||
*/ | */ | ||
Line 131: | Line 184: | ||
.menuSidebar ul { /* remove bullets and list indents */ | .menuSidebar ul { /* remove bullets and list indents */ | ||
list-style: none; | list-style: none; | ||
− | margin: | + | margin: 15px; |
− | padding: | + | padding: 10px; |
+ | margin-bottom: 100%; | ||
} | } | ||
Line 141: | Line 195: | ||
left: 100%; /* to position them to the right of their containing block */ | left: 100%; /* to position them to the right of their containing block */ | ||
width: 100%; /* width is based on the containing block */ | width: 100%; /* width is based on the containing block */ | ||
+ | margin-bottom: 3em; | ||
z-index: 100; /* show ul on top */ | z-index: 100; /* show ul on top */ | ||
} | } | ||
Line 147: | Line 202: | ||
background-color: white; | background-color: white; | ||
border: 1px solid #aaaaaa; | border: 1px solid #aaaaaa; | ||
− | margin-top: | + | margin-top: 15px; /* make navigation easier*/ |
− | margin-bottom: | + | margin-bottom: 100%; /* make navigation easier*/ |
z-index: 101; /* show on top; Needed for IE 7 */ | z-index: 101; /* show on top; Needed for IE 7 */ | ||
− | width: | + | width: 18em; /* width of inner menu, Needed for IE 7 */ |
} | } | ||
.menuSidebar li { | .menuSidebar li { | ||
position: relative; /* make li a container for inner elements */ | position: relative; /* make li a container for inner elements */ | ||
− | margin: | + | margin: 15px; |
+ | margin-bottom: 100%; | ||
z-index: 102; /* show on top; Needed for IE 7 */ | z-index: 102; /* show on top; Needed for IE 7 */ | ||
} | } | ||
Line 166: | Line 222: | ||
border-style: solid; | border-style: solid; | ||
border-color: #aaaaaa; | border-color: #aaaaaa; | ||
− | margin: | + | margin: 15px; |
− | padding: | + | padding: 15px; |
− | padding- | + | padding-top: 20px; |
color: #ffffff !important;; | color: #ffffff !important;; | ||
text-decoration: none; | text-decoration: none; | ||
+ | margin-bottom: 50%; | ||
+ | |||
} | } | ||
Line 177: | Line 235: | ||
position: absolute; | position: absolute; | ||
right: 4px; | right: 4px; | ||
+ | margin-bottom: 100%; | ||
} | } | ||
Line 185: | Line 244: | ||
.menuSidebar li.separator a:hover { | .menuSidebar li.separator a:hover { | ||
+ | hight: 20px | ||
background: white; | background: white; | ||
} | } | ||
Line 192: | Line 252: | ||
.menuSidebar li.separator { | .menuSidebar li.separator { | ||
line-height: 0px; | line-height: 0px; | ||
− | height: | + | height: 20px; |
− | font-size: | + | font-size: 20px; |
} | } | ||
.menuSidebar ul li:last-Child a { | .menuSidebar ul li:last-Child a { | ||
border-width: 0px 0px 0px 0px; // remove the last bottom line | border-width: 0px 0px 0px 0px; // remove the last bottom line | ||
− | padding-bottom: | + | padding-bottom: 15px; |
} | } | ||
Line 267: | Line 327: | ||
div#siteNotice a { | div#siteNotice a { | ||
display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */ | display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */ | ||
− | color: | + | color:99FFFF; /* sets the LINK TEXT color */ |
text-decoration: none; /* removes underline */ | text-decoration: none; /* removes underline */ | ||
} | } | ||
Line 388: | Line 448: | ||
a { | a { | ||
text-decoration: none; | text-decoration: none; | ||
− | color: green; | + | //color: green; |
+ | color: #FF6633; | ||
background: none; | background: none; | ||
} | } |
Latest revision as of 21:41, 1 October 2014
body { background-image:url('https://2k14.balccon.org/images/d/d7/Background_digital.jpg'); background-size: cover; } /* h1, h2, h3, h4, h5, h6,p,a { color: white; } #mw-navigation { display: none; } ADDED BY EA!!! */ #sitetitle { margin-top: 1% margin-right:2%; } #footer-info{ color: #81F7F3 } #content { margin-top:-2%; } #toc{ background-color: #00040E; } #n-test{ visibility: hidden; } #p-Archive { //color: red !important; font-size: 1.5em; font-weight: bold; hight: 14em; //text-decoration: underline; padding-bottom:14em; } #n-Call-For-Papers { //color: ; font-size: 1.5em; font-weight: bold; //text-decoration: underline; padding-top: 1.1em; } #n-BalCCon2k14-Media { //color: #FF6633; font-size: 1.5em; font-weight: bold; font-weight: italic; text-decoration: underline; padding-top: 1.1em; } #n-Press-Kit { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; padding-top: 1.1em; } #n-Volunteers { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; padding-top: 1.1em; } #n-Supporters { //color: red !important; font-size: 1.5em; font-weight: bold; hight: 14em; //text-decoration: underline; padding-bottom:14em; } #n-Contact { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; } #n-FAQ { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; } #n-BalCCon2k13{ //color: red !important; font-size: 1em; font-weight: bold; //text-decoration: underline; } #n-BalCCon2k14{ //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; } #n-Speakers { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; } #n-Tickets { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; } #n-Home { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; } #n-News { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; } #n-Schedule { //color: red !important; font-size: 1.5em; font-weight: bold; //text-decoration: underline; } /* end addition by ea */ /* * MenuSidebar */ /* this has to be overridden for every menu */ #p-Menu, #p-Menu2, #p-Menu3 { overflow: visible; } /* this has to be overridden for every menu */ #p-Menu div, #p-Menu2 div, #p-Menu3 div { margin: 0; padding: 0; } /* this is an example to make the list of the second entry bigger e.g. when ther is a longer text in a list item #p-Menu ul li.item2 ul { width: 20em; } */ this an example to change the background color of every second list item li.even { background-color: #eeeeee; } div#pBody{ color: inherit; } .menuSidebar ul { /* remove bullets and list indents */ list-style: none; margin: 15px; padding: 10px; margin-bottom: 100%; } /* this div is only for better handling and navigation ... could also be done in inner ul*/ .menuSidebar ul div { position: absolute; top: -6px; left: 100%; /* to position them to the right of their containing block */ width: 100%; /* width is based on the containing block */ margin-bottom: 3em; z-index: 100; /* show ul on top */ } .menuSidebar ul ul { background-color: white; border: 1px solid #aaaaaa; margin-top: 15px; /* make navigation easier*/ margin-bottom: 100%; /* make navigation easier*/ z-index: 101; /* show on top; Needed for IE 7 */ width: 18em; /* width of inner menu, Needed for IE 7 */ } .menuSidebar li { position: relative; /* make li a container for inner elements */ margin: 15px; margin-bottom: 100%; z-index: 102; /* show on top; Needed for IE 7 */ } /* style, color and size links and headings to suit */ .menuSidebar a { font-weight: bold; display: block; border-width: 0px 0px 1px 0px; border-style: solid; border-color: #aaaaaa; margin: 15px; padding: 15px; padding-top: 20px; color: #ffffff !important;; text-decoration: none; margin-bottom: 50%; } /* move the > to the right */ .menuSidebar a em { position: absolute; right: 4px; margin-bottom: 100%; } .menuSidebar li:hover, /* Needed for IE 7 */ .menuSidebar a:hover { background: #ccccff; } .menuSidebar li.separator a:hover { hight: 20px background: white; } /* Needed for IE 7 */ .menuSidebar li.separator a, .menuSidebar li.separator { line-height: 0px; height: 20px; font-size: 20px; } .menuSidebar ul li:last-Child a { border-width: 0px 0px 0px 0px; // remove the last bottom line padding-bottom: 15px; } /* hides the first level */ .menuSidebar ul li div { display: none; } /* shows the first level and hide the second */ .menuSidebar ul li:hover div, .menuSidebar ul li div:hover { display: block; } /* div is again used for easier navigation*/ .menuSidebar ul li:hover ul li div { display: none; } /* hide the next level */ /* second level*/ .menuSidebar ul li ul li:hover div, .menuSidebar ul li ul li div:hover { display: block; } /* div is again used for easier navigation*/ .menuSidebar ul li ul li:hover ul li div { display: none; } /* hide the next level */ /* third level */ .menuSidebar ul li ul li ul li:hover div, .menuSidebar ul li ul li ul li div:hover { display: block; } /* div is again used for easier navigation*/ .menuSidebar ul li ul li ul li:hover ul li div { display: none; } /* hide the next level */ [edit] /*Ensure that the Sitenotice is above the body content*/ #bodyContent { z-index: 98; } #siteNotice { z-index: 99; } /* START DROP DOWN MENUS */ /* http://www.mediawiki.org/wiki/Extension:CSS_Dropdowns#Adding_it_to_your_site */ div#siteNotice { width:100%; /* makes the entire box full width */ float:left; /*makes the entire box enclose the list */ font-size:1.3em; /* SET FONT-SIZE HERE */ background-color:#FFFFFF; /* colors the background behind the box*/ a:link {color: #FFFFFF;} background:#a0e37d; /* BACKGROUND COLORS FOR ENTIRE BOX */ margin:7px -2px -2px -2px; padding:0; } div#siteNotice li { float:left; /* causes the list to align horizontally instead of stack */ position:relative; /* positioning context for the absolutely positioned drop-down */ list-style-type:none; /* removes the bullet off each list item */ background-color:#a0e37d; /*sets the background of the menu items */ margin: -4px 0 0 0; /*Brings the menu items up */ padding:0 6px; /*creates space each side of menu item's text */ } div#siteNotice li:first-child { -moz-border-radius-topleft: .5em; padding-bottom:1px; /*to fix from rounded edge */ border-top-left-radius: .5em; /* REMOVED: border-left:1px solid #002bb8; the first vertical line on the menu */ } div#siteNotice li:last-child { -moz-border-radius-topright: .5em; border-top-right-radius: .5em; padding-bottom:1px; /*to fix from rounded edge */ } div#siteNotice li:hover { background-color:#202020; /*Background of the menu items when hovered over */ } div#siteNotice a { display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */ color:99FFFF; /* sets the LINK TEXT color */ text-decoration: none; /* removes underline */ } /* the horizontal menu ends here */ /* the drop-down starts here */ div#siteNotice ul li ul { margin:0; /* prevents the TEMP value inheriting from the horizontal menu */ position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */ width:10em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/ left:-1px; /*aligns the drop exactly under the menu */ } div#siteNotice ul li ul li { margin: -1px 0 0 0; /* prevents the margin value inheriting from the horiz menu + bring menu items up */ width:100%; /* makes the list items fill the list container (ul) */ list-style-type:none; /* removes the bullet off each list item */ list-style-image:none; /* removes the bullet off each list item */ padding:0 0 1px; -moz-border-radius-topright: 0; -moz-border-radius-topleft: 0; -moz-border-radius-bottomright: 0; -moz-border-radius-bottomleft: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; border-top-left-radius: 0; border-top-right-radius: 0; } div#siteNotice ul li ul li:last-child { -moz-border-radius-bottomright: 1em; -moz-border-radius-bottomleft: 1em; -moz-border-radius-topleft: 0; -moz-border-radius-topright: 0; border-bottom-right-radius: 1em; border-bottom-left-radius: 1em; border-top-left-radius: 0; border-top-right-radius: 0; padding-right:1px; /*to fix from rounded edge */ } div#siteNotice ul li ul li:first-child { border-top:1px solid #069; /*the top edge of the dropdown */ -moz-border-radius-topleft: 0; border-top-left-radius: 0; } /* make the drop-down display as the menu is rolled over */ div#siteNotice ul li ul {display:none;} /* conceals the drop-down when menu not hovered */ div#siteNotice ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */ /* pop-out starts here */ body div#siteNotice ul li ul li ul { visibility:hidden; /* same effect as display:none in this situation */ top:-1px; left:10em; } div#siteNotice ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */ /* second level popouts start here*/ div#siteNotice ul li ul li:hover ul li ul {visibility:hidden;} div#siteNotice ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */ /* third level popouts start here I haven't tested this */ div#siteNotice ul li ul li ul li:hover ul li ul {visibility:hidden;} div#siteNotice ul li ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */ /* THE HACK ZONE - */ /* hack for IE (all flavors) so the menu has a vertical line on the left */ * html div#siteNotice ul { float:left; /* makes the ul wrap the li's */ /* REMOVED: border-left:1px solid #002bb8; /* adds the rightmost menu vertical line to the ul */ margin-left:15px; /* IE doubles the given value above - why? */ } /* add a top line to drops and pops in IE browsers - can't read :first-child */ * html div#siteNotice ul li ul { /* REMOVED: border-top:1px solid #002bb8;*/ border-left:0px; /* stops the drop inheriting the ul border */ } /* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */ * html div#siteNotice ul li ul li ul { left:9.85em; voice-family: "\"}\""; voice-family:inherit; left:10em; } /* and the "be nice to Opera" rule */ html>body div#siteNotice ul li ul li ul { left:10em; } /* an Opera-only hack to fix a redraw problem by invisibly extending the ul */ /* the first-level drop stays open for 100px below the bottom but at least it works */ /* this can be reduced to as little as 22px if you don't have pop-outs */ /* the pop-out menu stays open for 22px below the bottom but at least it works Not Tested!! */ @media all and (min-width: 0px){ body div#siteNotice ul li ul {padding-bottom:200px;} body div#siteNotice ul li ul li ul {padding-bottom:22px;} body div#siteNotice ul li ul li ul li ul li:hover {visibility:visible;} /* same effect as display:block in this situation */ } /*end Opera hack */ /* end of hack zone */ /* END OF LIST-BASED MENU */ a { text-decoration: none; //color: green; color: #FF6633; background: none; } div[class="pBody"] * a{ color: white; } /* finally after feeding values to all others, we deal with MAc5 IE */ /* IE5 Mac can't do drop-downs so we need to present the info in a different way*/ /* we present the drop down choices in a row and never show any second-level drops */ /* this stylesheet is read by IE5 Mac only - hack omits 'url' and leave no space between @import and (" Not Tested!!*/ @import("/wiki/skins/common/dropdown/ie51_menu_hack.css"); /* END OF DROP DOWN MENUS */