Difference between revisions of "MediaWiki:Monobook.css"

From YTMND
Jump to: navigation, search
(It just doesn't work.)
 
(113 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
/* <pre><nowiki> */
 
/* <pre><nowiki> */
/* edit this file to customize the monobook skin for the entire site */
+
/* edit this file to customize the monobook skin to look similar to YTMND's site */
  
  
/* *** YTMND logo hack *** */
+
/* convert side boxes to YTMND style */
  
#p-logo a {
+
/* take out that retarded Monobook background */
display: none !important;
+
body {
 +
    background: url(http://wiki.ytmnd.com/images/b/b9/Back.png) repeat;
 
}
 
}
  
#column-content {
+
/* Colors the sidebar */
margin-top: 115px;
+
.portlet {
 +
background-color: #f60;
 +
border: 1px solid #ccc;
 
}
 
}
  
body {
+
.pBody {
background: #fff url('http://66.254.99.158/assets/images/ytmnd/logo.png') no-repeat top center !important;
+
    background-color: #f3efe5;
 
}
 
}
  
 +
/* the icon in front of the user name, single quotes
 +
in bg url to hide it from iemac */
 +
li#pt-userpage,
 +
li#pt-anonuserpage,
 +
li#pt-login {
 +
background: url(/images/c/c2/Mail.gif) top left no-repeat;
 +
padding-left: 20px;
 +
background-position: 0 1px;
 +
}
 +
 +
/* Set the fonts for the sidebar headers */
 +
.portlet h5 {
 +
    font-face: "Arial", "Helvectica", sans-serif;
 +
    color: white;
 +
    font-size: 10pt;
 +
    text-transform: uppercase;
 +
}
 +
 +
/* Remove sidebar styling to logo */
 +
#p-logo {
 +
background: transparent;
 +
border: none;
 +
}
 +
 +
/* Use [[:Image:Wiki.gif]] as logo for all modern browsers */
 +
#p-logo a {
 +
background-image: url('http://wiki.ytmnd.com/images/3/38/Wiki.gif') !important;
 +
}
 +
 +
/* Remove sidebar styling to tab bar */
 
#p-cactions {
 
#p-cactions {
margin-top:115px;
+
border: none;
 +
background: transparent;
 
}
 
}
  
#p-personal {
+
/* Color tabs */
top: 108px;
+
#p-cactions li {
 +
    background: #e6dfcb !important;
 +
    border: solid 2px #C0C7C0 !important;
 +
    -moz-border-radius-topleft: 4px;
 +
    -moz-border-radius-topright: 4px;
 
}
 
}
  
/* wikitable/prettytable class for skinning normal tables */
+
#p-cactions li:hover {
 +
    background-color: #e6dfcb !important;
 +
}
  
table.wikitable,
+
#p-cactions li.selected {
table.prettytable {
+
    border: solid 2px #CFC8CF !important;
  margin: 1em 1em 1em 0;
+
    background-color: #F0F7F0 !important;
  background: #f9f9f9;
+
    border-bottom: solid 1px #f0f7f0 !important;
  border: 1px #aaaaaa solid;
+
  border-collapse: collapse;
+
 
}
 
}
  
table.wikitable th, table.wikitable td,
+
#p-cactions li.selected a {
table.prettytable th, table.prettytable td {
+
    background-color: transparent !important;
  border: 1px #aaaaaa solid;
+
    font-weight: normal !important;
  padding: 0.2em;
+
 
}
 
}
  
table.wikitable th,
+
#p-cactions li a {
table.prettytable th {
+
    background-color: transparent !important;
  background: #f2f2f2;
+
    font-family: "Trebuchet MS", "Helvectica", sans-serif !important;
  text-align: center;
+
    color: #000;
 
}
 
}
  
table.wikitable caption,
+
#p-cactions li a:hover {
table.prettytable caption {
+
    background-color: transparent !important;
  margin-left: inherit;
+
    color: #000 !important;
  margin-right: inherit;
+
 
}
 
}
 +
 +
/* colors the main section */
 +
#content {
 +
  background-color: #e6dfcb;
 +
  background-image: none;
 +
  border: 1px solid #ccc;
 +
}
 +
 +
/* styles for the headers */
 +
h1 {
 +
background-color: #ff5720; height: 26px; color: white; padding-left: 15px;
 +
margin-left: -13px; margin-right: -13px;
 +
font-size: 10pt;
 +
font-weight: bold;
 +
font-family: "Arial", "Helvectica" sans-serif;
 +
text-align: center;
 +
border-top: 3px solid #ff9900;
 +
border-bottom: 3px solid #ff9900;
 +
}
 +
 +
h2 {
 +
  font: bold 16px 'Verdana', 'Arial', 'Helvetica', sans-serif;
 +
  border: none;
 +
}
 +
 +
h3 {
 +
  font: bold italic 14px 'Verdana', 'Arial', 'Helvetica', sans-serif;
 +
  border: none;
 +
}
 +
 +
h4 {
 +
  font: bold 12px 'Verdana', 'Arial', 'Helvectica', sans-serif;
 +
  border: none;
 +
}
 +
 +
/* Styles for the footer */
 +
#footer {
 +
  background-color: transparent;
 +
  color: #AEAEAE;
 +
  border-color: #AEAEAE;
 +
  border-width: 1px 0 0 0;
 +
  margin: auto;
 +
  width: 80%;
 +
  clear: both;
 +
}
 +
 +
#footer a {
 +
  color: #aeaeae;
 +
}
 +
 +
/* Remove white margins from thumbnails */
 +
div.thumb {
 +
border: none;
 +
margin-top: 10px;
 +
margin-bottom: 0px;
 +
}
 +
div.tleft { border: none; }
 +
div.tright { margin-left: 13px; }
 +
 +
/* Uppercase the search buttons */
 +
.searchButton {
 +
text-transform: Uppercase;
 +
}
 +
 +
/* Style site and anon notices */
 +
#siteNotice {
 +
text-align: right; font-size: x-small;
 +
background-color: #ff9900;
 +
margin-left: -13px; margin-right: -13px;
 +
}
 +
 +
/* "pre" box colors" */
 +
pre { background: rgb(243, 239, 229); }
  
 
/* </nowiki></pre> */
 
/* </nowiki></pre> */

Latest revision as of 21:05, April 2, 2010

/* <pre><nowiki> */
/* edit this file to customize the monobook skin to look similar to YTMND's site */


/* convert side boxes to YTMND style */

/* take out that retarded Monobook background */
body {	
    background: url(http://wiki.ytmnd.com/images/b/b9/Back.png) repeat;
}

/* Colors the sidebar */
.portlet {
background-color: #f60;
border: 1px solid #ccc;
}

.pBody {
    background-color: #f3efe5;
}

/* the icon in front of the user name, single quotes
in bg url to hide it from iemac */
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
	background: url(/images/c/c2/Mail.gif) top left no-repeat;
	padding-left: 20px;
	background-position: 0 1px;
}

/* Set the fonts for the sidebar headers */
.portlet h5 {
    font-face: "Arial", "Helvectica", sans-serif;
    color: white;
    font-size: 10pt;
    text-transform: uppercase;
}

/* Remove sidebar styling to logo */
#p-logo {
background: transparent;
border: none;
}

/* Use [[:Image:Wiki.gif]] as logo for all modern browsers */
#p-logo a {
background-image: url('http://wiki.ytmnd.com/images/3/38/Wiki.gif') !important;
}

/* Remove sidebar styling to tab bar */
#p-cactions {
border: none;
background: transparent;
}

/* Color tabs */
#p-cactions li {
    background: #e6dfcb !important;
    border: solid 2px #C0C7C0 !important;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
}

#p-cactions li:hover {
    background-color: #e6dfcb !important;
}

#p-cactions li.selected {
    border: solid 2px #CFC8CF !important;
    background-color: #F0F7F0 !important;
    border-bottom: solid 1px #f0f7f0 !important;
}

#p-cactions li.selected a {
    background-color: transparent !important;
    font-weight: normal !important;
}

#p-cactions li a {
    background-color: transparent !important;
    font-family: "Trebuchet MS", "Helvectica", sans-serif !important;
    color: #000;
}

#p-cactions li a:hover {
    background-color: transparent !important;
    color: #000 !important;
}

/* colors the main section */
#content {
  background-color: #e6dfcb; 
  background-image: none;
  border: 1px solid #ccc;
}

/* styles for the headers */
h1 {
background-color: #ff5720; height: 26px; color: white; padding-left: 15px;
margin-left: -13px; margin-right: -13px;
font-size: 10pt;
font-weight: bold;
font-family: "Arial", "Helvectica" sans-serif;
text-align: center;
border-top: 3px solid #ff9900;
border-bottom: 3px solid #ff9900;
}

h2 {
   font: bold 16px 'Verdana', 'Arial', 'Helvetica', sans-serif;
   border: none;
}

h3 {
   font: bold italic 14px 'Verdana', 'Arial', 'Helvetica', sans-serif;
   border: none;
}

h4 {
   font: bold 12px 'Verdana', 'Arial', 'Helvectica', sans-serif;
   border: none;
}

/* Styles for the footer */
#footer {
   background-color: transparent;
   color: #AEAEAE;
   border-color: #AEAEAE;
   border-width: 1px 0 0 0;
   margin: auto;
   width: 80%;
   clear: both;
}

#footer a {
  color: #aeaeae;
}

/* Remove white margins from thumbnails */
div.thumb {
border: none;
margin-top: 10px;
margin-bottom: 0px;
}
div.tleft { border: none; }
div.tright { margin-left: 13px; }

/* Uppercase the search buttons */
.searchButton {
text-transform: Uppercase;
}

/* Style site and anon notices */
#siteNotice {
text-align: right; font-size: x-small;
background-color: #ff9900;
margin-left: -13px; margin-right: -13px;
}

/* "pre" box colors" */
pre { background: rgb(243, 239, 229); }

/* </nowiki></pre> */