Difference between revisions of "MediaWiki:Monobook.css"

From Monoskop
Jump to navigation Jump to search
Line 3: Line 3:
 
body {
 
body {
 
   background-color: white;
 
   background-color: white;
 +
}
 +
 +
/* Page body */
 +
#column-content {
 +
  margin: 2.5em 0 .6em -12.2em;
 +
  padding-left: 1em;
 +
  border-left: 2px solid #ccc;
 
}
 
}
  
Line 8: Line 15:
 
#firstHeading {
 
#firstHeading {
 
   margin-left: 20px;
 
   margin-left: 20px;
border-bottom: 1px solid #ccc;
+
  border-bottom: 1px solid #ccc;
width: auto;
+
  width: auto;
 
}
 
}
  
Line 64: Line 71:
 
li#pt-mytalk, li#pt-watchlist, li#pt-mycontris {
 
li#pt-mytalk, li#pt-watchlist, li#pt-mycontris {
 
   display: none !important;
 
   display: none !important;
}
 
 
/* Page body */
 
#column-content {
 
  margin: 2.5em 0 .6em -12.2em;
 
}
 
 
/* Article body */
 
#bodyContent {
 
  border-width:0px 0px 0px 20px;
 
  -moz-border-image:url("http://monoskop.org/images/horizbar.png") 0 0 0 20 repeat stretch;
 
  -webkit-border-image:url("http://monoskop.org/images/horizbar.png") 0 0 0 20 repeat stretch;
 
  border-image:url("http://monoskop.org/images/horizbar.png") 0 0 0 20 repeat stretch;
 
 
}
 
}
  

Revision as of 04:38, 6 March 2012

/* CSS placed here will affect users of the Monobook skin */

body {
  background-color: white;
}

/* Page body */
#column-content {
  margin: 2.5em 0 .6em -12.2em;
  padding-left: 1em;
  border-left: 2px solid #ccc;
}

/* Article heading */
#firstHeading {
  margin-left: 20px;
  border-bottom: 1px solid #ccc;
  width: auto;
}

/* Search */
#p-search {
  position: absolute;
  top: 2.8em;
  left: 13.35em;
  width: 300px;
}

#p-search .pBody {
  padding: 0;
  text-align: left;
}

#searchInput, #searchGoButton {
  margin: 0;
  font-size: .8em;
  background-color: white;
  height: 2.2em;
  border: 1px solid #aaa;
  -moz-border-radius: .3em;
  border-radius: .3em;
  padding: .2em;
}

#searchInput {
  width: 16em;
}

#searchGoButton {
  width: 3em;
  align: center;
  font-weight: normal;
}

#p-search #mw-searchButton {
  display: none !important;
}

/* Top/personal menu */
#p-personal .pBody {
  position: absolute;
  right: 1em;
}

#p-personal ul {
  font-size: 0.9em;
  text-transform: none;
  text-align: left;
}

li#pt-mytalk, li#pt-watchlist, li#pt-mycontris {
  display: none !important;
}

/* Article menu */
#p-cactions {
  width: 80%;
}

#p-cactions .pBody {
  position: absolute;
  top: 2.4em;
  right: 0em;
  z-index: 100;
}

li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
  margin-left: 0;
}

li#ca-purge {
  display: none !important;
}

#p-cactions li, #p-cactions ul  {
  margin: 0;
}

#p-cactions li a, #p-cactions .new a {
  color: #0645ad; 
  background: none;
  margin: 0;
  padding: 0 .4em .3em;
  text-transform: none;
}

li#ca-talk {
  margin-right: 1.6em;
}

/* Navigation, Toolbox*/
#p-navigation ul, #p-tb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9em;
  line-height: 1.6em;
}

#p-navigation h5, #p-search h5, #p-tb h5 {
    display: none !important;
}

#p-navigation a, #p-tb a, #p-personal a, #p-personal li a, #p-personal a.new {
  color: #0645ad;
}