29.04.2024

From COKS - Open Source Center - Slovenia

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
/** CSS placed here will be applied to all skins */
+
/*
-
/*********************** ADDITIONAL STYLES ****************/
+
<pre>
-
 
+
*/
-
/* Infobox template style */
+
-
 
+
-
.infobox {
+
-
border: 0px solid #aaaaaa;
+
-
background-color:#ffffff;
+
-
width:100px;
+
-
color: black;
+
-
margin-bottom: 0.5em;
+
-
 
+
-
padding: 0.2em;
+
-
float: right;
+
-
clear: right;
+
-
}
+
-
.infobox td,
+
-
.infobox th {
+
-
vertical-align: top;
+
-
background-color:#ffffff;
+
-
}
+
-
.infobox caption {
+
-
font-size: larger;
+
-
margin-left: inherit;
+
-
background-color:#f1f1f1;
+
-
}
+
-
.infobox.bordered {
+
-
border-collapse: collapse;
+
-
background-color:#ffffff;
+
-
}
+
-
.infobox.bordered td,
+
-
.infobox.bordered th {
+
-
border: 1px solid #aaaaaa;
+
-
background-color:#ffffff;
+
-
}
+
-
.infobox.bordered .borderless td,
+
-
.infobox.bordered .borderless th {
+
-
background-color:#f1f1f1;
+
-
border: 0;
+
-
}
+
-
 
+
-
/* styles for bordered infobox with merged rows */
+
-
.infobox.bordered .mergedtoprow td,
+
-
.infobox.bordered .mergedtoprow th {
+
-
border: 0;
+
-
border-top: 1px solid #aaaaaa;
+
-
border-right: 1px solid #aaaaaa;
+
-
background-color:#f1f1f1;
+
-
}
+
-
 
+
-
.infobox.bordered .mergedrow td,
+
-
.infobox.bordered .mergedrow th {
+
-
border: 0;
+
-
border-right: 1px solid #aaaaaa;
+
-
background-color:#f1f1f1;
+
-
}
+
-
 
+
-
/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
+
-
.infobox.software {
+
/*****
-
text-align: left;
+
** Minor tweaks
-
border-collapse: collapse;
+
*****/
-
line-height: 1.2em;
+
/* redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
-
font-size: 90%;
+
.redirect-in-category, .allpagesredirect {
-
background-color:#f1f1f1;
+
font-style: italic;
-
}
+
color:gray;
 +
}
-
.infobox.software td,
 
-
.infobox.software th {
 
-
border-top: solid 1px #aaa;
 
-
padding: 0.2em 0.6em 0.2em 0.6em;
 
-
background-color:#f1f1f1;
 
-
}
 
-
.infobox.software .mergedtoprow td,
 
-
.infobox.software .mergedtoprow th {
 
-
border-top: solid 1px #aaa;
 
-
padding: 0.4em 0.2em 0.2em 0.2em;
 
-
background-color:#f1f1f1;
 
-
}
 
-
.infobox.software .mergedrow td,
 
-
.infobox.software .mergedrow th {
 
-
border: 0;
 
-
padding: 0 0.2em 0.2em 0.2em;
 
-
background-color:#f1f1f1;
 
-
}
 
-
.infobox.software .mergedbottomrow td,
+
/* hide unneeded content when printing */
-
.infobox.software .mergedbottomrow th {
+
@media print {
-
border-top: 0;
+
#privacy, #about, #disclaimer {display:none;}
-
border-bottom: solid 1px #aaa;
+
}
-
padding: 0 0.2em 0.4em 0.2em;
+
-
background-color:#f1f1f1;
+
-
}
+
-
.infobox.software .maptable td,
 
-
.infobox.software .maptable th {
 
-
border: 0;
 
-
background-color:#f1f1f1;
 
-
padding: 0;
 
-
}
 
- 
-
/*** Place in MediaWiki:Common.css ***/
 
-
.calendar {
+
/* hide arrows on selected external links */
-
border: 1px solid #bbbbbb;
+
.plainlinksneverexpand a {
-
font-size: 9px;
+
background:none !important;
-
line-height: normal;
+
padding:0 !important;
-
background-color: #dddddd;
+
}
-
}
+
-
.calendar a {
 
-
color: #000000;
 
-
}
 
-
.calendar td {
+
/*****
-
text-align: center;
+
** Hide selected content
-
padding: 4px;
+
*****/
-
margin: 0;
+
.hiddenStructure {display: none}
-
}
+
-
.calendarTop td {
+
.if {display: none}
-
background-color: #bbbbbb;
+
-
font-weight: bold;
+
-
}
+
-
.calendarTop a {
 
-
color: #000000;
 
-
}
 
 +
/*****
 +
** Table formatting
 +
*****/
 +
table.wikitable,
 +
table.prettytable {
 +
margin:1em 1em 1em 0;
 +
background:#F9F9F9;
 +
border:1px #AAA solid;
 +
border-collapse:collapse;
 +
}
-
.calendarDayNames {
+
table.wikitable th, table.wikitable td,
-
background-color: #dddddd;
+
table.prettytable th, table.prettytable td {
-
}
+
border:1px #AAA solid;
 +
padding:0.2em;
 +
}
-
.calendarupcoming {
+
table.wikitable th,
-
border: 1px solid #bbbbbb;
+
table.prettytable th {
-
font-size: 10px;
+
background:#F2F2F2;
-
line-height: normal;
+
text-align:center;
-
margin-top: 6px;
+
}
-
}
+
-
.calendarupcomingTop {
+
table.wikitable caption,
-
padding-top: 2px;
+
table.prettytable caption {
-
padding-bottom: 2px;
+
margin-left:inherit;
-
padding-left: 3px;
+
margin-right:inherit;
-
padding-right: 3px;
+
}
-
background-color: #bbbbbb;
+
-
font-weight: bold;
+
-
}
+
-
.calendarupcomingBottom {
 
-
padding-top: 2px;
 
-
padding-bottom: 2px;
 
-
padding-left: 3px;
 
-
padding-right: 3px;
 
-
background-color: #bbbbbb;
 
-
font-weight: bold;
 
-
}
 
-
.calendarupcomingBottom a {
+
/*****
-
color: #000000;
+
** box formatting
-
}
+
*****/
 +
.infobox {
 +
float:right;
 +
clear:right;
 +
margin-bottom:0.5em;
 +
margin-left:1em;
 +
padding:0.2em;
 +
border:1px solid #AAA;
 +
background:#F9F9F9;
 +
color:black;
-
.calendarupcomingRow1 {
+
}
-
padding: 3px;
+
-
}
+
-
.calendarupcomingRow2 {
+
.infobox td,
-
padding: 3px;
+
.infobox th {
-
border-top: 1px dotted #bbbbbb;
+
vertical-align:top;
-
}
+
}
-
.calendarupcomingRow1 a {
+
.infobox caption {
-
color: #000000;
+
font-size:larger;
-
}
+
margin-left:inherit;
 +
}
-
.calendarupcomingRow1 a:visited {
+
.infobox.bordered {
-
color: #000000;
+
border-collapse:collapse;
-
}
+
}
 +
 +
.infobox.bordered td,
 +
.infobox.bordered th {
 +
border:1px solid #AAA;
 +
}
-
.calendarupcomingRow2 a {
+
.infobox.bordered .borderless td,
-
color: #000000;
+
.infobox.bordered .borderless th {
 +
border:0;
 +
}
 +
 +
.infobox.sisterproject {
 +
width:20em;
 +
font-size:90%;
 +
}
 +
 +
.sister-project {
 +
clear:right;
 +
float:right;
 +
width:250px;
 +
margin:0 0 1em 3em;
 +
padding:4px;
 +
border:1px solid #AAA;
 +
background:#F9F9F9;
 +
font-size:0.8em;
 +
spacing:0px;
 +
text-align:left;
 +
}
 +
/* [[template:other languages]] */
 +
#otherlangs {
 +
margin:0.5em;
 +
padding:2px;
 +
border:1px solid #CCC;
 +
background:#FAFAFA;
 +
font-size:0.9em;
 +
}
 +
#otherlangs span {
 +
margin:0 2px;
 +
padding-left:2px;
 +
border-left:1px solid gray;
 +
}
 +
#otherlangs span.firstlang {
 +
border:none;
 +
}
 +
 +
/*****
 +
** Specific pages (keep to a minimum)
 +
*****/
 +
/* Spam blacklist */
 +
body.page-Talk_Spam_blacklist #ca-addsection {display:none;}
 +
 +
 +
/* Spam blacklist/log */
 +
.logtable pre {
 +
margin:0;
 +
padding:0;
 +
border:0;
 +
}
 +
 +
/*****
 +
** Bytecounter colours
 +
*****/
 +
strong.mw-plusminus-neg
 +
{
 +
color: #c00;
 +
}
 +
 +
span.mw-plusminus-neg
 +
{
 +
color: #900;
 +
}
 +
 +
span.mw-plusminus-pos
 +
{
 +
color: #060;
 +
}
 +
 +
/* Change the external link icon to an Adobe icon for all PDF files */
 +
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
 +
#bodyContent a[href$=".pdf"].external,
 +
#bodyContent a[href*=".pdf?"].external,
 +
#bodyContent a[href*=".pdf#"].external,
 +
#bodyContent a[href$=".PDF"].external,
 +
#bodyContent a[href*=".PDF?"].external,
 +
#bodyContent a[href*=".PDF#"].external {
 +
background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;
 +
padding-right: 16px;
}
}
-
.calendarupcomingRow2 a:visited {
+
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
-
color: #000000;
+
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
 +
span.PDFlink a {
 +
background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
 +
padding-right: 17px !important;
}
}
-
.cal-weekend {
+
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
 +
div.Boxmerge,
 +
div.NavFrame {
 +
margin: 0px;
 +
padding: 4px;
 +
border: 1px solid #aaa;
 +
text-align: center;
 +
border-collapse: collapse;
 +
font-size: 95%;
 +
}
 +
div.Boxmerge div.NavFrame {
 +
border-style: none;
 +
border-style: hidden;
 +
}
 +
div.NavFrame + div.NavFrame {
 +
border-top-style: none;
 +
border-top-style: hidden;
 +
}
 +
div.NavPic {
 +
background-color: #fff;
 +
margin: 0px;
 +
padding: 2px;
 +
float: left;
 +
}
 +
div.NavFrame div.NavHead {
 +
height: 1.6em;
 +
font-weight: bold;
 +
background-color: #ccccff;
 +
position:relative;
 +
}
 +
div.NavFrame p {
 +
font-size: 100%;
 +
}
 +
div.NavFrame div.NavContent {
 +
font-size: 100%;
 +
}
 +
div.NavFrame div.NavContent p {
 +
font-size: 100%;
 +
}
 +
div.NavEnd {
 +
margin: 0px;
 +
padding: 0px;
 +
line-height: 1px;
 +
clear: both;
 +
}
 +
a.NavToggle {
 +
position:absolute;
 +
top:0px;
 +
right:3px;
 +
font-weight:normal;
 +
font-size:smaller;
}
}
-
td.cal-today {
+
/*
-
font-weight: bold;
+
* Messagebox templates
-
background-color: #BBBBBB;
+
* Imported from [[en:MediaWiki:Common.css]] on 2007-07-13
 +
*/
 +
.messagebox {
 +
border: 1px solid #aaa;
 +
background-color: #f9f9f9;
 +
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;
}
}
-
+
.messagebox.nested-talk {
-
td.cal-eventday {
+
border: 1px solid #c0c090;
-
text-decoration: underline;
+
background-color: #f8eaba;
 +
width: 100%;
 +
margin: 2px 4px 2px 4px;
}
}
 +
.messagebox.small {
 +
width: 238px;
 +
font-size: 85%;
 +
float: right;
 +
clear: both;
 +
margin: 0 0 1em 1em;
 +
line-height: 1.25em;
 +
}
 +
/* For template documentation */
 +
.template-documentation {
 +
clear: both;
 +
margin: 1em 0 0 0;
 +
border: 1px solid #aaa;
 +
background-color: #ecfcf4;
 +
padding: 5px;
 +
}
 +
 +
.hidden-redlink a.new { display: none; }
 +
 +
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
 +
instance, will limit to showing ==headings== and ===headings=== but no further (as long as
 +
there are no =headings= on the page, which there shouldn't be according to the MOS).
 +
Thanks to w:en:User:Ais523 for that code.*/
 +
.toclimit-2 .toclevel-2 {display:none;}
 +
.toclimit-3 .toclevel-3 {display:none;}
 +
.toclimit-4 .toclevel-4 {display:none;}
 +
.toclimit-5 .toclevel-5 {display:none;}
 +
.toclimit-6 .toclevel-6 {display:none;}
 +
.toclimit-7 .toclevel-7 {display:none;}
 +
 +
/*
 +
</pre>
 +
*/

Revision as of 16:47, 10 January 2008

/*

*/
 
/*****
** Minor tweaks
*****/
/* redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
   .redirect-in-category, .allpagesredirect {
    font-style: italic;
    color:gray;
    }
 
 
 
   /* hide unneeded content when printing */
   @media print {
      #privacy, #about, #disclaimer {display:none;}
      }
 
 
   /* hide arrows on selected external links */
   .plainlinksneverexpand a {
      background:none !important;
      padding:0 !important;
      }
 
 
/*****
** Hide selected content
*****/
   .hiddenStructure {display: none}
 
   .if {display: none}
 
 
/*****
** Table formatting
*****/
   table.wikitable,
   table.prettytable {
      margin:1em 1em 1em 0;
      background:#F9F9F9;
      border:1px #AAA solid;
      border-collapse:collapse;
      }
 
   table.wikitable th, table.wikitable td,
   table.prettytable th, table.prettytable td {
      border:1px #AAA solid;
      padding:0.2em;
      }
 
   table.wikitable th,
   table.prettytable th {
      background:#F2F2F2;
      text-align:center;
      }
 
   table.wikitable caption,
   table.prettytable caption {
      margin-left:inherit;
      margin-right:inherit;
      }
 
 
/*****
** box formatting
*****/
   .infobox {
      float:right;
      clear:right;
      margin-bottom:0.5em;
      margin-left:1em;
      padding:0.2em;
      border:1px solid #AAA;
      background:#F9F9F9;
      color:black;
 
      }
 
   .infobox td,
   .infobox th {
      vertical-align:top;
      }
 
   .infobox caption {
      font-size:larger;
      margin-left:inherit;
      }
 
   .infobox.bordered {
      border-collapse:collapse;
      }
 
   .infobox.bordered td,
   .infobox.bordered th {
      border:1px solid #AAA;
      }
 
   .infobox.bordered .borderless td,
   .infobox.bordered .borderless th {
      border:0;
      }
 
   .infobox.sisterproject {
      width:20em;
      font-size:90%;
      }
 
   .sister-project {
      clear:right;
      float:right;
      width:250px;
      margin:0 0 1em 3em;
      padding:4px;
      border:1px solid #AAA;
      background:#F9F9F9;
      font-size:0.8em;
      spacing:0px;
      text-align:left;
    }
   /* [[template:other languages]] */
   #otherlangs {
      margin:0.5em;
      padding:2px;
      border:1px solid #CCC;
      background:#FAFAFA;
      font-size:0.9em;
    }
   #otherlangs span {
      margin:0 2px;
      padding-left:2px;
      border-left:1px solid gray;
    }
   #otherlangs span.firstlang {
      border:none;
    }
 
/*****
** Specific pages (keep to a minimum)
*****/
   /* Spam blacklist */
   body.page-Talk_Spam_blacklist #ca-addsection {display:none;}
 
 
   /* Spam blacklist/log */
   .logtable pre {
      margin:0;
      padding:0;
      border:0;
      }
 
/*****
** Bytecounter colours
*****/ 
 strong.mw-plusminus-neg
   {
   color: #c00;
   }
 
 span.mw-plusminus-neg
   {
   color: #900;
   }
 
 span.mw-plusminus-pos
   {
   color: #060;
   }
 
/* Change the external link icon to an Adobe icon for all PDF files */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#bodyContent a[href$=".pdf"].external, 
#bodyContent a[href*=".pdf?"].external, 
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external, 
#bodyContent a[href*=".PDF?"].external, 
#bodyContent a[href*=".PDF#"].external {
    background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;
    padding-right: 16px;
}
 
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
    background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
    padding-right: 17px !important;
}
 
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 4px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #fff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        background-color: #ccccff;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}
 
/*
 * Messagebox templates
 * Imported from [[en:MediaWiki:Common.css]] on 2007-07-13
 */
.messagebox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   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;
}
.messagebox.nested-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
   width: 100%;
   margin: 2px 4px 2px 4px;
}
.messagebox.small {
   width: 238px;
   font-size: 85%;
   float: right;
   clear: both;
   margin: 0 0 1em 1em;
   line-height: 1.25em; 
}
/* For template documentation */
.template-documentation {
  clear: both;
  margin: 1em 0 0 0;
  border: 1px solid #aaa; 
  background-color: #ecfcf4; 
  padding: 5px;
}
 
.hidden-redlink a.new { display: none; }
 
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
   instance, will limit to showing ==headings== and ===headings=== but no further (as long as
   there are no =headings= on the page, which there shouldn't be according to the MOS).
   Thanks to w:en:User:Ais523 for that code.*/
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
 
/*
  • /