User:Juandev/monobook.css

From Wikiversity
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Swich of the sitenotice */
 
#siteNotice { display: none; }



/* This style is especially for Lectures (ns-2 in user namespace) - hide, when not necessary */

/* Hides toc, title heading, subpage navigation, logo, boxes to the left, zalozky, cats  */

.ns-2 .toc, .ns-2 .firstHeading, .ns-2 .subpages, .ns-2 #p-navigation, .ns-2 #p-Komunita, .ns-2 #p-coll-print_export, .ns-2 #p-tb, .ns-2 #p-cactions, .ns-2 #catlinks, .ns-2 #p-lang {
display: none;
 }

/* Position h1, thus h1 should be in the page once! */
.ns-2 .h1 {
margin-bottom: -5px;
 } 

/* Places searchbox on the top where logo stayed */
.ns-2 #p-search {
position: absolute;
margin-top: -95px;
margin-left: 219px;
 }

/* Hides searchbox title */
.ns-2 #p-search h5 {
display: none;
 }

/* Position of wv logo */
.ns-2 #p-logo {
margin-top: -10px;
 }

/* Sets position of the main block */
.ns-2 #content {
margin-top: 130px;
margin-left: 2px;
 }

/* And text block */
.ns-2 #bodyContent {
margin-right: 10px;
margin-left: 10px;
 }

/* Text styles */
/* All text is 22px and line heigh */
.ns-2 #content p, .ns-2 #content ul li, .ns-2 #content ol li, .ns-2 #content dl dd, .ns-2 #content pre {
font-size: 22px;
line-height: 1.3em;
}

/* Sets different style of headings */
.ns-2 #content h4 {
font-size: 21px;
font-weight: bodler;
text-decoration: underline;
 }

.ns-2 #content h3 {
font-size: 24px;
text-decoration: underline;
 }

.ns-2 #content h2 {
font-size: 30px;
 }

/* Replace title heading, thus there should be just one h1 in the doc */
.ns-2 #content h1 {
font-size: 28px;
background-color: yellow;
 }

/* disable section edit */
.ns-2 .editsection { 
display: none;
 }

/* Yellow hover for all text blocks within the main content excluding h1, pictures and pre */
.ns-2 p:hover, .ns-2 li:hover, .ns-2 h2:hover, .ns-2 h3:hover, .ns-2 h4:hover, .ns-2 h5:hover, .ns-2 h6:hover {
background-color: #ff4;
 }

/* Makes slides like division, basically makes space between sections */
h2, h3 {
margin-top: 600px;
}