Difference between revisions of "MediaWiki:Common.css"

From Sudo Room
Jump to navigation Jump to search
(hide go button unless using it)
(add explicit gittip & calendar portlets, with less code redundancy)
Line 14: Line 14:
 
}
 
}
  
div#footer,#p-search.portlet h3,#p-navigation.portlet h3,#p-tb.portlet h3,#p-extras.portlet h3,#p-local.portlet h3{
+
div#footer,
 +
#p-search.portlet h3,
 +
#p-navigation.portlet h3,
 +
#p-tb.portlet h3,
 +
#p-extras.portlet h3,
 +
#p-local.portlet h3,
 +
#p-gittip.portlet h3,
 +
#p-calendar.portlet h3 {
 
display:none;
 
display:none;
 
visibility:hidden;
 
visibility:hidden;
Line 49: Line 56:
 
}
 
}
 
#p-tb.portlet div.pBody ul li,
 
#p-tb.portlet div.pBody ul li,
#p-tb.portlet div.pBody ul li a {
+
#p-tb.portlet div.pBody ul li a,
color:#FFFCC2;
 
text-shadow:0px 0px 4px #331111;
 
line-height:16px;
 
font-size:14px;
 
font-weight:bold;
 
}
 
 
#p-local.portlet div.pBody ul li,
 
#p-local.portlet div.pBody ul li,
#p-local.portlet div.pBody ul li a {
+
#p-local.portlet div.pBody ul li a,
color:#FFFCC2;
 
text-shadow:0px 0px 4px #331111;
 
line-height:16px;
 
font-size:14px;
 
font-weight:bold;
 
}
 
 
#p-extras.portlet div.pBody ul li,
 
#p-extras.portlet div.pBody ul li,
#p-extras.portlet div.pBody ul li a {
+
#p-extras.portlet div.pBody ul li a,
 +
#p-gittip.portlet div.pBody ul li,
 +
#p-gittip.portlet div.pBody ul li a,
 +
#p-calendar.portlet div.pBody ul li,
 +
#p-calendar.portlet div.pBody ul li a {
 
color:#FFFCC2;
 
color:#FFFCC2;
 
text-shadow:0px 0px 4px #331111;
 
text-shadow:0px 0px 4px #331111;
Line 81: Line 80:
 
#p-tb.portlet div.pBody ul li a:hover,
 
#p-tb.portlet div.pBody ul li a:hover,
 
#p-local.portlet div.pBody ul li a:hover,
 
#p-local.portlet div.pBody ul li a:hover,
#p-extras.portlet div.pBody ul li a:hover {
+
#p-extras.portlet div.pBody ul li a:hover,
 +
#p-gittip.portlet div.pBody ul li a:hover,
 +
#p-calendar.portlet div.pBody ul li a:hover {
 
text-decoration:none;
 
text-decoration:none;
 
}
 
}

Revision as of 17:22, 24 February 2014

/* CSS placed here will be applied to all skins */
table.blue_lines tr:nth-child(2n+0),tr.blue_lines:nth-child(2n+0){
  background-color: #EEEEFF;
}
table.blue_lines tr:nth-child(2n+1),tr.blue_lines:nth-child(2n+1){
  background-color: #CCCCFF;
}

body { background: #eec377 url('https://sudoroom.org/mediawiki/images/e/e2/Wikibg-alphatrick-clone.jpg'); }

#p-personal.portlet a[href] {
	 color:#FFFCC2;
	 text-shadow:0px 0px 3px #D04040;
}

div#footer,
#p-search.portlet h3,
#p-navigation.portlet h3,
#p-tb.portlet h3,
#p-extras.portlet h3,
#p-local.portlet h3,
#p-gittip.portlet h3,
#p-calendar.portlet h3 {
	 display:none;
	 visibility:hidden;
}
div.portlet div.pBody{
	 padding:0px;
	 margin:0px;
	 background-color: transparent;
	 border:0px;
}
div.portlet div.pBody ul{
	 list-style:none outside none;
	 margin:0px;
	 margin-left:4px;
	 padding:0px;
}
div.portlet div.pBody ul li {
	 margin-bottom: 3px;
	 overflow:hidden;
	 white-space:nowrap;
	 border:1px solid transparent;
}
div.portlet div.pBody ul li:hover {
	 background-color:#eebbbb;
	 border:1px solid white;
}
#p-navigation.portlet div.pBody ul li,
#p-navigation.portlet div.pBody ul li a {
	 color:#FFFCC2;
	 text-shadow:0px 0px 4px #331111;
	 line-height:22px;
	 font-size:20px;
	 font-weight:bold;
}
#p-tb.portlet div.pBody ul li,
#p-tb.portlet div.pBody ul li a,
#p-local.portlet div.pBody ul li,
#p-local.portlet div.pBody ul li a,
#p-extras.portlet div.pBody ul li,
#p-extras.portlet div.pBody ul li a,
#p-gittip.portlet div.pBody ul li,
#p-gittip.portlet div.pBody ul li a,
#p-calendar.portlet div.pBody ul li,
#p-calendar.portlet div.pBody ul li a {
	 color:#FFFCC2;
	 text-shadow:0px 0px 4px #331111;
	 line-height:16px;
	 font-size:14px;
	 font-weight:bold;
}
#p-tb.portlet div.pBody ul li {
	 margin-bottom: 1px;
}
#p-extras.portlet {
	 margin-bottom: 0px;
}
#p-navigation.portlet div.pBody ul li a:hover,
#p-tb.portlet div.pBody ul li a:hover,
#p-local.portlet div.pBody ul li a:hover,
#p-extras.portlet div.pBody ul li a:hover,
#p-gittip.portlet div.pBody ul li a:hover,
#p-calendar.portlet div.pBody ul li a:hover {
	 text-decoration:none;
}
button#collaboerate {
	 margin-left:7px;
	 width: 125px;
}

#p-search .pBody {
   padding: 0px;
   text-align: left;
}
#searchInput:focus + input,
#searchInput:hover + input {
   display: inline-block;
}
#searchInput {
   margin-left: 5px;
   display: inline-block;
   width: 105px;
}
#mw-searchButton {
   display: none;
}
#searchGoButton {
   display: none;
   border: 0px;
   margin-left: 0px;
   margin-right: 0px;
}

// hide annoying link images (padlocks, arrows, irc)
a.external,
a.external[href ^="irc://"],
a.external[href ^="ircs://"], .link-irc,
a.external[href ^="https://"], .link-https {
   background:transparent;
   background:transparent!ie;
   padding:0px;
   margin:0px;
   display:none;
   visibility:hidden;
}#bodyContent