MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(27 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
font-family: "Courier", monospace; | font-family: "Courier", monospace; | ||
} | } | ||
.zhdescription { | .zhdescription { | ||
Line 31: | Line 30: | ||
} | } | ||
.text-alert { | |||
.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; | border-bottom: 2px solid #FEABAB; | ||
border-top: 2px solid # | background: url("//wiki.zhuk.cc/images/icons/icon-alert.png") no-repeat; | ||
} | |||
margin: 0. | .zh-text-alert-fill | ||
{ | |||
background: #FFDFDF url("//wiki.zhuk.cc/images/icons/icon-alert.png") no-repeat; | |||
} | |||
.zh-text-alert | |||
{ | |||
background: url("//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-info.png) no-repeat; | |||
} | |||
.zh-text-info-fill | |||
{ | |||
background: #DBE7F8 url(//wiki.zhuk.cc/images/icons/icon-info.png) no-repeat; | |||
} | |||
.zh-text-info | |||
{ | |||
background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-download.png) no-repeat; | |||
} | |||
.zh-text-download-fill | |||
{ | |||
background: #F2F9E5 url(//wiki.zhuk.cc/images/icons/icon-download.png) no-repeat; | |||
} | |||
.zh-text-download | |||
{ | |||
background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-comment.png) no-repeat; | |||
} | |||
.zh-text-comment-fill | |||
{ | |||
background: #FEF8E1 url(//wiki.zhuk.cc/images/icons/icon-comment.png) no-repeat; | |||
} | |||
.zh-text-comment | |||
{ | |||
background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-tip.png) no-repeat; | |||
} | |||
.zh-text-tip-fill | |||
{ | |||
background: #FFFFD5 url(//wiki.zhuk.cc/images/icons/icon-tip.png) no-repeat; | |||
} | |||
.zh-text-tip | |||
{ | |||
background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-attachment.png) no-repeat; | |||
} | |||
.zh-text-attachment-fill | |||
{ | |||
background: #f2f2f2 url(//wiki.zhuk.cc/images/icons/icon-attachment.png) no-repeat; | |||
} | |||
.zh-text-attachment | |||
{ | |||
background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-video.png) no-repeat; | |||
} | |||
.zh-text-video-fill | |||
{ | |||
background: #f2f2f2 url(//wiki.zhuk.cc/images/icons/icon-video.png) no-repeat; | |||
} | |||
.zh-text-video | |||
{ | |||
background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-audio.png) no-repeat; | |||
} | |||
.zh-text-audio-fill | |||
{ | |||
background: #f2f2f2 url(//wiki.zhuk.cc/images/icons/icon-audio.png) no-repeat; | |||
} | |||
.zh-text-audio | |||
{ | |||
background: url(//wiki.zhuk.cc/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, | |||
#mw-panel #p-navigation.portal .body { | |||
background-image: none!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; | |||
} | } |
Latest revision as of 14:13, 26 November 2019
/* 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("//wiki.zhuk.cc/images/icons/icon-alert.png") no-repeat; } .zh-text-alert-fill { background: #FFDFDF url("//wiki.zhuk.cc/images/icons/icon-alert.png") no-repeat; } .zh-text-alert { background: url("//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-info.png) no-repeat; } .zh-text-info-fill { background: #DBE7F8 url(//wiki.zhuk.cc/images/icons/icon-info.png) no-repeat; } .zh-text-info { background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-download.png) no-repeat; } .zh-text-download-fill { background: #F2F9E5 url(//wiki.zhuk.cc/images/icons/icon-download.png) no-repeat; } .zh-text-download { background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-comment.png) no-repeat; } .zh-text-comment-fill { background: #FEF8E1 url(//wiki.zhuk.cc/images/icons/icon-comment.png) no-repeat; } .zh-text-comment { background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-tip.png) no-repeat; } .zh-text-tip-fill { background: #FFFFD5 url(//wiki.zhuk.cc/images/icons/icon-tip.png) no-repeat; } .zh-text-tip { background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-attachment.png) no-repeat; } .zh-text-attachment-fill { background: #f2f2f2 url(//wiki.zhuk.cc/images/icons/icon-attachment.png) no-repeat; } .zh-text-attachment { background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-video.png) no-repeat; } .zh-text-video-fill { background: #f2f2f2 url(//wiki.zhuk.cc/images/icons/icon-video.png) no-repeat; } .zh-text-video { background: url(//wiki.zhuk.cc/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(//wiki.zhuk.cc/images/icons/icon-audio.png) no-repeat; } .zh-text-audio-fill { background: #f2f2f2 url(//wiki.zhuk.cc/images/icons/icon-audio.png) no-repeat; } .zh-text-audio { background: url(//wiki.zhuk.cc/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, #mw-panel #p-navigation.portal .body { background-image: none!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; }