MediaWiki:Common.css

From Documentation
Revision as of 21:54, 5 October 2018 by Admin (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.zhpropertytable {
  border-collapse: collapse; 
  border-width: 1px; 
  border-style: solid; 
  border-color: #DEDEDE;
}

.zhproperty {
    border-left: 1px solid #DEDEDE;
    border-right: 1px solid #DEDEDE;
    border-top: 1px solid #DEDEDE;
    border-bottom: 1px solid #DEDEDE;
    text-align: left;
    vertical-align: top;
    padding: 10px;
    color: #006000;
    font-family: "Courier", monospace;
}

.zhdescription {
    border-left: 1px solid #DEDEDE;
    border-right: 1px solid #DEDEDE;
    border-top: 1px solid #DEDEDE;
    border-bottom: 1px solid #DEDEDE;
    text-align: left;
    vertical-align: top;
    padding: 10px;
}


.zh-text-alert-border,
.zh-text-alert-fill
{
    border-left: 1px solid #FEABAB;
    border-right: 1px solid #FEABAB;
    border-top: 2px solid #FEABAB;
    border-bottom: 2px solid #FEABAB;
    background: url("//zhuk.cc/wiki/images/icons/icon-alert.png") no-repeat;
}
.zh-text-alert-fill
{
    background: #FFDFDF url("//zhuk.cc/wiki/images/icons/icon-alert.png") no-repeat;
}
.zh-text-alert
{
    background: url("//zhuk.cc/wiki/images/icons/icon-alert.png") no-repeat;
}


.zh-text-info-border,
.zh-text-info-fill 
{
  border-left: 1px solid #B7D2F2;
  border-right: 1px solid #B7D2F2;
  border-top: 2px solid #B7D2F2;
  border-bottom: 2px solid #B7D2F2;
  background: url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
}
.zh-text-info-fill 
{
  background: #DBE7F8 url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
}
.zh-text-info
{
  background: url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
}


.zh-text-download-border,
.zh-text-download-fill 
{
  border-left: 1px solid #DDEDBC;
  border-right: 1px solid #DDEDBC;
  border-top: 2px solid #DDEDBC;
  border-bottom: 2px solid #DDEDBC;
  background: url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
}
.zh-text-download-fill 
{
  background: #F2F9E5 url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
}
.zh-text-download
{
  background: url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
}

.zh-text-comment-border,
.zh-text-comment-fill 
{
  border-left: 1px solid #FEEBAB;
  border-right: 1px solid #FEEBAB;
  border-top: 2px solid #FEEBAB;
  border-bottom: 2px solid #FEEBAB;
  background: url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
}
.zh-text-comment-fill 
{
  background: #FEF8E1 url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
}
.zh-text-comment
{
  background: url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
}


.zh-text-tip-border,
.zh-text-tip-fill 
{
  border-left: 1px solid #FEEBAB;
  border-right: 1px solid #FEEBAB;
  border-top: 2px solid #FEEBAB;
  border-bottom: 2px solid #FEEBAB;
  background: url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
}
.zh-text-tip-fill 
{
  background: #FFFFD5 url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
}
.zh-text-tip
{
  background: url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
}

.zh-text-attachment-border,
.zh-text-attachment-fill
{
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-top: 2px solid #e5e5e5;
  border-bottom: 2px solid #e5e5e5;
  background: url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
}
.zh-text-attachment-fill
{
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
}
.zh-text-attachment
{
  background: url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
}


.zh-text-video-border,
.zh-text-video-fill 
{
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-top: 2px solid #e5e5e5;
  border-bottom: 2px solid #e5e5e5;
  background: url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
}
.zh-text-video-fill 
{
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
}
.zh-text-video
{
  background: url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
}

.zh-text-audio-border,
.zh-text-audio-fill
{
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-top: 2px solid #e5e5e5;
  border-bottom: 2px solid #e5e5e5;
  background: url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
}
.zh-text-audio-fill
{
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
}
.zh-text-audio
{
  background: url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
}

.zh-text-alert,
.zh-text-alert-border,
.zh-text-alert-fill,
.zh-text-info,
.zh-text-info-border,
.zh-text-info-fill,
.zh-text-download,
.zh-text-download-border,
.zh-text-download-fill,
.zh-text-comment,
.zh-text-comment-border,
.zh-text-comment-fill,
.zh-text-tip,
.zh-text-tip-border,
.zh-text-tip-fill,
.zh-text-attachment,
.zh-text-attachment-border,
.zh-text-attachment-fill,
.zh-text-video,
.zh-text-video-border,
.zh-text-video-fill,
.zh-text-audio,
.zh-text-audio-border,
.zh-text-audio-fill
{
  background-position: left center;
  padding: 0.8em 0.8em 0.8em 5em;
  min-height: 20px;
}

/* change sidebar */

#mw-panel .portal h3 {
 margin: 0.5em 0 0 0.66666667em!important;
 padding: 0.25em 0!important;
}

#mw-panel .portal .body {

    margin-left: 0.5em!important;
    padding-top: 0!important;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC)!important;
    background-image: url(/w/skins/Vector/images/portal-break.png?3ea1b)!ie!important;
    background-repeat: no-repeat!important;
}