ሜድያዊኪ:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
body.page-መበገሲ_ገጽ .firstHeading,
body.page-መበገሲ_ገጽ .pagetitle,
body.page-መበገሲ_ገጽ .subtitle,
body.page-መበገሲ_ገጽ #ca-unprotect,
body.page-መበገሲ_ገጽ #ca-move,
body.page-መበገሲ_ገጽ #ca-delete,
body.page-መበገሲ_ገጽ #mytabs,
body.page-መበገሲ_ገጽ #tw-BR,
body.page-መበገሲ_ገጽ #tw-xfd,
body.page-መበገሲ_ገጽ #catlinks,
body.page-መበገሲ_ገጽ #footer-info-lastmod,
body.page-መበገሲ_ገጽ .error {
display:none;
}
/*
* Prevent unconfirmed users from bypassing semi-protections
* via edit on Wikidata: [[phab:T208315]], [[phab:T207648]].
*/
.wikidata-link {
display:none;
}
body.mw-editable .wikidata-link {
display:inline;
}
/*
* That the images do not overflow the page
*/
.autofit {
width:100%;
max-width:100%;
}
.autofit img {
width:100%;
height:auto;
}
/* Color blue when clicking references */
ol.references > li:target,
sup.reference:target,
span.citation:target,
cite:target {
background-color: #DEF;
}
/* Style for citation */
.citation {
word-wrap: break-word;
}
/* T156351: Support for Parsoid's Cite implementation */
span[rel="mw:referencedBy"] {
counter-reset: mw-ref-linkback 0;
}
span[rel="mw:referencedBy"] > a::before {
font-weight: bold;
font-style: italic;
content: counter( mw-ref-linkback, lower-alpha );
}
/* For linked citation numbers and document IDs, where
the number need not be shown on a screen or a handheld,
but should be included in the printed version */
@media screen, handheld {
.citation .printonly {
display: none;
}
}
/* Footnotes: Remove brackets */
.bracket-call {display: none}
/* Style for links to redirects from special pages */
.redirect-in-category,
.allpagesredirect a {
color: gray;
}
/* CSS for infoboxes */
.infobox td, .infobox th,
.infobox_v2 td, .infobox_v2 th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
/* ===== infoboxes V2 ("new") ==== */
.infobox_v2, .infobox {
border: 1px solid #B4BBC8;
background-color: #f9f9f9;
color: #000;
margin: .5em 0 .7em 1.2em;
padding: .4em;
clear: right;
float: right;
font-size: 90%;
line-height: 1.5em;
width: 22.5em
}
.infobox_v2 .header, .infobox .header {
font-size: 140%;
font-weight: bolder;
height: 45px;
line-height: 1.2em;
text-align: center;
vertical-align: middle
}
.infobox_v2 .media, .infobox .media {
font-weight: bolder;
height: 35px;
text-align: center;
vertical-align: middle
}
/* Codes for specific types of infoboxes */
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #B4BBC8;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
/* styles for geography infoboxes, e.g. countries, national subdivisions, cities, etc. */
.infobox.geography,
.infobox_v2.geography {
text-align: left;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
border: solid 1px #B4BBC8;
}
.infobox.geography td,
.infobox.geography th,
.infobox_v2.geography td,
.infobox_v2.geography th {
border-top: solid 1px #B4BBC8;
padding: .4em .6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th,
.infobox_v2.geography .mergedtoprow td,
.infobox_v2.geography .mergedtoprow th {
border-top: solid 1px #B4BBC8;
padding: .4em .6em .2em .6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th,
.infobox_v2.geography .mergedrow td,
.infobox_v2.geography .mergedrow th {
border: 0;
padding: 0 .6em .2em .6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th,
.infobox_v2.geography .mergedbottomrow td,
.infobox_v2.geography .mergedbottomrow th {
border-top: 0;
border-bottom: solid 1px #B4BBC8;
padding: 0 .6em .4em .6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th,
.infobox_v2.geography .maptable td,
.infobox_v2.geography .maptable th {
border: 0;
padding: 0;
}
/* Transparent header graphics */
.header.default {}
.header.author { background:url("//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png") no-repeat top right }
.header.breed.cat { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Cat_silhouette.svg/45px-Cat_silhouette.svg.png") no-repeat right top }
.header.breed.dog { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Dog.svg/40px-Dog.svg.png") no-repeat right top }
.header.building { background:url("//upload.wikimedia.org/wikipedia/commons/f/ff/Picto_infobox_enterprise.png") no-repeat top right }
.header.cinema { background:url("//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png") no-repeat top right }
.header.conflict { background:url("//upload.wikimedia.org/wikipedia/commons/a/a5/Picto_infobox_conflict.png") no-repeat top right }
.header.conflic-fictitious { background:url("//upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_fictional_military_conflict-00.png") no-repeat top right }
.header.comics { background:url("//upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png") no-repeat top right }
.header.communication { background:url("//upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png") no-repeat top right }
.header.flag { background:url("//upload.wikimedia.org/wikipedia/commons/f/f7/Picto_infobox_flag.png") no-repeat top right }
.header.football { background:url("//upload.wikimedia.org/wikipedia/commons/3/3c/Picto_infobox_fotbal.png") no-repeat top right }
.header.gastronomy { background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Picto_infobox_mets.png") no-repeat top right }
.header.hardware { background:url("//upload.wikimedia.org/wikipedia/commons/c/ce/Arduino_ftdi_chip-1.png") no-repeat top right }
.header.human { background:url("//upload.wikimedia.org/wikipedia/commons/4/48/Picto_infobox_character.png") no-repeat top right }
.header.internet { background:url("//upload.wikimedia.org/wikipedia/commons/a/a1/Picto_infobox_internet.png") no-repeat top right }
.header.map { background:url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png") no-repeat top right }
.header.medicine { background:url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_med.png") no-repeat top right }
.header.military { background:url("//upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_military.png") no-repeat top right }
.header.music { background:url("//upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png") no-repeat top right }
.header.pc { background:url("//upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_pc.png") no-repeat top right }
.header.physics { background:url("//upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_physics.png") no-repeat top right }
.header.software { background:url("//upload.wikimedia.org/wikipedia/commons/f/fe/Picto_infobox_software.png") no-repeat top right }
.header.sport { background:url("//upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png") no-repeat top right }
.header.videogame { background:url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png") no-repeat bottom right }
/* Style for horizontal lists (separator following item).
IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision 6 (2014-05-09)
@author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ") ";
font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ") ";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) " ";
white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) " ";
}
/* Unbulleted lists */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ul li {
margin-bottom: 3px;
}
/* Definition for images and other floating elements */
.floatright {
float: right;
clear: right;
position: relative;
margin: 0.2em 0 0.8em 1.4em;
}
.floatleft {
float: left;
clear: left;
position: relative;
margin: 0.2em 1.4em 0.8em 0;
}
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
border: 1px solid #aaa;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.8em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li span {
font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 6em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
width: 6em;
}
/* =========================================
===== COLLAPSIBLE (mediawiki 1.18+ ) ========
==========================================
Mediawiki 1.18 introduced a new native collapsible system.
This is the CSS to customize and eventually replace
to the maze NavHead, NavFrame, NavToggle, NavContent, etc. */
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible .navbox-title { position: relative; }
.navbox-title .mw-collapsible-toggle { display: block; position: absolute; right: 0.5em; bottom: 0.5ex; }
.navbox .mw-collapsible-toggle {
width: 6em;
}
/* Hatnotes and disambiguation notices */
.rellink,
.dablink {
font-style: italic;
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
.rellink i,
.dablink i {
font-style: normal;
}
/* CSS related to the use of coordinates
To display coordinates using the notation in the source code, write this in your User:Username/monobook.css:
.geo-default {display: inline} .geo-nondefault {display: none}
.geo-dec {display: inline} .geo-dms {display: inline}
To display coordinates using decimal notation, write this in your User:Username/monobook.css:
.geo-default {display: inline} .geo-nondefault {display: inline}
.geo-dec {display: inline} .geo-dms {display: none}
To display coordinates using DMS notation, write this in your User:Username/monobook.css:
.geo-default {display: inline} .geo-nondefault {display: inline}
.geo-dec {display: none} .geo-dms {display: inline}
To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css:
.geo-default {display: inline} .geo-nondefault {display: inline}
.geo-dec {display: inline} .geo-dms {display: inline}
.geo-multi-punct {display: inline}
See [[Template:Coor link]] for how these are used.
Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed.
*/
/* Default CSS, can be modified using the rules above */
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
.geo {}
/* TABLES */
/* different color in even rows */
/* default: gray */
table.striped tr:nth-child(even) {
background-color: #f2f3f4;
}
/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
font-weight: normal;
/* @noflip */
text-align: left;
}
/* lists in data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
/* @noflip */
text-align: left;
}
/* Tables aligned left (class="wikitable left") */
.wikitable.left,
.toccolours.left {
margin: 1em 1.3em 1em 0;
float: left;
clear: left;
}
/* Tables aligned to the right (class="wikitable right") */
.wikitable.right,
.toccolours.right {
margin: 1em 0 1em 1.3em;
float: right;
clear: right;
}
/* Centered tables (class="wikitable center") */
.wikitable.center,
.toccolours.center {
margin-left:auto;
margin-right:auto;
width:inherit;
text-align:inherit;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
table.ambox {
margin: 0 7% .8em;
border-collapse: collapse;
background-color: #fbfbfb;
border-bottom: 1px solid #aaa;
border-left: 1px solid #CCC;
border-right: 1px solid #CCC;
font-size: 95%;
}
table.ambox th.ambox-text, table.ambox td.ambox-text {
padding: 0.25em 0.5em; /* 0.5em left/right */
width: 100%; /* Make all templates the same width regardless of text size */
}
table.ambox .ambox-image {
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
text-align: center;
}
table.ambox .ambox-imageright {
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
text-align: center;
}
.ambox-notice {border-top: 5px solid #608EC2} /* ሰማያዊ */
.ambox-protection {border-top: 5px solid #bba} /* ግራጫ */
.ambox-delete {border-top: 5px solid #b22222} /* ቀይሕ */
.ambox-content {border-top: 5px solid #f28500} /* ኣራንሾኒ */
.ambox-style {border-top: 5px solid #f4c430} /* ብጫ */
.ambox-merge {border-top: 5px solid #8c08a4} /* ጁኽ */
.ambox-growth {border-top: 5px solid #47a30d} /* ቀጠልያ */
.ambox.ambox-mini { /* Small floating version */
float: right;
clear: right;
margin: 0 0 0 1em;
width: 25%;
}
/* Styles for sitenotice and the like */
.notice {
text-align: justify;
margin: 1em;
padding: 0.2em;
}
/* CSS for collapsibles, documentation in [[:en:Wikipedia:NavFrame]] */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
float: left;
}
div.NavFrame .NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
.NavToggle {
position: absolute;
top: 0;
right: 3px;
font-weight: normal;
font-size: 90%;
}
/**
* Allows manual numbering of sections in tables of contents
*/
#hideTOCnumbers .tocnumber { display: none; }
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* Prevent line breaks in silly places:
1) Where desired
2) Links when we don't want them to
3) Bold "links" to the page itself
4) HTML formulae
5) Ref tags with group names <ref group="Note"> --> "[Note 1]"
*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.texhtml,
sup.reference a {
white-space: nowrap;
}
/* Hide the mobile wlm banner on the normal site */
#mf-wlm-banner { display: none; }
/* For the Documentation template */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px dotted #8BCBFF;
background-color: #EEF9FA;
padding: 0.9em;
}