MediaWiki:Common.css

From Documentation
Revision as of 16:20, 13 November 2011 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;
}


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

.text-alert-fill{
    background: #FFDFDF url("//zhuk.cc/wiki/images/icons/icon-alert.png") no-repeat;
}


.text-info {
  border-left: 1px solid #B7D2F2;
  border-right: 1px solid #B7D2F2;
  border-top: 2px solid #B7D2F2;
  border-bottom: 2px solid #B7D2F2;
  background: #DBE7F8 url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
}
.text-download {
  border-left: 1px solid #DDEDBC;
  border-right: 1px solid #DDEDBC;
  border-top: 2px solid #DDEDBC;
  border-bottom: 2px solid #DDEDBC;
  background: #F2F9E5 url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
}
.text-comment {
  border-left: 1px solid #FEEBAB;
  border-right: 1px solid #FEEBAB;
  border-top: 2px solid #FEEBAB;
  border-bottom: 2px solid #FEEBAB;
  background: #FEF8E1 url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
}
.text-tip {
  border-left: 1px solid #FEEBAB;
  border-right: 1px solid #FEEBAB;
  border-top: 2px solid #FEEBAB;
  border-bottom: 2px solid #FEEBAB;
  background: #FFFFD5 url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
}
.text-attachment {
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-top: 2px solid #e5e5e5;
  border-bottom: 2px solid #e5e5e5;
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
}
.text-video {
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-top: 2px solid #e5e5e5;
  border-bottom: 2px solid #e5e5e5;
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
}
.text-audio {
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-top: 2px solid #e5e5e5;
  border-bottom: 2px solid #e5e5e5;
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
}

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