ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "MediaWiki:Monobook.css"

From ModEnc
Jump to: navigation, search
(Template editing! Prepare for incoming revisions! Added classes for Template:Progress.)
(Have to save to see if the style transfers well. Will then try to update it to make it better.)
Line 1: Line 1:
 
/* edit this file to customize the monobook skin for the entire site */
 
/* edit this file to customize the monobook skin for the entire site */
  
/* Black Link class */
+
/* Black Link class <pre>*/
 
.blacklink tr td:first-child a {
 
.blacklink tr td:first-child a {
 
text-decoration: none;
 
text-decoration: none;
Line 16: Line 16:
 
text-decoration: underline;
 
text-decoration: underline;
 
}
 
}
/* [[ModEnc:Tables|Table classes]] */
+
/*</pre> [[ModEnc:Tables|Table classes]] <pre>*/
 
.table_descrowdesccol {
 
.table_descrowdesccol {
 
border-collapse: collapse;
 
border-collapse: collapse;
Line 44: Line 44:
 
border-left: 1px solid #aaaaaa;
 
border-left: 1px solid #aaaaaa;
 
}
 
}
/* Style for table [[ModEnc:Tables|"Description Row only"]] */
+
/*</pre> Style for table [[ModEnc:Tables|"Description Row only"]] <pre>*/
 
.table_descrow {
 
.table_descrow {
 
border-collapse: collapse;
 
border-collapse: collapse;
Line 70: Line 70:
 
border-left: 1px solid #aaaaaa;
 
border-left: 1px solid #aaaaaa;
 
}
 
}
/* Style for table [[ModEnc:Tables|"Three-parted"]] */
+
/*</pre> Style for table [[ModEnc:Tables|"Three-parted"]] <pre>*/
 
.table_parted {
 
.table_parted {
 
border: 1px solid #aaaaaa;
 
border: 1px solid #aaaaaa;
Line 162: Line 162:
 
padding-left: 2px;
 
padding-left: 2px;
 
}
 
}
/* Style for [[Template:Flag]] */
+
/*</pre> Style for [[Template:Flag]] <pre>*/
 
.template_flag {
 
.template_flag {
 
border-collapse: collapse;
 
border-collapse: collapse;
Line 180: Line 180:
 
padding-left: 3px;
 
padding-left: 3px;
 
}
 
}
/* Style for [[Template:OffCo]] */
+
/*</pre> Style for [[Template:OffCo]] <pre>*/
 
.template_offco {
 
.template_offco {
 
border: 1px solid #aaaaaa;
 
border: 1px solid #aaaaaa;
Line 189: Line 189:
 
font-size: large;
 
font-size: large;
 
}
 
}
/* Style for [[Template:WeaponsRelated]] */
+
/*</pre> Style for [[Template:WeaponsRelated]] <pre>*/
 
.template_weaponsrelated {
 
.template_weaponsrelated {
 
background-color: #F0F0F0;
 
background-color: #F0F0F0;
Line 202: Line 202:
 
font-size: x-small;
 
font-size: x-small;
 
}
 
}
/* Style for [[Template:Mapdef]] */
+
/*</pre> Style for [[Template:Mapdef]] <pre>*/
 
.template_mapdef_definition_wrapper {
 
.template_mapdef_definition_wrapper {
 
background-color: #F0F0F0;
 
background-color: #F0F0F0;
Line 248: Line 248:
 
margin-top: 7px;
 
margin-top: 7px;
 
}
 
}
/* Style for [[Template:Progress]] */
+
/*</pre> Style for [[Template:Progress]] <pre>*/
 
.template_progress_box {
 
.template_progress_box {
 
width: 250px;
 
width: 250px;
Line 291: Line 291:
 
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
 
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
 
}
 
}
 +
/* </pre>'''Everything below this line was added after the design was changed ''back''.'''<br> */
 +
/* Style for [[Template:Sidebar]]<pre> */
 +
.template_sidebar_wrapper {
 +
background-color: #1d1d1d;
 +
border: 1px solid #4d4d4d;
 +
margin: 5px;
 +
}
 +
.template_sidebar_header {
 +
background-image: url(http://www.modenc.renegadeprojects.com/images/Box_header.png);
 +
background-repeat: repeat-x;
 +
background-position: top center;
 +
min-height: 35px;
 +
width: 100%;
 +
padding-top: 5px;
 +
border-bottom: 1px solid #4d4d4d;
 +
}
 +
.template_sidebar_headline {
 +
width: 80%;
 +
min-height: 20px;
 +
border-color: #363636 #4d4d4d #4d4d4d #363636;
 +
border-style: solid;
 +
border-width: 1px;
 +
background-color: #171717;
 +
text-align: center;
 +
font-size: small;
 +
font-family: sans-serif;
 +
margin-left: auto;
 +
margin-right: auto;
 +
padding: 2px 2px 2px;
 +
}
 +
.template_sidebar_content {
 +
width: 100%;
 +
padding: 0px;
 +
}
 +
/* </pre>Style for [[Template:ModBar]]<pre> */
 +
.template_modbar {
 +
padding: 4px;
 +
}
 +
.template_modbar div {
 +
width: 100%;
 +
text-align: center;
 +
}
 +
.template_modbar_table {
 +
width: 100%;
 +
}
 +
.template_modbar_table .gamegallery {
 +
width: 100%;
 +
}
 +
.gamegallery td {
 +
width: 32px;
 +
height: 32px;
 +
background-color: #0d0d0d;
 +
border-spacing: 1px;
 +
text-align: center;
 +
}
 +
.template_modbar_table .contentrow {
 +
font-size:84%;
 +
border-top-color:#1f1f1f;
 +
border-top-style:solid;
 +
border-top-width:1px;
 +
}
 +
.template_modbar_table .contentrow td:first-child {
 +
background-color: #0d0d0d;
 +
}
 +
.template_modbar_table .contentrow td {
 +
padding-left: 2px;
 +
}
 +
/*</pre> Styling for new, minor and unpatrolled icons on [[Special:Recentchanges|Recent changes]] <pre>*/
 +
span.newpage {
 +
background-image: url(/images/Rc_new.png);
 +
background-position: center;
 +
background-repeat: no-repeat;
 +
vertical-align: middle;
 +
text-align: center;
 +
padding-left: 5px;
 +
padding-right: 6px;
 +
}
 +
span.minor {
 +
background-image: url(/images/Rc_minor.png);
 +
background-position: center;
 +
background-repeat: no-repeat;
 +
vertical-align: baseline;
 +
text-align: center;
 +
padding-left: 3px;
 +
padding-right: 3px;
 +
}
 +
span.unpatrolled {
 +
font-weight: bold;
 +
background-image: url(/images/Rc_patrol.png);
 +
background-position: center;
 +
background-repeat: no-repeat;
 +
vertical-align: middle;
 +
text-align: center;
 +
padding-left: 7px;
 +
padding-right: 7px;
 +
color: White;
 +
}
 +
span.newpageletter {
 +
font-weight: bold;
 +
color: White;
 +
background-color: yellow;
 +
}
 +
span.minoreditletter {
 +
color: White;
 +
background-color: #c5ffe6;
 +
}
 +
/*</pre>*/

Revision as of 18:32, 14 April 2007

/* edit this file to customize the monobook skin for the entire site */

/* Black Link class <pre>*/
.blacklink tr td:first-child a {	
	text-decoration: none;
	color: black;
	background: none;
}
.blacklink tr td:first-child a:visited {
	color: black;
}
.blacklink tr td:first-child a:active {
	color: #faa700;
}
.blacklink tr td:first-child a:hover {
	text-decoration: underline;
}
/*</pre> [[ModEnc:Tables|Table classes]] <pre>*/
.table_descrowdesccol {
	border-collapse: collapse;
	border: 1px dashed #aaaaaa;
	background:#F0F0F0;
}
.table_descrowdesccol tr:first-child {
	border-bottom: 1px solid #000000;
	background-color: #e5e5e5;
	border-top-width: 0px;
}
.table_descrowdesccol tr {
	border-top: 1px solid #aaaaaa;
}
.table_descrowdesccol tr th:first-child {
	border-left-width: 0px;
	background-color: #e5e5e5;
	border-right: 1px solid #000000;
}
.table_descrowdesccol th {
	border-left: 1px solid #000000;
}
.table_descrowdesccol tr td:first-child {
	border-left-width: 0px;
}
.table_descrowdesccol td {
	border-left: 1px solid #aaaaaa;
}
/*</pre> Style for table [[ModEnc:Tables|"Description Row only"]] <pre>*/
.table_descrow {
	border-collapse: collapse;
	border: 1px dashed #aaaaaa;
	background: #F0F0F0;
}
.table_descrow tr:first-child {
	border-bottom: 1px solid #000000;
	background-color: #e5e5e5;
	border-top-width: 0px;
}
.table_descrow tr {
	border-top: 1px solid #aaaaaa;
}
.table_descrow tr th:first-child {
	border-left-width: 0px;
}
.table_descrow th {
	border-left: 1px solid #000000;
}
.table_descrow tr td:first-child {
	border-left-width: 0px;
}
.table_descrow td {
	border-left: 1px solid #aaaaaa;
}
/*</pre> Style for table [[ModEnc:Tables|"Three-parted"]] <pre>*/
.table_parted {
	border: 1px solid #aaaaaa;
	background:#e5e5e5;
	border-spacing: 5px;
}
.table_parted td {
	border: 1px solid #aaaaaa;
	background:#F0F0F0;
	padding: 5px;
	vertical-align: top;
}
.table_greybar {
	background:#F0F0F0;
	border-bottom-color:#000000;
	border-bottom-style:solid;
	border-bottom-width:1px;
	border-top-color:#000000;
	border-top-style:solid;
	border-top-width:1px;"
}
.table_biggreybar {
	background:#F0F0F0;
	border-bottom-color:#000000;
	border-bottom-style:solid;
	border-bottom-width:1px;
	border-top-color:#000000;
	border-top-style:solid;
	border-top-width:1px;
}
.table_biggreybar th {
	font-size: large;
}
.table_biggreybar td {
	text-align: center;
}
.table_redbar {
	background:#F00000;
	border-bottom-color:#000000;
	border-bottom-style:solid;
	border-bottom-width:2px;
	border-top-color:#000000;
	border-top-style:solid;
	border-top-width:2px;
}
.table_horblock {
	border-collapse: collapse;
	border: 1px dashed #000000;
	background: #F0F0F0;
}
.table_simplesidebar {
	border-collapse: collapse;
	border: 1px dashed #000000;
	background: #F0F0F0;
	margin: 2.8em 0 0 3.2em;
	padding: 1em 1em 1.5em 1em;
}
.table_tocsidebar {
	border-collapse: collapse;
	border: 1px dashed #000000;
	background: #F0F0F0;
}
.table_tocsidebar th {
	background-color: #e5e5e5;
}
.table_tocsidebar tr:first-child {
	border-top-width: 0px;
}
.table_tocsidebar tr {
	border-top-color: #aaaaaa;
	border-top-style: solid;
	border-top-width: 1px;
}
.table_infobar {
	border-collapse: collapse;
	border: 1px dashed #000000;
	background:#F0F0F0;
	margin: 2.8em 0 0 3.2em;
	padding: 1em 1em 1.5em 1em;
}
.table_infobar .contentrow {
	font-size:84%;
	border-top-color:#aaaaaa;
	border-top-style:solid;
	border-top-width:1px;
}
.table_infobar .contentrow td:first-child {
	background-color: #e5e5e5;
}
.table_infobar .contentrow td {
	padding-left: 2px;
}
/*</pre> Style for [[Template:Flag]] <pre>*/
.template_flag {
	border-collapse: collapse;
}
.template_flag tr {
	background-color: #f0f0f0;
	border-bottom-color:#aaaaaa;
	border-bottom-style:solid;
	border-bottom-width:1px;
}
.template_flag tr td:first-child {
	background-color: #e5e5e5;
	width: 15%;
	padding-left: 2px;
}
.template_flag tr td {
	padding-left: 3px;
}
/*</pre> Style for [[Template:OffCo]] <pre>*/
.template_offco {
	border: 1px solid #aaaaaa;
	background: #e5e5e5;
	width: 98%;
}
.template_offco th {
	font-size: large;
}
/*</pre> Style for [[Template:WeaponsRelated]] <pre>*/
.template_weaponsrelated {
	background-color: #F0F0F0;
	border: 1px solid #aaaaaa;
	padding: 2px;
}
.template_weaponsrelated th {
	background-color: #e5e5e5;
}
.template_weaponsrelated li {
	list-style: none none;
	font-size: x-small;
}
/*</pre> Style for [[Template:Mapdef]] <pre>*/
.template_mapdef_definition_wrapper {
	background-color: #F0F0F0;
	border: 1px solid #aaaaaa;
}
.template_mapdef_definition_wrapper:target {
	border: 2px solid #000000;
}
.template_mapdef_header_wrapper {
	background-color: #e5e5e5;
	padding: 4px;
	text-align: center;
}
.template_mapdef_name {
	float: left;
	text-align: center;
	font-weight: bold;
	font-family: sans-serif;
}
.template_mapdef_params_name {
	font-weight: bold;
	text-align: center;
}
.template_mapdef_params {
	text-align: center;
}
.template_mapdef_params table {
	background-color: transparent;
}
.template_mapdef_description {
	padding: 4px;
}
.template_mapdef_number_wrapper {
	padding: 10px;
	float: left;
}
.template_mapdef_code {
	font-weight: bold;
	font-family: sans-serif;
}
.template_mapdef_number {
	font-size: 30pt;
	font-weight: bold;
	font-family: sans-serif;
	margin-top: 7px;
}
/*</pre> Style for [[Template:Progress]] <pre>*/
.template_progress_box {
	width: 250px;
	height: 70px;
	background-color: #f9f9f9;
	border: 1px solid #aaaaaa;
	position: relative;
	left: 0px;
	top: 0px;
}
.template_progress_bar {
	border: 1px solid #aaaaaa;
	width: 228px;
	height: 27px;
	position: absolute;
	left: 10px;
	top: 9px;
	background-color: #e5e5e5;
}
.template_progress_bar_fill {
	background-image: url(http://www.modenc.renegadeprojects.com/images/Progress_grad.png);
	position: absolute;
	left: 0px;
	top: 0px;
	height: 27px;
}
.template_progress_text {
	position: absolute;
	left: 10px;
	top: 40px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: x-small;
}
.template_progress_percent {
	position: relative;
	left: 0px;
	top: 0px;
	font-weight: bold;
	z-index: 1;
	text-align: center;
	padding-top: 4px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
/* </pre>'''Everything below this line was added after the design was changed ''back''.'''<br> */
/* Style for [[Template:Sidebar]]<pre> */
.template_sidebar_wrapper {
	background-color: #1d1d1d;
	border: 1px solid #4d4d4d;
	margin: 5px;
}
.template_sidebar_header {
	background-image: url(http://www.modenc.renegadeprojects.com/images/Box_header.png);
	background-repeat: repeat-x;
	background-position: top center;
	min-height: 35px;
	width: 100%;
	padding-top: 5px;
	border-bottom: 1px solid #4d4d4d;
}
.template_sidebar_headline {
	width: 80%;
	min-height: 20px;
	border-color: #363636 #4d4d4d #4d4d4d #363636;
	border-style: solid;
	border-width: 1px;
	background-color: #171717;
	text-align: center;
	font-size: small;
	font-family: sans-serif;
	margin-left: auto;
	margin-right: auto;
	padding: 2px 2px 2px;
}
.template_sidebar_content {
	width: 100%;
	padding: 0px;
}
/* </pre>Style for [[Template:ModBar]]<pre> */
.template_modbar {
	padding: 4px;
}
.template_modbar div {
	width: 100%;
	text-align: center;
}
.template_modbar_table {
	width: 100%;
}
.template_modbar_table .gamegallery {
	width: 100%;
}
.gamegallery td {
	width: 32px;
	height: 32px;
	background-color: #0d0d0d;
	border-spacing: 1px;
	text-align: center;
}
.template_modbar_table .contentrow {
	font-size:84%;
	border-top-color:#1f1f1f;
	border-top-style:solid;
	border-top-width:1px;
}
.template_modbar_table .contentrow td:first-child {
	background-color: #0d0d0d;
}
.template_modbar_table .contentrow td {
	padding-left: 2px;
}
/*</pre> Styling for new, minor and unpatrolled icons on [[Special:Recentchanges|Recent changes]] <pre>*/
span.newpage {
	background-image: url(/images/Rc_new.png);
	background-position: center;
	background-repeat: no-repeat;
	vertical-align: middle;
	text-align: center;
	padding-left: 5px;
	padding-right: 6px;
}
span.minor {
	background-image: url(/images/Rc_minor.png);
	background-position: center;
	background-repeat: no-repeat;
	vertical-align: baseline;
	text-align: center;
	padding-left: 3px;
	padding-right: 3px;
}
span.unpatrolled {
	font-weight: bold; 
	background-image: url(/images/Rc_patrol.png);
	background-position: center;
	background-repeat: no-repeat;
	vertical-align: middle;
	text-align: center;
	padding-left: 7px;
	padding-right: 7px;
	color: White;
}
span.newpageletter {
	font-weight: bold;
	color: White;
	background-color: yellow;
}
span.minoreditletter {
	color: White;
	background-color: #c5ffe6;
}
/*</pre>*/