MediaWiki:Common.css: Difference between revisions

From PokeHacking Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 26: Line 26:


div.note {
div.note {
padding: 0.7em 2.5em;
padding: 0.7em 2.6em;
border: 1px solid #ffcc33;
border: 1px solid #ffcc33;
background-color: #fff9ea;
background-color: #fff9ea;
background-image: url('https://pokehacking.com/web-images/note.svg');
background-image: url('https://pokehacking.com/web-images/note.svg');
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: 0.5em 50%;  
background-position: 0.7em 50%;  
}
}


div.warning{
div.warning{
padding: 0.7em 2.5em;
padding: 0.7em 2.6em;
border: 1px solid #ffb933;
border: 1px solid #ffb933;
background-color: #fff7ea;
background-color: #fff7ea;
background-image: url('https://pokehacking.com/web-images/warning.svg');
background-image: url('https://pokehacking.com/web-images/warning.svg');
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: 0.5em 50%;  
background-position: 0.7em 50%;  
}
}


div.error{
div.error{
padding: 0.7em 2.5em;
padding: 0.7em 2.6em;
border: 1px solid #cc3333;
border: 1px solid #cc3333;
background-color: #fee7e6;
background-color: #fee7e6;
background-image: url('https://pokehacking.com/web-images/error.svg');
background-image: url('https://pokehacking.com/web-images/error.svg');
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: 0.5em 50%;  
background-position: 0.7em 50%;
}
 
table.tabscript {
width: 280px;
float:right;
padding: 3px;
background-color: #FAFAF8;
border: 1px solid #C0C0C0;
}
 
table.tabscript .title {
line-height:1.2em;
background-color: #ebe6d8;
padding: 2px;
}
table.tabscript .title .name {
font-size:180%;
font-weight:bold;
}
table.tabscript .title .subname {
font-size:110%;
font-weight:normal;
font-style: italic;
}
table.tabscript .subtitle {
line-height:1.2em;
font-weight:bold;
background-color: #ebe6d8;
padding:4px;
}
table.tabscript .navbox-side {
text-align:center;
width:33.33%;
line-height:1.0em;
padding: 4px;
}
table.tabscript .navbox-center {
text-align:center;
width:33.33%;
line-height:1.0em;
padding: 4px;
background-color: #f5f0e1;
}
}

Latest revision as of 19:30, 10 March 2023

table.tabscrcmd {
	border:2px solid #C6C6C6;
	border-collapse: collapse;
}

table.tabscrcmd td, th { padding: 0px 4px; }

table.tabscrcmd th:nth-child(1) { background-color:#e0e0e0; }
table.tabscrcmd th:nth-child(2) { background-color:#f5f0e1; }
table.tabscrcmd th:nth-child(3) { background-color:#f5f0e1; }
table.tabscrcmd th:nth-child(4) { background-color:#ebf0f5; }
table.tabscrcmd th:nth-child(5) { background-color:#e9f2e6; }

table.tabscrcmd tr:nth-child(odd) td:nth-child(1) { background-color:#f4f4f4; }
table.tabscrcmd tr:nth-child(even) td:nth-child(1) { background-color:#eeeeee; }
table.tabscrcmd tr:nth-child(odd) td:nth-child(2) { background-color:#fff9ea; }
table.tabscrcmd tr:nth-child(even) td:nth-child(2) { background-color:#f7f2e4; }
table.tabscrcmd tr:nth-child(odd) td:nth-child(3) { background-color:#fff9ea; }
table.tabscrcmd tr:nth-child(even) td:nth-child(3) { background-color:#f7f2e4; }
table.tabscrcmd tr:nth-child(odd) td:nth-child(4) { background-color:#f5faff; }
table.tabscrcmd tr:nth-child(even) td:nth-child(4) { background-color:#edf2f7; }
table.tabscrcmd tr:nth-child(odd) td:nth-child(5) { background-color:#f6fff2; }
table.tabscrcmd tr:nth-child(even) td:nth-child(5) { background-color:#eff7eb; }

table.tabscrcmd tr:hover td {background: #ffffff;}

div.note {
	padding: 0.7em 2.6em;
	border: 1px solid #ffcc33;
	background-color: #fff9ea;
	background-image: url('https://pokehacking.com/web-images/note.svg');
	background-repeat: no-repeat;
	background-position: 0.7em 50%; 
}

div.warning{
	padding: 0.7em 2.6em;
	border: 1px solid #ffb933;
	background-color: #fff7ea;
	background-image: url('https://pokehacking.com/web-images/warning.svg');
	background-repeat: no-repeat;
	background-position: 0.7em 50%; 
}

div.error{
	padding: 0.7em 2.6em;
	border: 1px solid #cc3333;
	background-color: #fee7e6;
	background-image: url('https://pokehacking.com/web-images/error.svg');
	background-repeat: no-repeat;
	background-position: 0.7em 50%; 
}

table.tabscript {
	width: 280px;
	float:right;
	padding: 3px;
	background-color: #FAFAF8;
	border: 1px solid #C0C0C0;
}

table.tabscript .title {
	line-height:1.2em;
	background-color: #ebe6d8;
	padding: 2px;
}
table.tabscript .title .name {
	font-size:180%;
	font-weight:bold;
}
table.tabscript .title .subname {
	font-size:110%;
	font-weight:normal;
	font-style: italic;
}
table.tabscript .subtitle {
	line-height:1.2em;
	font-weight:bold;
	background-color: #ebe6d8;
	padding:4px;
}
table.tabscript .navbox-side {
	text-align:center;
	width:33.33%;
	line-height:1.0em;
	padding: 4px;
}
table.tabscript .navbox-center {
	text-align:center;
	width:33.33%;
	line-height:1.0em;
	padding: 4px;
	background-color: #f5f0e1;
}