Difference between revisions of "User:Kennethau/monobook.css"

From DEW Robotics
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* make the background behind the content area and the tabs a light grey */
+
/* <source lang="css"> */
#content, #content table
 
#p-cactions ul li a { background: #f5f5f5; }
 
 
   
 
   
/* stop background image from scrolling with content area */
+
/* The following are Vector bugfixes */
body { background-attachment: fixed; }
 
 
   
 
   
/* replace the book in the background with something else */
+
/* Temporary fix until [[bugzilla:19567]] is addressed */
body { background: Purple; }
+
#siteNotice div { margin: 0; }
 +
#siteNotice div.expanded table.siteNoticeUser { margin-bottom: 1em; }
 
   
 
   
/* changes the background of pre areas  */
+
/* [[bugzilla:20276]] */
pre { background: White }
+
input#wpSummary {
 +
width:100%;
 +
}
 +
/* end bugfixes */
 
   
 
   
/* change the logo */
+
/* Don't display some stuff on the main page */
#p-logo a { background: url(http://en.wikipedia.org/upload/wiki.png) 35% 50% no-repeat !important; }
+
body.page-Main_Page #deleteconfirm,
 +
body.page-Main_Page #t-cite,
 +
body.page-Main_Page #footer-info-lastmod,
 +
body.page-Main_Page #siteSub,
 +
body.page-Main_Page #contentSub,
 +
body.page-Main_Page h1.firstHeading {
 +
display: none !important;
 +
}
 
   
 
   
/* don't use any logo, move the boxes onto that area instead */
+
body.page-Main_Page #mp-topbanner {
#p-logo { display: none }
+
margin-top: 0 !important;
#column-one { padding-top: 0; }
+
}
 
   
 
   
/* suppress the person icon by your username */
+
#coordinates {
li#pt-userpage { background: none }
+
position: absolute;
 +
top: 0em;
 +
right: 0em;
 +
float: right;
 +
margin: 0.0em;
 +
padding: 0.0em;
 +
line-height: 1.5em;
 +
text-align: right;
 +
text-indent: 0;
 +
font-size: 85%;
 +
text-transform: none;
 +
white-space: nowrap;
 +
}
 
   
 
   
/* use browser prefs for text size and font */
+
/* For positioning icons at top-right, used in Templates
body, #globalWrapper { font: inherit !important; }
+
  "Spoken Article" and "Featured Article" */
 +
div.topicon {
 +
position: absolute;
 +
top: -2em;
 +
margin-right: -10px;
 +
display: block !important;
 +
}
 
   
 
   
/* always underline links */
+
/* FR topicon position */
:link { text-decoration: underline; }
+
div.flaggedrevs_short {
 +
position: absolute;
 +
top: -3em;
 +
right: 55px;
 +
z-index: 1;
 +
margin-left: 0;
 +
/* Because this is not yet a topicon, we emulate it's behavior, this ensure compatibility with edit lead section gadget */
 +
margin-right: -10px;
 +
}
 
   
 
   
/*Display body content in a narrower column for easier reading*/
+
/* Menu over FR box */
/*adjust percentages as desired*/
+
div.vectorMenu div {
div#bodyContent {
+
z-index: 2;
  width: 50%;
 
  line-height: 105%;
 
 
}
 
}
 
   
 
   
/* change background of unselected tabs */
+
/* Template:Title override */
#p-cactions ul li a { background: #C7FDC7; }
+
div#title-override {
 +
  left: 0 !important;
 +
  top: -1.5em !important;
 +
  padding: 0.5em 0 0.2em 0 !important;
 +
}
 
   
 
   
/* change background of selected tabs */
+
/* Display "From Wikipedia, the free encyclopedia" */
#p-cactions ul li.selected a { background: white; }
+
#siteSub {
 +
    display: inline;
 +
    font-size: 92%;
 +
    font-weight: normal;
 +
}
 
   
 
   
/* change border background of selected tabs */
+
/* {{tl|Link GA}} */
#p-cactions li.selected { border-color: #aaaaaa; }
+
#mw-panel div.portal div.body ul li.GA {
 +
  background: url("http://upload.wikimedia.org/wikipedia/en/4/42/Monobook-bullet-ga.png") no-repeat 0% 0%;
 +
  margin-left: -10px;
 +
  padding-left: 10px;
 +
}
 
   
 
   
/* tab bottom not removed on hover */
+
/* {{tl|Link FA}} */
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
+
#mw-panel div.portal div.body ul li.FA {
#p-cactions li.selected a:hover { z-index: 3; }
+
  background: url("http://upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png") no-repeat 0% 0%;
 +
  margin-left: -10px;
 +
  padding-left: 10px;
 +
}
 
   
 
   
/* style the search box and the buttons below it */
+
#siteNotice .notice-all {
input.searchButton {
+
  margin-bottom: 1em !important;
    background-color: #efefef !important;
+
  margin-right: 2px !important;
    border: 1px outset !important;
 
 
}
 
}
#searchInput { border: 1px inset !important; }
 
 
   
 
   
/* standard link colors */
+
/* Blue instead of yellow padlock for secure links. */
:link { color: #0000FF; }
+
#bodyContent a.external[href ^="https://"],
:link:visited { color: #7F007F; }
+
.link-https {
:link:active, :link.new { color: #FF0000; }
+
  background: url("http://upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif") center right no-repeat;
:link.interwiki, :link.external { color: #3366BB; }
+
}
:link.stub { color: #772233; }
 
 
   
 
   
/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
+
/* Adjust font-size for inline HTML generated TeX formulae */
pre { overflow: auto; }
+
.texhtml {
 +
  font-size: 125%;
 +
  line-height: 1.5em;
 +
}
 
   
 
   
/* strikeout Upload File link as a reminder to upload to Commons instead */
+
/* </source> */
li#t-upload { text-decoration: line-through; }
 

Latest revision as of 00:16, 18 June 2010

/* <source lang="css"> */
 
/* The following are Vector bugfixes */
 
/* Temporary fix until [[bugzilla:19567]] is addressed */
#siteNotice div { margin: 0; }
#siteNotice div.expanded table.siteNoticeUser { margin-bottom: 1em; }
 
/* [[bugzilla:20276]] */
input#wpSummary {
	width:100%;
}
/* end bugfixes */
 
/* Don't display some stuff on the main page */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
 display: none !important;
}
 
body.page-Main_Page #mp-topbanner {
margin-top: 0 !important;
}
 
#coordinates {
 position: absolute;
 top: 0em;
 right: 0em;
 float: right;
 margin: 0.0em;
 padding: 0.0em;
 line-height: 1.5em;
 text-align: right;
 text-indent: 0;
 font-size: 85%;
 text-transform: none;
 white-space: nowrap;
}
 
/* For positioning icons at top-right, used in Templates
   "Spoken Article" and "Featured Article" */
div.topicon {
 position: absolute;
 top: -2em;
 margin-right: -10px;
 display: block !important;
}
 
/* FR topicon position */
div.flaggedrevs_short {
 position: absolute;
 top: -3em;
 right: 55px;
 z-index: 1;
 margin-left: 0;
 /* Because this is not yet a topicon, we emulate it's behavior, this ensure compatibility with edit lead section gadget */
 margin-right: -10px;
}
 
/* Menu over FR box */
div.vectorMenu div {
 z-index: 2;
}
 
/* Template:Title override */
div#title-override {
  left: 0 !important;
  top: -1.5em !important;
  padding: 0.5em 0 0.2em 0 !important;
}
 
/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
    display: inline;
    font-size: 92%;
    font-weight: normal;
}
 
/* {{tl|Link GA}} */
#mw-panel div.portal div.body ul li.GA {
  background: url("http://upload.wikimedia.org/wikipedia/en/4/42/Monobook-bullet-ga.png") no-repeat 0% 0%;
  margin-left: -10px;
  padding-left: 10px;
}
 
/* {{tl|Link FA}} */
#mw-panel div.portal div.body ul li.FA {
  background: url("http://upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png") no-repeat 0% 0%;
  margin-left: -10px;
  padding-left: 10px;
}
 
#siteNotice .notice-all {
  margin-bottom: 1em !important;
  margin-right: 2px !important;
}
 
/* Blue instead of yellow padlock for secure links. */
#bodyContent a.external[href ^="https://"],
.link-https {
  background: url("http://upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif") center right no-repeat;
}
 
/* Adjust font-size for inline HTML generated TeX formulae */
.texhtml {
  font-size: 125%;
  line-height: 1.5em;
}
 
/* </source> */