Участник:Mumla/myskin.css

Материал из RussianItaly Wiki

< Участник:Mumla(Различия между версиями)
Перейти к: навигация, поиск
(Новая страница: «/* <pre><nowiki> */ /* edit this file to customize the monobook skin for the entire site */ - main interface colour theme: #content, #p-cactions li a, .ns-...»)
 
(1 промежуточная версия не показана)
Строка 1: Строка 1:
-
/* <pre><nowiki> */
+
/* make the background behind the content area and the tabs a light grey */
 +
#content, #content table
 +
#p-cactions ul li a { background: #f5f5f5; }
   
   
-
/* edit this file to customize the monobook skin for the entire site */
+
/* stop background image from scrolling with content area */
 +
body { background-attachment: fixed; }
   
   
-
/* main interface colour theme */
+
/* replace the book in the background with something else */
-
#content,
+
body { background: Purple; }
-
#p-cactions li a,
+
-
.ns-0 * #p-cactions li,
+
-
.ns-0 * #p-cactions li a {
+
-
    background:#FFF;
+
-
}
+
   
   
-
body {
+
/* changes the background of pre areas  */
-
  background: #f6f9f6;
+
pre { background: White }
-
  background-image: none;
+
-
}
+
   
   
 +
/* change the logo */
 +
#p-logo a { background: url(http://en.wikipedia.org/upload/wiki.png) 35% 50% no-repeat !important; }
   
   
-
/* Display "From Meta..." */
+
/* don't use any logo, move the boxes onto that area instead */
-
#siteSub {
+
#p-logo { display: none }
-
    display:inline;
+
#column-one { padding-top: 0; }
-
    font-size:1.2em;
+
-
    font-weight:normal;
+
-
}
+
   
   
 +
/* suppress the person icon by your username */
 +
li#pt-userpage { background: none }
   
   
-
/* Hide classes only relevant online when printing */
+
/* use browser prefs for text size and font */
-
@media print {
+
body, #globalWrapper { font: inherit !important; }
-
    .editlink, .noprint, .metadata, .dablink { display:none; }
+
 +
/* always underline links */
 +
:link { text-decoration: underline; }
 +
 +
/*Display body content in a narrower column for easier reading*/
 +
/*adjust percentages as desired*/
 +
div#bodyContent {
 +
  width: 50%;
 +
  line-height: 105%;
}
}
   
   
 +
/* change background of unselected tabs */
 +
#p-cactions ul li a { background: #C7FDC7; }
   
   
-
/* Style [[Meta:Language select]] widget */
+
/* change background of selected tabs */
-
.lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;}
+
#p-cactions ul li.selected a { background: white; }
-
    .lang_info a {font-weight:bold;font-family:Arial,
+
-
      sans-serif;font-size:8pt;}
+
-
    .lang_info input {font-size:8pt;}
+
-
    .lang_info input.ls_select {font-weight:bold;}
+
   
   
 +
/* change border background of selected tabs */
 +
#p-cactions li.selected { border-color: #aaaaaa; }
   
   
-
/* Disable grey background when code is used in a header */
+
/* tab bottom not removed on hover */
-
h2 code,
+
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
-
h3 code,
+
#p-cactions li.selected a:hover { z-index: 3; }
-
h4 code,
+
-
h5 code,
+
-
h6 code {
+
-
    background:none;
+
-
}
+
   
   
-
/* nudge too-light monospace fonts */
+
/* style the search box and the buttons below it */
-
h2 code {
+
input.searchButton {
-
     font-weight:bold;
+
     background-color: #efefef !important;
 +
    border: 1px outset !important;
}
}
-
/* </nowiki></pre> */
+
#searchInput { border: 1px inset !important; }
 +
 +
/* standard link colors */
 +
:link { color: #0000FF; }
 +
:link:visited { color: #7F007F; }
 +
:link:active, :link.new { color: #FF0000; }
 +
:link.interwiki, :link.external { color: #3366BB; }
 +
:link.stub { color: #772233; }
 +
 +
/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
 +
pre { overflow: auto; }
 +
 +
/* strikeout Upload File link as a reminder to upload to Commons instead */
 +
li#t-upload { text-decoration: line-through; }

Текущая версия на 15:13, 11 октября 2010

/* make the background behind the content area and the tabs a light grey */
#content, #content table
#p-cactions ul li a { background: #f5f5f5; }
 
/* stop background image from scrolling with content area */
body { background-attachment: fixed; }
 
/* replace the book in the background with something else */
body { background: Purple; }
 
/* changes the background of pre areas  */
pre { background: White }
 
/* change the logo */
#p-logo a { background: url(http://en.wikipedia.org/upload/wiki.png) 35% 50% no-repeat !important; }
 
/* don't use any logo, move the boxes onto that area instead */
#p-logo { display: none }
#column-one { padding-top: 0; }
 
/* suppress the person icon by your username */
li#pt-userpage { background: none }
 
/* use browser prefs for text size and font */
body, #globalWrapper { font: inherit !important; }
 
/* always underline links */
:link { text-decoration: underline; }
 
/*Display body content in a narrower column for easier reading*/
/*adjust percentages as desired*/
div#bodyContent {
  width: 50%;
  line-height: 105%;
}
 
/* change background of unselected tabs */
#p-cactions ul li a { background: #C7FDC7; }
 
/* change background of selected tabs */
#p-cactions ul li.selected a { background: white; }
 
/* change border background of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }
 
/* tab bottom not removed on hover */
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
#p-cactions li.selected a:hover { z-index: 3; }
 
/* style the search box and the buttons below it */
input.searchButton {
    background-color: #efefef !important;
    border: 1px outset !important;  
}
#searchInput { border: 1px inset !important; }
 
/* standard link colors */
:link { color: #0000FF; }
:link:visited { color: #7F007F; }
:link:active, :link.new { color: #FF0000; }
:link.interwiki, :link.external { color: #3366BB; }
:link.stub { color: #772233; }
 
/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
pre { overflow: auto; }
 
/* strikeout Upload File link as a reminder to upload to Commons instead */
li#t-upload { text-decoration: line-through; }
Личные инструменты
Пространства имён
Варианты
Действия
Навигация
Инструменты