MediaWiki:Common.css

Από Βικιβιβλία

Σημείωση: μετά την δημοσίευση, ίσως χρειαστεί να παρακάμψετε την προσωρινή μνήμη του προγράμματος περιήγησής σας για να δείτε τις αλλαγές.

  • Firefox / Safari: Κρατήστε πατημένο το Shift κάνοντας ταυτόχρονα κλικ στο κουμπί Ανανέωση ή πιέστε Ctrl-F5 ή Ctrl-R (⌘-R σε Mac)
  • Google Chrome: Πιέστε Ctrl-Shift-R (⌘-Shift-R σε Mac)
  • Internet Explorer / Edge: Κρατήστε πατημένο το Ctrl κάνοντας ταυτόχρονα κλικ στο κουμπί Ανανέωση, ή πιέστε Ctrl-F5
  • Opera: Πιέστε Ctrl-F5.
.PrettyTextBox { background-color:#F9F9F9; color:#000000; border:1px solid #AAAAAA; padding:0.2em; }
 
.archive-box {
  border: 1px solid #aaaaff;
  background-color: #f2f2f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
  text-align: center;
}
 
/* Style for horizontal UL lists */
.horizontal ul, .DPLFlat ul { padding:0em; margin:0em; }
.horizontal li, .DPLFlat li { display:inline; padding:0em 0.6em 0em 0.4em; border-right:1px solid #AAA; }
.horizontal li:last-child, .DPLFlat li:last-child { border-right:0em; padding-right:0em; }

/* Style for vertical UL lists */
.vertical ul { list-style:none; padding:0px; margin:0px; }
.vertical li { padding:0.6em 0em 0.4em 0em; border-bottom:1px solid #aaaaaa; }
.vertical li:last-child { border-bottom:0px; }

/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-expanded {
 padding-left: 20px !important;
 background-image: url('//upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
 background-repeat: no-repeat;
 background-position: center left;
}
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-collapsed {
 padding-left: 20px !important;
 background-image: url('//upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
 background-repeat: no-repeat;
 background-position: center left;
}

/* Fixes for portal pages */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.page-Main_Page #firstHeading,
body.page-Wikijunior #deleteconfirm,
body.page-Wikijunior #t-cite,
body.page-Wikijunior #footer-info-lastmod,
body.page-Wikijunior #firstHeading {
  display: none;
}
body.page-Main_Page h2,
body.page-Wikijunior h2 { font-size:16pt; margin:0; padding: 0; border-bottom:0; font-weight: bold; }
body #siteSub { display: none; }

/* Fix the background color on the sitenotice */
table#mw-dismissable-notice { background-color: transparent; }

/* For template documentation */
.template-documentation { clear:both; margin:1em 0em 0em 0em; border: 1px solid #aaddff;  background-color:#eef5ff; padding:1em; }

/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext { border:none; background:transparent; padding:0px; }

/* Selectively hide headers in WikiProject banners */
.wpb .wpb-header             { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; }     /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for other browsers */
.wpbs-inner .wpb-outside     { display: none; }      /* hide things that should only display outside shells */

.nowraplinks a, .nowraplinks .selflink { white-space: nowrap; }

/* Hack to remove comment box for FlaggedRevs, since we seem unable to remove it from configuration. */
#mw-fr-commentbox { display:none; }

/* User block messages */
div.user-block { padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; }

/* Keep menus in toolbox from growing too long */
.wikiEditor-ui-toolbar .group .menu .options { height:300px; overflow: auto; }

/* Show only when printing */
@media screen, projection, handheld {
  .printonly { display: none !important; }
}

/* Disable the automatic text-size adjust of WebKit on iPhones etc.
   It scales some text, and not the other. Use none, or fixed percentage instead.
   Use media selector, because defining a value, overwrites platform defaults. */
@media only screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}

/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
   [[Bugzilla:26204]]. */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
    font-family: monospace, "Courier New" !important;
}