MediaWiki:Common.css

(Apply underlining of headers to wiki only)
m (stylize (spaces to tabs for indentation etc. coding style tweaks); no functional changes are intended)
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
-
.category_header
+
.category_header {
-
{
+
border: 1px solid #aea395;  
-
border: 1px solid #aea395;  
+
background: #ffd9ac;  
-
background:#ffd9ac;  
+
height: 52px;  
-
height: 52px;  
+
display: block;
-
display: block;
+
position: relative;
-
position: relative;
+
padding: 0.1em 0.1em 0.1em 0.5em;
-
padding: 0.1em 0.1em 0.1em 0.5em;
+
}
}
-
.category_header_title
+
.category_header_title {
-
{
+
font-size: 120%;
-
font-size: 120%;
+
font-weight: bold;
-
font-weight: bold;
+
position: absolute;
-
position: absolute;
+
z-index: 10;
-
z-index: 10;
+
border: none;
-
border: none;
+
text-decoration: none;
-
text-decoration: none;
+
}
}
-
.category_block, td.category_block_stage
+
.category_block,
-
{
+
td.category_block_stage {
-
width:32%;
+
width: 32%;
-
border:1px solid #e2dbd2;
+
border: 1px solid #e2dbd2;
-
background:#fff0df;
+
background: #fff0df;
-
vertical-align:top;
+
vertical-align: top;
-
color:#000;
+
color: #000;
}
}
Line 33: Line 31:
table.wikitable,
table.wikitable,
table.prettytable {
table.prettytable {
-
    margin: 1em 1em 1em 0;
+
margin: 1em 1em 1em 0;
-
    background: #f9f9f9;
+
background: #f9f9f9;
-
    border: 1px #aaa solid;
+
border: 1px #aaa solid;
-
    border-collapse: collapse;
+
border-collapse: collapse;
}
}
   
   
-
table.wikitable th, table.wikitable td,
+
table.wikitable th,
-
table.prettytable th, table.prettytable td {
+
table.wikitable td,
-
    border: 1px #aaa solid;
+
table.prettytable th,
-
    padding: 0.2em;
+
table.prettytable td {
 +
border: 1px #aaa solid;
 +
padding: 0.2em;
}
}
   
   
table.wikitable th,
table.wikitable th,
table.prettytable th {
table.prettytable th {
-
    background: #f2f2f2;
+
background: #f2f2f2;
-
    text-align: center;
+
text-align: center;
}
}
   
   
table.wikitable caption,
table.wikitable caption,
table.prettytable caption {
table.prettytable caption {
-
    margin-left: inherit;
+
margin-left: inherit;
-
    margin-right: inherit;
+
margin-right: inherit;
-
    font-weight: bold;
+
font-weight: bold;
}
}
   
   
table.prettytable code,
table.prettytable code,
table.wikitable code {
table.wikitable code {
-
    background-color: transparent;
+
background-color: transparent;
}
}
/* Article message box styles */
/* Article message box styles */
-
table.ambox {           /* 10% = Will not overlap with other elements */
+
table.ambox { /* 10% = Will not overlap with other elements */
-
    margin: -1px 10% 0px;   /* -1px = Single border between stacked boxes in all browsers */
+
margin: -1px 10% 0px; /* -1px = Single border between stacked boxes in all browsers */
-
    border: 1px solid #aaa;  
+
border: 1px solid #aaa;  
-
    border-bottom: 3px solid #1e90ff;   /* Default "notice" blue */
+
border-bottom: 3px solid #1e90ff; /* Default "notice" blue */
-
    background: #fbfbfb;  
+
background: #fbfbfb;  
}
}
-
th.ambox-text, td.ambox-text {     /* The message body cell(s) */
+
th.ambox-text, td.ambox-text { /* The message body cell(s) */
-
    border: none;  
+
border: none;  
-
    padding: 0.25em 0.5em;         /* 0.5em left/right */
+
padding: 0.25em 0.5em; /* 0.5em left/right */
-
    width: 100%;                   /* Make all templates the same width regardless of text length */
+
width: 100%;   /* Make all templates the same width regardless of text length */
}
}
-
td.ambox-image {                   /* The left image cell */
+
td.ambox-image {   /* The left image cell */
-
    border: none;  
+
border: none;  
-
    padding: 2px 0 2px 0.5em;     /* 0.5em left, 0px right */
+
padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
-
    text-align: center;  
+
text-align: center;  
}
}
-
td.ambox-imageright {             /* The right image cell */
+
td.ambox-imageright {   /* The right image cell */
-
    border: none;  
+
border: none;  
-
    padding: 2px 0.5em 2px 0;     /* 0px left, 0.5em right */
+
padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
-
    text-align: center;  
+
text-align: center;  
}
}
   
   
table.ambox-notice {
table.ambox-notice {
-
    border-bottom: 3px solid #1e90ff;   /* Blue */
+
border-bottom: 3px solid #1e90ff; /* Blue */
}
}
table.ambox-speedy {
table.ambox-speedy {
-
    border-bottom: 3px solid #b22222;   /* Red */
+
border-bottom: 3px solid #b22222; /* Red */
-
    background: #fee;                   /* Pink */
+
background: #fee;   /* Pink */
}
}
table.ambox-delete,
table.ambox-delete,
table.ambox-serious {
table.ambox-serious {
-
    border-bottom: 3px solid #b22222;   /* Red */
+
border-bottom: 3px solid #b22222; /* Red */
}
}
table.ambox-content {
table.ambox-content {
-
    border-bottom: 3px solid #f28500;   /* Orange */
+
border-bottom: 3px solid #f28500; /* Orange */
}
}
table.ambox-style {
table.ambox-style {
-
    border-bottom: 3px solid #f4c430;   /* Yellow */
+
border-bottom: 3px solid #f4c430; /* Yellow */
}
}
table.ambox-move,
table.ambox-move,
table.ambox-merge {
table.ambox-merge {
-
    border-bottom: 3px solid #9932cc;   /* Purple */
+
border-bottom: 3px solid #9932cc; /* Purple */
}
}
table.ambox-protection {
table.ambox-protection {
-
    border-bottom: 3px solid #bba;       /* Gray-gold */
+
border-bottom: 3px solid #bba;   /* Gray-gold */
}
}
-
table.ambox.ambox-mini {   /* Small floating box variant */
+
table.ambox.ambox-mini { /* Small floating box variant */
-
    float: right;
+
float: right;
-
    clear: right;
+
clear: right;
-
    margin: 0 0 0 1em;
+
margin: 0 0 0 1em;
-
    width: 25%;
+
width: 25%;
}
}
-
@media print {             /* Do not print article message boxes */
+
@media print {   /* Do not print article message boxes */
-
    .ambox {
+
.ambox {
-
        display: none;
+
display: none;
-
    }
+
}
}
}
-
h1, h2
+
h1, h2 {
-
{
+
border-bottom-width: 1px;
-
    border-bottom-width: 1px;
+
border-bottom-style: solid;
-
    border-bottom-style: solid;
+
border-bottom-color: rgb(170,170,170);
-
    border-bottom-color: rgb(170,170,170);
+
}
}

Latest revision as of 17:49, 14 November 2021

/* CSS placed here will be applied to all skins */
 
.category_header {
	border: 1px solid #aea395; 
	background: #ffd9ac; 
	height: 52px; 
	display: block;
	position: relative;
	padding: 0.1em 0.1em 0.1em 0.5em;
}
 
.category_header_title {
	font-size: 120%;
	font-weight: bold;
	position: absolute;
	z-index: 10;
	border: none;
	text-decoration: none;
}
 
.category_block,
td.category_block_stage {
	width: 32%;
	border: 1px solid #e2dbd2;
	background: #fff0df;
	vertical-align: top;
	color: #000;
}
 
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaa solid;
	border-collapse: collapse;
}
 
table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
	border: 1px #aaa solid;
	padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
	background: #f2f2f2;
	text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}
 
table.prettytable code,
table.wikitable code {
	background-color: transparent;
}
 
/* Article message box styles */
table.ambox {			/* 10% = Will not overlap with other elements */
	margin: -1px 10% 0px;	/* -1px = Single border between stacked boxes in all browsers */
	border: 1px solid #aaa; 
	border-bottom: 3px solid #1e90ff;	/* Default "notice" blue */
	background: #fbfbfb; 
}
th.ambox-text, td.ambox-text {	 /* The message body cell(s) */
	border: none; 
	padding: 0.25em 0.5em;		 /* 0.5em left/right */
	width: 100%;				   /* Make all templates the same width regardless of text length */
}
td.ambox-image {				   /* The left image cell */
	border: none; 
	padding: 2px 0 2px 0.5em;	  /* 0.5em left, 0px right */
	text-align: center; 
}
td.ambox-imageright {			  /* The right image cell */
	border: none; 
	padding: 2px 0.5em 2px 0;	  /* 0px left, 0.5em right */
	text-align: center; 
}
 
table.ambox-notice {
	border-bottom: 3px solid #1e90ff;	/* Blue */
}
table.ambox-speedy {
	border-bottom: 3px solid #b22222;	/* Red */
	background: #fee;				   /* Pink */
}
table.ambox-delete,
table.ambox-serious {
	border-bottom: 3px solid #b22222;	/* Red */
}
table.ambox-content {
	border-bottom: 3px solid #f28500;	/* Orange */
}
table.ambox-style {
	border-bottom: 3px solid #f4c430;	/* Yellow */
}
table.ambox-move,
table.ambox-merge {
	border-bottom: 3px solid #9932cc;	/* Purple */
}
table.ambox-protection {
	border-bottom: 3px solid #bba;	   /* Gray-gold */
}
table.ambox.ambox-mini {	/* Small floating box variant */
	float: right;
	clear: right;
	margin: 0 0 0 1em;
	width: 25%;
}
@media print {			  /* Do not print article message boxes */
	.ambox {
		display: none;
	}
}
 
h1, h2 {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: rgb(170,170,170);
}