MediaWiki:Common.css

From RilSource
Revision as of 18:56, 15 December 2007 by imported>Rilnet
Jump to navigationJump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
<!-- {{rpsv}} -->
/** CSS som skrivs här nedan påverkar alla skal **/

/* <pre> */

/* Line up checkboxes for namespaces on search page // SHL */

form#powersearch label {
display: block;
width: 200px;
float: left;
clear: none;
}

/* This make linebreaks break even if form#powersearch label elementss don't "clear" (i.e. they have clear=none) */
form#powersearch br {  
clear: both;
}

/* <Special style for the Template rpsv_fromrilpedia> // SHL 2006-12-26 */

.rpsv_fromrilpedia, .helpbanner {
 background: url(http://sv.rilpedia.org/w/ril-misc/rilpedia/images/Fromrilpedia_bg_lighter.jpg);
}

/* </Special style for the Template rpsv_fromrilpedia> */

.whitelinks a {d
  color: #fff;
}
.whitelinks a:link {
  color: #fff;
}
.whitelinks a:active {
  color: #fff;
}
.whitelinks a:hover {
  color: #fff;
  text-decoration: underline;
}
.whitelinks a:visited {
  color: #fff;
}

.slimnavigator {
  background: url('/w/ril-misc/rilpedia/images/rpsv.rilbible.navigator.navigatorbar.jpg') 0 0 repeat-x;
}
table.slimnavigator td {
  padding: 0 0.5em;
}
table.slimnavigator {
  -moz-border-radius: 1em 1em 0 0;
}
/* make all corner rounded on biblenavigator when it occurs as "stand-alone" */
#BibleverseContent + table.slimnavigator {
  -moz-border-radius: 1em 1em 1em 1em;
}
#BiblechapterContent + table.slimnavigator {
  -moz-border-radius: 0 0 1em 1em;
  -moz-background-clip: padding;
  overflow: hidden;
}

/* Styles for Rilpedia Guides */
.GuideBG {
  background: url('/w/ril-misc/rilpedia/images/guide-bg.jpg') 0 0 repeat-x;
}
.GuideLinks a, .GuideLinks a:link, .GuideLinks a:visited {
  color: #000;
  font-weight: normal;
}
.GuideLinks a:hover {
  color: #3333cc;
  font-weight: normal;
}
.GuideImage {
  background: url('/w/ril-misc/rilpedia/images/guide-image.jpg') top right no-repeat;
}
.GuideSequence {
  font-size: 0.9em;
}
.GuideSequence ul li {
  display: inline;
}  
.GuideSequence ul li a, .GuideSequence ul li .selflink {
  padding: 0em 0.4em;
  border: 1px solid #989A92;
  color: #989A92;
}  
.GuideSequence ul li a:hover, .GuideSequence ul li .selflink {
  background: #BEBFBA;
  text-decoration: none;
  color: #333;
}  
/* </pre> */




/*<pre><nowiki>*/

/* From Wikipedia Common.css */

table.wikitable {
 margin: 0.5em;
 background: #f9f9f9;
 border: 1px #aaaaaa solid;
 border-collapse: collapse;
}

table.wikitable th, table.wikitable td {
 border: 1px #aaaaaa solid;
 padding: 0.2em;
}

table.wikitable th {
 background: #f2f2f2;
 text-align: center;
}

table.wikitable caption {
 margin-left: inherit;
 margin-right: inherit;
}

.hiddenStructure {
 display: none;
 speak: none;
}

/* Infobox-mallar */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
   padding-left: 3px;
   padding-right: 3px;
}
.infobox caption {
   font-size: larger;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* Öka läsbarheten när referenser används */
.reference a { line-height: 100%; font-size: 90%; }

/* Kursiva redirecter i allpages */
.allpagesredirect { font-style: italic; }

/* Stilmallar för Wikipedia:CommonsTicker börjar här */

  /************************/
  /* CommonsTicker styles */
  /************************/
 
  /* links */
  .tickerDiffLink { } /* diff links in ticker */
  .tickerMiscLink { } /* misc links in ticker */
 
  /* remove list bullets */
  .tickerList ul,    .tickerList ul li    { list-style: none; text-indent:-2em; margin-left:2em;   text-align:left; }
  .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-left:1.5em; text-align:left; }

  /* per-type styles */
  .tickerEntry_deleted     { }  /* post för raderad bild */
  .tickerEntry_replaced    { }  /* post för ersatt bild */
  .tickerEntry_tagged      { }  /* post för tillägg/borttag av licensstatusmall */
  .tickerEntry_redir       { }  /* entry for critical redirection (fot tag redirects) */
  .tickerEntry_recat       { }  /* entry for critical re-categorization (for tag categories) */
  .tickerEntry_notify      { }  /* entry for global notifications */
  .tickerEntry_changed     { }  /* entry for generic change */

  /* per-action styles */
  .tickerAction_deleted:before     { content:" Rad  "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_deletedRev:before  { content:" RadV "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_replaced:before    { content:" Ers  "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_replacedOwn:before { content:" ErsE "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_addedBad:before    { content:" +RadM "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_removedBad:before  { content:" -RadM "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_addedGood:before   { content:" +LicM "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_removedGood:before { content:" -LicM "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }

  /* ticker usage list */
  .tickerUsage  { font-size:80%; }  

  /* entry applies to a template used by multiple images */
  .tickerTemplateEntry    { font-weight: bold; } 

  /* entry applies to sub-entries, i.e. images that use a specific template */
  .tickerSubEntry         { }                       

  /* minor entry styles */ 
  .tickerMinorEntry  { color:#666; }     /* minor entry */
  .tickerMinorEntry a,
  .tickerMinorEntry a:link,
  .tickerMinorEntry a:visited { color:#669; }
  #bodyContent .tickerMinorEntry a.extiw,
  #bodyContent .tickerMinorEntry a.extiw:link,
  #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }


/* Stilmallar för Wikipedia:CommonsTicker slutar här */

/* stilmallar för avgränsade infoboxar med sammansatta rader */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
   border: 0;
   border-top: 1px solid #aaaaaa;
   border-right: 1px solid #aaaaaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #aaaaaa;
}


/* Mallar för meddelanderutor */

.messagebox {
   border: 1px solid #aaaaaa;
   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;
}


/* stilar för geografiska infoboxar, t.ex. länder, nationella indelningar, städer osv. */

.infobox.geography {
   border: 1px solid #ccd2d9;
   text-align: left;
   border-collapse: collapse;
   line-height: 1.2em; 
   font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
   border-top: solid 1px #ccd2d9;
   padding: 0.4em 0.2em 0.4em 0.8em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
   border-top: solid 1px #ccd2d9;
   padding: 0.4em 0.2em 0.2em 0.8em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
      border: 0;
      padding: 0 0.2em 0.2em 0.8em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
   border-top: 0;
   border-bottom: solid 1px #ccd2d9;
   padding: 0 0.2em 0.4em 0.8em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
      border: 0;
      padding: 0 0 0 0;
}

/* Standard navigationslista, d.v.s. boxgömmargrejen från .de */

div.Boxmerge,
div.NavFrame {
       margin: 0px;
       padding: 2px;
       border: 1px solid #aaaaaa;
       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: #ffffff;
       margin: 0px;
       padding: 2px;
       float: left;
}
div.NavFrame div.NavHead {
       height: 1.6em;
       font-weight: bold;
       font-size: 100%;
       background-color: #efefef;
       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;
}


/* Vid kall görs så att listan med referenser ser mindre ut (från enwiki)*/
ol.references {
   font-size: 100%;
}

.references-small { font-size: 90%;}

/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
}

#wikipediatext {
  padding-top: 0;
}
#wikipediatext img {
  vertical-align: top;
  margin-top: 4px;
}

/* CSS Class for displaying only in printer friendly versions */
@media screen {
.printonly {
display: none ! important;
}
}

/* Styles for Ril navigator */

#rilheader {
background-image: url(/w/ril-misc/rilpedia/images/rilnavigator-banner-bg-grey.jpg);
background-position: top right;
background-repeat: repeat-x;
font-size: 1.1em;
border-bottom: 1px solid #9C9D98;
}
div#rilnavigator {
padding-right: 1em;
}
#rilnavigator ul {
display: block;
float: right;
vertical-align: top;
margin: 0;
}
#rilnavigator ul li {
display: inline;
}

#rilnavigator ul li a, #rilnavigator ul li a:link, #rilnavigator ul li a:visited {
  font-weight: normal;
  background: #efefef;
  color: #333;
  padding: 0.2em 0.4em 0.2em 0.6em;
  border-width: 1px 1px 1px 1px;
  border-style: solid;
  border-color: #9C9D98;
}
#rilnavigator ul li a:hover {
  background: #efefef;
}



/* Tabmenu styles ***

== Usage ==

<div class="tabmenu">
*[[Page 1]]
*[[Page 2]]
*[[Page 3]]
</div>

*/

.tabmenu ul {
  display: block;
  font-size: 0.94em;
  border-collapse: separate;
  padding: 0 0 0 1em;
  margin: 0.7em 0 0.5em 0;
  white-space: nowrap;
  list-style: none;
  height: auto;
  line-height: normal;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #bbb;
  overflow: visible;
}
.tabmenu ul li {
  display: inline;
}
.tabmenu ul a {
  background-color: #ddd;
  border-color: #bbb;
  border-width: 1px;
  border-style: solid solid none solid;
  height: auto;
  margin-right: 0.5em;
  padding: 0 1em;
  text-decoration: none;
  z-index: 5;
}
.tabmenu ul .selflink {
  background-color: #fff;
  border: 1px solid #bbb;
  border-bottom: 1px solid #fff;
  height: auto;
  margin-right: 0.5em;
  padding: 1px 1em 0 1em;
  text-decoration: none;
  z-index: 5;
}

.rpsv-block {
  display: block;
  padding: 0 0.5em;
  font-size: 0.86em;
  background-color: #efefef; 
  border: 1px solid #ccc;
  background-image: url('/w/ril-misc/rilpedia/images/rpsv.blockbg.jpg');
  background-position: 0 0;
  background-repeat: repeat-x;
  -moz-border-radius-bottomright: 12px;
}
.rpsv-block img {
  margin-top: 0.3em;
}

.inputbox-without-bg form.searchbox, 
.inputbox-without-bg table, 
.inputbox-without-bg td,
.inputbox-without-bg p
 {
  background: none;
  background-color: transparent;
}



.sticky {
  border: 1px solid #D2CD8C;
  background: #ECE9C3;
  margin: 1em 0.2em 1em 0.2em;
  padding: 0 1em 0.2em 1em;
}

.helpbanner {
 background: #ffffff;
 background-image: url(http://sv.rilpedia.org/w/ril-misc/rilpedia/images/Fromrilpedia_bg_lighter.jpg);
 background-position: top left; 
 background-repeat: repeat-x;
}

.helpbanner {
  text-align: center;
  padding: 0.2em 0.4em;
  margin: 0.4em 0 0.7em 0;
  border-width: 1px 0 0 0;
  border-color: #999;
  border-style: solid;
  height: 24px;
}

/* Remove first heading on frontpage */
body.page-Main_Page h1.firstHeading { display: none; }

/* Frontpage / Right pane */
#Main_Page_RightPane { background: #f9f9f9; border: 1px solid #ccc; padding: 3px; margin: 3px 0 5px 0;
}
/* Frontpage / "More Info"-box */
#Main_Page_MoreInfo { background: #f9f9f9; border: 1px solid #ccc; padding: 7px; margin: 3px 3px 5px 3px;
}


/*</nowiki></pre>
=== Misc ===
<pre> */
.rightpane-content {
font-size: 11px; 
padding: 5px 7px 5px 7px;
text-align: left;
}

/*</nowiki></pre>
=== Bullet Icons ===
<pre> */
div.talk ul {
  padding-left: 0;
  margin-left: 0.5em;
  list-style-position: inside;
  list-style-image: url(/w/ril-misc/rilpedia/images/speech_bubble_16x16.gif);
}
div.pdf ul {
  padding-left: 0;
  margin-left: 0.5em;
  list-style-position: inside;
  list-style-image: url(/w/ril-misc/rilpedia/images/icon_pdf.gif);
}

#bg-resolution-1580 {
  background: #EFEFEF !important;
  border-color: #C0C0C0 !important;
  -moz-border-radius: 0 !important;
  border-width: 1px 0 1px 0 !important;
}
/*

/* </pre> */