Difference between revisions of "MediaWiki:Common.css"

From DiLab
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
}
 
}
  
/* Extra Indent before h1 */
+
/* Extra Indent before h? */
  
h1:first {
+
h1:first-of-type { margin-top: 0px; }
color:green;
 
margin-top: 0px;
 
}
 
 
h1 {
 
h1 {
margin-top: 20px;
+
  margin-top: 20px;
 +
  color: green;
 
}
 
}
  
$('#content h2:first').css('color', 'red');
+
h2:first-of-type {
 
+
  margin-top: 0px;
 +
  color: darkolivegreen;
 +
}
 
h2 {
 
h2 {
margin-top: 10px;
+
  margin-top: 10px;
 +
  color: darkolivegreen;
 
}
 
}
 +
 +
h3:first-of-type { margin-top: 0px; }
 +
h3 { margin-top: 6px; }
 +
 +
 +
/* LS: hide history */
 +
#ca-history { display:none!important; }
 +
 +
#ca-talk { display:none!important; }
 +
 +
#ca-viewsource { display:none!important; }

Latest revision as of 18:36, 13 April 2020

/** CSS placed here will be applied to all skins */
body.page-Datorikas_Fakultāte .generated-sidebar { display: none; }

/* Hint: http://www.w3.org/TR/CSS21/propidx.html */

table {
	background-color: #fffff7;
        border-collapse : collapse; 
}
 
table th, table td {
	padding: 4px;
}

table th {
	color: #000077;
}

/* Extra Indent before h? */

h1:first-of-type { margin-top: 0px; }
h1 {
  margin-top: 20px; 
  color: green;
}

h2:first-of-type {
  margin-top: 0px; 
  color: darkolivegreen;
}
h2 {
  margin-top: 10px;
  color: darkolivegreen;
}

h3:first-of-type { margin-top: 0px; }
h3 { margin-top: 6px; }


/* LS: hide history */
#ca-history { display:none!important; }

#ca-talk { display:none!important; }

#ca-viewsource { display:none!important; }