MediaWiki:Common.css

Z Tribalwars Wiki CZ
Jump to navigation

Poznámka: Po zveřejnění musíte vyprázdnit cache vašeho prohlížeče, jinak změny neuvidíte.

  • Firefox / Safari: Při kliknutí na Aktualizovat držte Shift nebo stiskněte Ctrl-F5 nebo Ctrl-R (na Macu ⌘-R)
  • Google Chrome: Stiskněte Ctrl-Shift-R (na Macu ⌘-Shift-R)
  • Internet Explorer / Edge: Při kliknutí na Aktualizovat držte Ctrl nebo stiskněte Ctrl-F5
  • Opera: Stiskněte Ctrl-F5.
/*
CSS placed here will be applied to all skins 

See also: [[MediaWiki:Monobook.css]]
<pre style="height: 45em"><nowiki> */

.editsection {
	float: right;
	margin-left: 5px;
}

h1 .editsection { font-size: 53%; }
h2 .editsection { font-size: 67%; }
h3 .editsection { font-size: 76%; font-weight: normal; }
h4 .editsection { font-size: 86%; font-weight: normal; }
h5 .editsection { font-weight: normal; }
h6 .editsection { font-size: 125%; font-weight: normal; }

/* Recent Changes add/delete number colors */
.mw-plusminus-pos {color: #006600; } 
.mw-plusminus-neg {color: #E42217; }
.mw-plusminus-null {color: #555555; } 

/*~ Removes Main page heading ~*/
body.page-Main_Page .firstHeading { display: none; }

/* Moves the Column at the top so it fits in more neatly */
#column-content #content {
 	margin-left: 11.9em;
-	margin-top: 2.9em;
+	margin-top: 2.9em;
 }

/* --- YOU HAVE NEW MESSAGES BAR --- */

/* prettified */
.usermessage, .usermessage plainlinks {
 border: 2px solid;
 margin: 0.5em 0em 0.5em 0em;
 padding: 0.5em;
 vertical-align: middle;
}

.Prettytable {background-color: #DED3B9}

#f-poweredbyico { display: none; }

/* 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;
}

/* To stop the editsection ruining the Standard templates */
body.page-Academy .editsection { display: none; }
body.page-Barracks .editsection { display: none; }
body.page-Clay_pit .editsection { display: none; }
body.page-Farm .editsection { display: none; }
body.page-Hiding_place .editsection { display: none; }
body.page-Iron_mine .editsection { display: none; }
body.page-Market .editsection { display: none; }
body.page-Rally_point .editsection { display: none; }
body.page-Smithy .editsection { display: none; }
body.page-Stable .editsection { display: none; }
body.page-Statue .editsection { display: none; }
body.page-Timber_camp .editsection { display: none; }
body.page-Village_Headquarters .editsection { display: none; }
body.page-Wall .editsection { display: none; }
body.page-Warehouse .editsection { display: none; }
body.page-Workshop .editsection { display: none; }

/* Make welcome page look better without [edit] */
body.page-Welcome .editsection { display: none; }

/* --- {{Ambox}} TEMPLATE DESIGNS --- */

/* {{Ambox}} design */
.ambox {
font-size: 95%;
width: 80%; 
margin: 0 auto;
border: 1px #AAA solid;
border-left: 10px solid #228b22;
border-collapse: collapse;
background-color: #5a3a00;
}

/* {{Ambox}} colours */
.ambox-blue {
border-left: 10px solid #1e90ff;       /* Blue (notice) */
}
.ambox-red {
border-left: 10px solid #b22222;       /* Red (delete/serious) */
}
.ambox-orange {
border-left: 10px solid #f28500;       /* Orange (content) */
}
.ambox-yellow {
border-left: 10px solid #f4c430;       /* Yellow (style) */
}
.ambox-purple {
border-left: 10px solid #9932cc;       /* Purple (merge) */
}
.ambox-gray {
border-left: 10px solid #bba;          /* Gray (protection) */
}
.ambox-green {
border-left: 10px solid #228b22;       /* Green */
}

/* {{Ambox}} small text */
.amsmalltext {
font-size: smaller;
margin-top:0.5em;
margin-left:0.8em;
}

/* {{Ambox}} image */
.ambox-image {                          /* The left image cell */
width: 60px; 
padding: 2px 0px 2px 0.5em;            /* 0.5em left, 0px right */
text-align: center; 
}


/* </nowiki> </pre> */