MediaWiki:Common.css

来自WikiFur
跳转至: 导航搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
  • Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
  • Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
  • Opera:在“工具→首选项”中清除缓存
/* 此处的 CSS 将应用于所有的皮肤 */
 
 div.patrollink {
   font-size: 75%;
   text-align: right;
   position: absolute;
   top: 1.5em;
   right: 3em;
 }
 
 .allpagesredirect { font-style: italic; }
 .allpagesredirect:before {content: "↳"}
 
 /* hiddenStructure es una técnica SUCIA, preferible usar PHP
 .hiddenStructure { display: none; speak: none; }
 */
 
 /* Remove padding from external links displayed without icon */
 #bodyContent .plainlinks a {padding: 0 !important}
 
 /* Follow external links */
 a.external {rel: follow !important}
 
 /* Class for links with loudspeaker icon next to them */
 
 .audiolink a{
  /* esta imagen todavía no la tenemos
     background: url("http://pool.wikifur.com/w/images/8/8a/Loudspeaker.svg") center left no-repeat !important; */
     padding-left: 16px !important;
     padding-right: 0 !important;
 }
 
 /* Icons for medialist templates [[模板:Listen]], [[模板:Multi-listen_start]], [[模板:Video]], [[模板:Multi-video_start]] */
 
 div.listenlist {
 /*  esta imagen todavía no la tenemos
     background: url("http://pool.wikifur.com/w/images/a/a6/Gnome-speakernotes.png"); */
     padding-left: 40px;
 }
 
 /* Style rules for media list templates */
 
 div.medialist {
     min-height: 50px;
     margin: 1em;
     background-position: top left;
     background-repeat: no-repeat;
 }
 
 div.medialist ul {
     list-style-type: none; 
     list-style-image: none;
     margin: 0;
 }
 
 div.medialist ul li {
     padding-bottom: 0.5em;
 }
 
 div.medialist ul li li {
     font-size: 91%;
     padding-bottom: 0;
 }
 
 /* wikitable/prettytable class for skinning normal tables */
 
 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;
   font-weight: bold;
 }
 
 /* **** Begin import from Wikipedia's Common.css **** */
 
 /* let's make a class that deals with tables better Any complaints, please message Ta bu shi da yu */
 
 table.prettytable { 
   border-collapse: collapse; 
   background: #f9f9f9; 
   margin-left: 10px; 
   margin-right: 10px; 
   margin-top: 5px; 
   margin-bottom: 5px; 
   padding: 5px;
   vertical-align: top;
 } 
 
 table.prettytable td,
 table.prettytable th 
 { 
   border: 1px solid #ccc; 
   text-align: left;
 }
 
 table.prettytable th
 {
   background: #FFCC99;
   font-weight: bold;
   text-align: center;
 }
 
 /* Style for "notices" */
 .notice {
     text-align: justify;
     margin: 1em;
     padding: 0.2em;
 }
 
 #disambig {
     border-top: 3px double #cccccc; 
     border-bottom: 3px double #cccccc;
 }
 
 #spoiler {
     border-top: 2px solid #ddd;
     border-bottom:2px solid #ddd;
 }
 
 /* Standard talk template style */
 
 .Talk-Notice  {
     border: 1px solid #C0C090;
     background-color: #F8EABA;
     margin-bottom: 3px;
     width: 85%;
     border-spacing: 3px;
     margin-left: auto;
     margin-right: auto;
 }
 
 /* Make template background appear correctly on all browsers */
 .Talk-Notice td {
     background: inherit;
 }
 
 /* Merge template style */
 
 .messagebox {
    border: 1px solid #aaaaaa;
    background-color: #f9f9f9;
    width: 85%;
    margin: 0 auto 1em auto;
    padding: .2em;
    text-align: justify;
 }
 .messagebox.merge {
    border: 1px solid #cf9fff;
    background-color: #f5edf5;
    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;
 }
 
 .infobox {
    border: 1px solid #aaaaaa;
    background-color: #f9f9f9;
    margin-bottom: 0.5em;
    margin-left: 1em; 
    padding: .2em;
    float: right;
    clear: right;
 }
 .infobox tr {
    vertical-align: top;
 }
 .infobox caption {
    margin-left: inherit;
 }
 .infobox.bordered {
    border-collapse: collapse;
 }
 .infobox.bordered td, .infobox.bordered th {
    border: 1px solid #aaaaaa;
 }
 .infobox.sisterproject {
    width: 22em;
 }
 
 /* **** End import **** */
 
 /* Classes for MU logos */
 pre.MU-logo { float:right; font-size:5pt; line-height: 5pt; padding-left: 5px; padding:0px; border:none; background-color:transparent;}
 
 /* Classes for LJ icon links */
 #bodyContent .lj-link a.external {
   text-decoration: underline;
   text-transform: lowercase;
   font-weight: bold;
   color: blue;
 }
 #bodyContent .lj-userinfo a.external {
   text-decoration:none;
   /* Important needed to override external link icon removing background, from class=plainlinks */
   background: transparent url(http://pool.wikifur.com/w/images/2/27/Userinfo.gif) no-repeat center center !important;
   padding-left:6px !important;
   padding-right:6px !important;
 }
 #bodyContent .lj-community a.external {
   text-decoration:none;
   /* Important needed to override external link icon removing background, from class=plainlinks */
   background: transparent url(http://pool.wikifur.com/w/images/0/01/Community.gif) no-repeat center center !important;
   padding-left:6px !important;
   padding-right:6px !important;
 }