Melding:Monobook.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)
/*
ATTENTION ADMINISTRATORS:

This is the CSS for the Monobook skin only. Any major changes to this page
or [[MediaWiki:Common.css|Common.css]] should be first proposed on
the [[Wikipedia:Village pump (technical)|Village pump]].  

Furthermore, changes should probably be made in [[MediaWiki:Common.css]]
rather than this page.

Testing can be done on your own user Monobook.css. In [[Mozilla]] and
[[Opera (web browser)|Opera]], you can also test style changes dynamically
with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles]
bookmarklet from squarefree.com. It pops up a window for adding style rules,
and updates the page as you type.)

Thank you.
*/

/* <nowiki> */

/* Don't display some stuff on the main page */
body.page-Forsíða #deleteconfirm,
body.page-Forsíða #t-cite,
body.page-Forsíða #lastmod, 
body.page-Forsíða #siteSub {
    display: none !important;
}

/* Donations link to be uncommented during fund-raising drives  */
#siteNotice {
    margin-top:5px;
    padding-left: 4px;
    font-style: italic;
    text-align: center;
    background: transparent;
}

/*
#fundraising {
    text-align: center;
    border: 1px solid gray;
    padding: 5px;
}
*/

/* BEGIN LIGHT BLUE SECTION */
/* Make all non-namespace pages have a light blue content area. This is done by
   setting the background color for all #content (mw-parser-output) areas to light blue and then
   overriding it for any #content enclosed in a .ns-0 (main namespace). I then
   do the same for the "tab" background colors. --Lupo */

.mw-parser-output {
    background: #F8FCFF; /* a light blue */
}

.mw-parser-output figure[typeof~='mw:File/Thumb'] {
    border-color: #F8FCFF;
}

.ns-0 * .mw-parser-output {
    background: white;
}

#p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a {
    background-color: #F8FCFF;
}

.ns-0 * #p-cactions li a {
    background-color: #fbfbfb;
}

.ns-0 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover {
    background-color: white;
}

.ns-0 * .mw-parser-output figure[typeof~='mw:File/Thumb'] {
    border-color: white;
}

/* END LIGHT BLUE SECTION */

/* block quotations */
.mw-parser-output blockquote {
    font-size: 93.75%; /* equivalent of 15px in 16px default */
    margin: 1em 1.6em; /* same indent as an unordered list */
}
.mw-parser-output blockquote p {
    line-height:inherit;
}

/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
    display: inline;
    font-size: 92%;
    font-weight: normal;
}

/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }

@media print {
    /* Do not print edit link in templates using Template:Ed
       Do not print certain classes that shouldn't appear on paper */
    .editlink, .noprint, .metadata, .dablink { display: none }
    .mw-parser-output { background: #fff; } /* white background on print */
}

#pt-login {
    font-weight: bold;
    font-size: 110%;
}

p.error {
    font-weight: bold;
}

/* Class styles */

/* .toccolours added here because version in 
   monobook/main.css wasn't being used by the print style */
.toccolours { 
    border:1px solid #aaa;
    background-color:#f9f9f9;
    padding:5px;
    font-size: 95%;
}

/* Don't underline links in portlets/specialchars even with pref "Underline links:Always" */
.portlet a, #editpage-specialchars a  { text-decoration: none }
.portlet a:hover, #editpage-specialchars a:hover { text-decoration: underline }

/* Makes the background of a framed image white instead of gray. */
/* Only visible with transparent images. */
/* See #Framed_image_background_color */
figure[typeof~='mw:File/Thumb'] a img {
    background-color:#fff;
}

.portlet li {
    list-style-image: url("//upload.wikimedia.org/wikipedia/commons/1/18/Monobook-bullet.png");
}

/* This is going to change in T268250 */
.gallerybox .thumb img {
    background: #F9F9F9;
}

/* Remove white border from thumbnails */
figure[typeof~='mw:File/Thumb'] {
    border: none;
}

.mw-halign-right {
    border: none;
    margin: 0.5em 0 0.8em 1.4em;
}

.mw-halign-left {
    border: none;
    margin: 0.5em 1.4em 0.8em 0;
}

/* Give transparent background to table on confirm deletion page */
form#deleteconfirm table {
    background-color:transparent;
}

/* allow disabling of "external" color on internal links in some situations */
#bodyContent .plainlinks2 a.external[href^="http://en.wikipedia.org"] {
	color: #002bb8 !important
}

/* </nowiki> */