MediaWiki:Common.css — различия между версиями

Материал из doc.abonent.plus
Перейти к: навигация, поиск
Строка 8: Строка 8:
 
  padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
 
  padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
 
[[#top| Back to the Top ]]</span></div>
 
[[#top| Back to the Top ]]</span></div>
 
/*
 
** Place all print-specific rules in an @media print block.
 
*/
 
 
/* save ink and paper with very small fonts */
 
@media print {
 
    #footer,
 
    #content,
 
    body { font-size: 8pt !important; }
 
    h1 { font-size: 27pt }
 
    h2 { font-size: 24pt }
 
    h3 { font-size: 21pt }
 
    h4 { font-size: 29pt }
 
    h5 { font-size: 28pt }
 
    h6 {
 
        font-size: 18pt;
 
        font-weight: normal;
 
    }
 
}
 
 
/* Advanced things: using :before and :after it's possible to add formatting
 
this here adds the full href of a link after it (not needed in the current version): */
 
@media print {
 
  #content a:link:after,
 
  #content a:visited:after {
 
    content: " ( " attr(href) " ) ";
 
  }
 
}
 

Версия 13:38, 18 июля 2016

<sup>Надстрочный текст</sup>/* Размещённый здесь CSS будет применяться ко всем темам оформления */
#ca-talk  { display: none !important; }
#ca-viewsource { display:none; !important; }

<div id="BackToTop"  class="noprint" style="background-color:#DDEFDD; position:fixed;
 bottom:32px; left:2%; z-index:9999; padding:0; margin:0;"><span style="color:blue;
 font-size:8pt; font-face:verdana,sans-serif;  border:0.2em outset #ceebf7;
 padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
[[#top| Back to the Top ]]</span></div>