Difference between revisions of "MediaWiki:Common.css"

From SoftMC-Wiki
Jump to: navigation, search
m (Reverted edits by Liram (talk) to last revision by Arwiebe)
 
(24 intermediate revisions by 2 users not shown)
Line 17: Line 17:
 
}
 
}
  
/* Border around syntaxhighlight as with pre */
+
/* narrower border */
div.mw-geshi {
+
pre {
   padding: 0.3em;
+
  padding: 0.5em;
   border: 1px dashed #2f6fab;
+
}
   background-color: #f9f9f9;
+
 
 +
/* remove talk page links */
 +
#ca-talk, #pt-mytalk { display:none!important; }
 +
 
 +
.firstHeading {
 +
  font-weight: bold;
 +
  margin-top:0px;
 +
}
 +
 
 +
/* H1 headings*/
 +
h1 {  
 +
   clear:both;
 +
  margin-top:25px;
 +
}
 +
 
 +
/* H2 headings*/
 +
h2 {
 +
  font-weight:normal;
 +
  clear:both;
 +
  margin-top:10px;
 +
}
 +
/* H3 headings in not bold*/
 +
h3 {
 +
   font-weight:normal;  
 +
}
 +
/* H4 headings in italic */
 +
h4 {
 +
   font-style:italic;  
 
}
 
}

Latest revision as of 14:23, 26 January 2017

/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
.my-buttons {
   padding: .5em;
}
.my-buttons a {
   color: black;
   background-color: #cde !important;
   font-weight: bold;
   font-size: .9em;
   text-decoration: none;
   border: thin #069 outset;
   padding: 0 .1em .1em;
}
.my-buttons a:hover, .my-buttons a:active {
   background-color: #bcd;
   border-style: inset;
}

/* narrower border */
pre {
  padding: 0.5em;
}

/* remove talk page links */
#ca-talk, #pt-mytalk { display:none!important; }

.firstHeading {
  font-weight: bold; 
  margin-top:0px;
}

/* H1 headings*/
h1 { 
  clear:both;
  margin-top:25px;
}

/* H2 headings*/
h2 { 
  font-weight:normal; 
  clear:both;
  margin-top:10px;
}
/* H3 headings in not bold*/
h3 { 
  font-weight:normal; 
}
/* H4 headings in italic */
h4 { 
  font-style:italic; 
}