Melding:Mobile.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)
/* Stílsnið fyrir farsímasíðu Wikipedia */
/* Stílar sem eru ekki hérna eru ekki sýnilegir á farsímaútgáfunni vegna stillingar í hugbúnaðinum. */


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

.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;
}


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

/* Display list items inline */
.mw-parser-output .hlist dd,
.mw-parser-output .hlist dt,
.mw-parser-output .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 */
.mw-parser-output .hlist.inline,
.mw-parser-output .hlist.inline dl,
.mw-parser-output .hlist.inline ol,
.mw-parser-output .hlist.inline ul,
.mw-parser-output .hlist dl dl,
.mw-parser-output .hlist dl ol,
.mw-parser-output .hlist dl ul,
.mw-parser-output .hlist ol dl,
.mw-parser-output .hlist ol ol,
.mw-parser-output .hlist ol ul,
.mw-parser-output .hlist ul dl,
.mw-parser-output .hlist ul ol,
.mw-parser-output .hlist ul ul {
	display: inline;
}

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

/* Generate interpuncts */
.mw-parser-output .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
 */
.mw-parser-output .hlist dd:after,
.mw-parser-output .hlist li:after {
	content: " · ";
	font-weight: bold;
}

.mw-parser-output .hlist dd:last-child:after,
.mw-parser-output .hlist dt:last-child:after,
.mw-parser-output .hlist li:last-child:after {
	content: none;
}

/* Add parentheses around nested lists */
.mw-parser-output .hlist dd dd:first-child:before,
.mw-parser-output .hlist dd dt:first-child:before,
.mw-parser-output .hlist dd li:first-child:before,
.mw-parser-output .hlist dt dd:first-child:before,
.mw-parser-output .hlist dt dt:first-child:before,
.mw-parser-output .hlist dt li:first-child:before,
.mw-parser-output .hlist li dd:first-child:before,
.mw-parser-output .hlist li dt:first-child:before,
.mw-parser-output .hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}

.mw-parser-output .hlist dd dd:last-child:after,
.mw-parser-output .hlist dd dt:last-child:after,
.mw-parser-output .hlist dd li:last-child:after,
.mw-parser-output .hlist dt dd:last-child:after,
.mw-parser-output .hlist dt dt:last-child:after,
.mw-parser-output .hlist dt li:last-child:after,
.mw-parser-output .hlist li dd:last-child:after,
.mw-parser-output .hlist li dt:last-child:after,
.mw-parser-output .hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}

/* Put ordinals in front of ordered list items */
.mw-parser-output .hlist ol {
	counter-reset: listitem;
}

.mw-parser-output .hlist ol > li {
	counter-increment: listitem;
}

.mw-parser-output .hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}

.mw-parser-output .hlist dd ol > li:first-child:before,
.mw-parser-output .hlist dt ol > li:first-child:before,
.mw-parser-output .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;
}

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

/* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
table.mw-hiero-table td {
	vertical-align: middle;
}

/* Change the external link icon to an Adobe 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/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
	/* @noflip */
	padding-right: 18px;
}

/* Messagebox templates */
.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. */
.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: none;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em;
}

.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: none;
	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 */
.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;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
	list-style: none none;
}

ul.permissions-errors {
	margin: 0;
}


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

	/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
	   do not apply to print mode */
	#siteSub {
		display: block;
	}
}

/* Fix horizontal scrolling of long edit summaries T158725 */
span.comment {
	overflow-wrap: break-word;
	word-wrap: break-word; /* IE6+, Opera Mini, KaiOS */
}


/* NavFrame styling */
.NavFrame {
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	font-size: 95%;
}

.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
}

.NavContent {
	font-size: 100%
}


/**
 * 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-left,
.float-right {
    float: inherit;
}