Melding:Common.css

Úr Wikipediu, frjálsa alfræðiritinu

Athugaðu: Eftir útgáfu kann að vera að þú þurfir að komast hjá skyndiminni vafrans þíns til að sjá breytingarnar.

  • Firefox / Safari: Haltu Shift samtímis og þú smellir á Endurhlaða (Reload), eða ýttu á annaðhvort Ctrl-F5 eða Ctrl-R (⌘-R á Mac)
  • Google Chrome: Ýttu á Ctrl-Shift-R (⌘-Shift-R á Mac)
  • Internet Explorer / Edge: Haltu Ctrl samtímis og þú smellir á Endurnýja (Refresh), eða ýttu á Ctrl-F5
  • Opera: Farðu í Verkfæri (Tools) → Stillingar (Preferences) og svo Friðhelgi og öryggi (Privacy & security) → Hreinsa vafragögn (Clear browsing data) → Myndir og skrár í skyndiminni (Chached images and files)
/*
ATHUGIÐ MÖPPUDÝR:
 
CSS-kóðinn hér virkar á öllum þemum. Allar meiriháttar breytingar á þessari eða 
[[Melding:Monobook.css|Monobook.css]] ætti að ræða fyrst í [[Wikipedia:Potturinn|Pottinum]]. 
Þú getur gert tilraunir á þinni eigin Monobook.css.

Takk fyrir.
*/

/* Reset italic styling set by user agent */ 
cite,
dfn {
	font-style: inherit;
}

/* Straight quote marks for <q> */
q {
	quotes: '"' '"' "'" "'";
}

/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
	overflow: hidden;
	margin: 1em 0;
	padding: 0 40px;
}

/* Consistent size for <small>, <sub> and <sup> */
small {
	font-size: 85%;
}

.mw-body-content sub,
.mw-body-content sup {
	font-size: 80%;
}

/* Same spacing for indented and unindented paragraphs on talk pages */
.ns-talk .mw-body-content dd {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

/* Main page fixes */
#interwiki-completelist {
	font-weight: bold;
}

.page-Forsíða #ca-delete {
    display: none;
}

/* Make the list of references smaller
 * Keep in sync with Template:Refbegin/styles.css
 * And Template:Reflist/styles.css
 */
ol.references {
	font-size: 90%;
	margin-bottom: 0.5em;
}

/* T156351: Support for Parsoid's Cite implementation */
.mw-ref > a[data-mw-group=lower-alpha]::after {
    content: '[' counter( mw-Ref, lower-alpha ) ']';
}

/* phab:T239914 og phab:T314254
*/
.skin-vector .toc, .toccolours,
.skin-timeless .toc, .toccolours { 
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	padding: 5px;
	font-size: 95%
}

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 8 (2016-05-21)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}

/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	margin: 0; /* don't trust the note that says margin doesn't work with inline
				* removing margin: 0 makes dds have margins again */
	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;
}

/* Hide empty list items */
.hlist .mw-empty-li {
	display: none;
}

/* Generate interpuncts */
.hlist dt:after {
	content: ": ";
}

/**
 * Note hlist style usage differs in Minerva and is defined in core as well!
 * Please check Minerva desktop (and Minerva.css) when changing
 * See https://phabricator.wikimedia.org/T213239
 */
.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;
}

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

/* 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) "\a0";
}

.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}

.plainlist ol li,
.plainlist ul li {
	margin-bottom: 0;
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
	font-weight: normal;
	/* @noflip */
	text-align: right;
	padding-right: 0.2em;
	padding-left: 0.2em;
}

.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
}


/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
	font-weight: normal;
	/* @noflip */
	text-align: left;
}

/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	/* @noflip */
	text-align: left;
}

/* Change the external link icon to a PDF icon for all PDF files */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
	/* @noflip */
	padding: 8px 18px 8px 0;
}

/* Messagebox templates */
/* Cant be transfered to templatestyles easily because Template:ÓU is subst. */
.messagebox {
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	width: 80%;
	margin: 0 auto 1em auto;
	padding: .2em;
}

.messagebox.merge {
	border: 1px solid #c0b8cc;
	background-color: #f0e5ff;
	text-align: center;
}

.messagebox.cleanup {
	border: 1px solid #9f9fff;
	background-color: #efefff;
	text-align: center;
}

.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	margin: 4px auto;
}

/* For old WikiProject banners inside banner shells. */
.messagebox.nested-talk, /* temporary */
.mbox-inside .standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	width: 100%;
	margin: 2px 0;
	padding: 2px;
}

.messagebox.small {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: right;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em;
}

.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: right;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em;
	background-color: #f8eaba;
}

.mw-disambig {
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc;
}

/* Prevent line breaks in silly places where desired (nowrap)
   and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
	white-space: nowrap;
}

/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
	white-space: normal;
}

#wpSave {
    font-weight: bold;
}

/* Increase the height of the image upload box */
#wpUploadDescription {
	height: 13em;
}

/* Minimum thumb width */
figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'],
.thumbinner {
	min-width: 100px;
}

/* Prevent floating boxes from overlapping any category listings,
   file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
	clear: both;
}

/* Styling for Abuse Filter tags */
.mw-tag-markers {
	font-style: italic;
	font-size: 90%;
}

/* Make <math display="block"> be left aligned with one space indent for 
 * compatibility with style conventions
 */
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
	margin-left: 1.6em !important;
	margin-top: 0.6em;
	margin-bottom: 0.6em;
}

.mwe-math-mathml-display math {
	display: inline;
}

@media screen {
	/* Gallery styles background changes are restricted to screen view.
	   In printing we should avoid applying backgrounds. */
	/* The backgrounds for galleries. */
	#content .gallerybox div.thumb {
		/* Light gray padding */
		background-color: #f8f9fa;
	}
	/* Put a chequered background behind images, only visible if they have transparency.
	   '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
	.gallerybox .thumb img {
		background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
	}
	/* But not on articles, user pages, portals or with opt-out. */
	.ns-0 .gallerybox .thumb img,
	.ns-2 .gallerybox .thumb img,
	.ns-100 .gallerybox .thumb img,
	.nochecker .gallerybox .thumb img {
		background-image: none;
	}
}

/**
 * Stylesheet for Babel extension.
 *
 * You can override the CSS code on the MediaWiki:Common.css page
 * on your wiki to adjust colours etc.
 *
 * @file
 * @ingroup Extensions
 */
 
/* Babel wrapper layout. */
/* @noflip */table.mw-babel-wrapper {
	width:        250px;
	margin:       0.5em;
	background-color: white;
	border-style: solid;
	border-width: 1px;
	border-color: #99B3FF;
}
@media (max-width: 500px) {
	table.mw-babel-wrapper,
	div.mw-babel-box table,
	table.mw-babel-box {
		float: none;
		clear: none
	}
}
@media (min-width: 500px) {
	table.mw-babel-wrapper {
		float: right;
		clear: right
	}
	div.mw-babel-box table,
	table.mw-babel-box {
		float: left;
		clear: left
	}
	div.mw-babel-box {
		margin: 1px;
	}
}

div.mw-babel-box table {
	width: 242px;
}

div.mw-babel-box table th {
	width:       238px;
	height:      45px;
	font-size:   1.5em;
	font-family: sans-serif;
}


div.mw-babel-box table td {
	font-size:   0.83em;
	padding:     0.83em;
	line-height: 1.25em;
}

/* Babel box colours. */
div.mw-babel-box-0,
div.mw-babel-box-1,
div.mw-babel-box-2,
div.mw-babel-box-3,
div.mw-babel-box-4, 
div.mw-babel-box-5,
div.mw-babel-box-N {
	border: solid #FFFFFF 1px;
}

div.mw-babel-box-0 table th {
	background-color: #FFB3B3;
}

div.mw-babel-box-1 table th {
	background-color: #C0C8FF;
}

div.mw-babel-box-2 table th {
	background-color: #77E0E8;
}

div.mw-babel-box-3 table th {
	background-color: #99B3FF;
}

div.mw-babel-box-4 table th {
	background-color: #FFFF00;
}

div.mw-babel-box-5 table th {
	background-color: #CC0000;
}

div.mw-babel-box-N table th{
	background-color: #6EF7A7;
}

div.mw-babel-box-0 table {
	background-color: #FFE0E8;
}

div.mw-babel-box-1 table {
	background-color: #F0F8FF;
}

div.mw-babel-box-2 table {
	background-color: #D0F8FF;
}

div.mw-babel-box-3 table {
	background-color: #E0E8FF;
}

div.mw-babel-box-4 table {
	background-color: #FFFF99;
}

div.mw-babel-box-5 table {
	background-color: #FF5555;
}

div.mw-babel-box-N table {
	background-color: #C5FCDC;
}

/* header and footer */
.mw.babel-box th.mw-babel-header {
	text-align: center;
	font-weight: bold;
}
.mw.babel-box th.mw-babel-footer {
	text-align: center;
	font-weight: normal;
}

/* Float. Mismunandi hegðun á mobile og desktop. */
.float-right {
    float: right;
}
.float-left {
    float: left;
}


/* Stílsnið fyrir gæða- og úrvalsgreina merkingar */

/* change the bullets for links to special articles */
.badge-featuredarticle,
.badge-featuredlist {
	list-style-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Utmarkt_Guld.svg/10px-Utmarkt_Guld.svg.png);
}
/* change the bullets for links to special articles */
.badge-goodarticle {
 	list-style-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/3/37/Bra_alt.svg/10px-Bra_alt.svg.png);
}