MediaWiki:Common.css: Difference between revisions

From Documentation
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 31: Line 31:




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




.text-info,
.text-info-border,
.text-info-fill  
.text-info-fill  
{
{
Line 58: Line 62:
{
{
   background: #DBE7F8 url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
   background: #DBE7F8 url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
}
.text-info
{
  background: url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
}
}




.text-download,
.text-download-border,
.text-download-fill  
.text-download-fill  
{
{
Line 73: Line 81:
{
{
   background: #F2F9E5 url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
   background: #F2F9E5 url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
}
.text-download
{
  background: url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
}
}


.text-comment,
.text-comment-border,
.text-comment-fill  
.text-comment-fill  
{
{
Line 87: Line 99:
{
{
   background: #FEF8E1 url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
   background: #FEF8E1 url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
}
.text-comment
{
  background: url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
}
}




.text-tip,
.text-tip-border,
.text-tip-fill  
.text-tip-fill  
{
{
Line 102: Line 118:
{
{
   background: #FFFFD5 url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
   background: #FFFFD5 url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
}
.text-tip
{
  background: url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
}
}


.text-attachment,
.text-attachment-border,
.text-attachment-fill
.text-attachment-fill
{
{
Line 116: Line 136:
{
{
   background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
   background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
}
.text-attachment
{
  background: url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
}
}




.text-video,
.text-video-border,
.text-video-fill  
.text-video-fill  
{
{
Line 131: Line 155:
{
{
   background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
   background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
}
.text-video
{
  background: url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
}
}


.text-audio,
.text-audio-border,
.text-audio-fill
.text-audio-fill
{
{
Line 145: Line 173:
{
{
   background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
   background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
}
.text-audio
{
  background: url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
}
}


.text-alert,
.text-alert,
.text-alert-border,
.text-alert-fill,
.text-alert-fill,
.text-info,
.text-info,
.text-info-border,
.text-info-fill,
.text-info-fill,
.text-download,
.text-download,
.text-download-border,
.text-download-fill,
.text-download-fill,
.text-comment,
.text-comment,
.text-comment-border,
.text-comment-fill,
.text-comment-fill,
.text-tip,
.text-tip,
.text-tip-border,
.text-tip-fill,
.text-tip-fill,
.text-attachment,
.text-attachment,
.text-attachment-border,
.text-attachment-fill,
.text-attachment-fill,
.text-video,
.text-video,
.text-video-border,
.text-video-fill,
.text-video-fill,
.text-audio,
.text-audio,
.text-audio-border,
.text-audio-fill
.text-audio-fill
{
{

Revision as of 17:16, 13 November 2011

/* 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-border,
.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;
}
.text-alert-fill
{
    background: #FFDFDF url("//zhuk.cc/wiki/images/icons/icon-alert.png") no-repeat;
}
.text-alert
{
    background: url("//zhuk.cc/wiki/images/icons/icon-alert.png") no-repeat;
}


.text-info-border,
.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;
}
.text-info-fill 
{
  background: #DBE7F8 url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
}
.text-info
{
  background: url(//zhuk.cc/wiki/images/icons/icon-info.png) no-repeat;
}


.text-download-border,
.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;
}
.text-download-fill 
{
  background: #F2F9E5 url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
}
.text-download
{
  background: url(//zhuk.cc/wiki/images/icons/icon-download.png) no-repeat;
}

.text-comment-border,
.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;
}
.text-comment-fill 
{
  background: #FEF8E1 url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
}
.text-comment
{
  background: url(//zhuk.cc/wiki/images/icons/icon-comment.png) no-repeat;
}


.text-tip-border,
.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;
}
.text-tip-fill 
{
  background: #FFFFD5 url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
}
.text-tip
{
  background: url(//zhuk.cc/wiki/images/icons/icon-tip.png) no-repeat;
}

.text-attachment-border,
.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;
}
.text-attachment-fill
{
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
}
.text-attachment
{
  background: url(//zhuk.cc/wiki/images/icons/icon-attachment.png) no-repeat;
}


.text-video-border,
.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;
}
.text-video-fill 
{
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
}
.text-video
{
  background: url(//zhuk.cc/wiki/images/icons/icon-video.png) no-repeat;
}

.text-audio-border,
.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;
}
.text-audio-fill
{
  background: #f2f2f2 url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
}
.text-audio
{
  background: url(//zhuk.cc/wiki/images/icons/icon-audio.png) no-repeat;
}

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