“MediaWiki:Mobile.css”的版本间的差异
来自中文乐谱库
第172行: | 第172行: | ||
} | } | ||
− | footer .last-modifier-tagline { | + | .footer .last-modifier-tagline { |
display: none; | display: none; | ||
} | } | ||
− | + | ||
− | - | + | /** |
− | + | * Default jQuery styling, but with normal-sized font and blue (instead of | |
− | + | * black) links. | |
− | - | + | * |
− | + | * @file | |
− | + | * @ingroup Extensions | |
+ | * | ||
+ | * @author 70.189.238.136 | ||
+ | * @author Finlay Beaton | ||
+ | */ | ||
+ | |||
+ | /** | ||
+ | * Replaces the "editsection" CSS that was in place until MW 1.22 - | ||
+ | * for use with $htEditTabLink. | ||
+ | */ | ||
+ | span.ht-editsection { | ||
+ | float: right; | ||
} | } | ||
− | #headertabs. | + | #headertabs.large.ui-widget { |
− | + | font-family: inherit; | |
− | font- | + | font-size: 1em; /* IE doesn't like inherit here */ |
− | |||
} | } | ||
+ | |||
+ | /* section by 70.189.238.136 */ | ||
+ | #headertabs.large .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: inherit; font-size: 1em; } /* IE doesn't like inherit here */ | ||
+ | #headertabs.large .ui-widget-content a { color:#0645AD; } | ||
+ | #headertabs.large .ui-widget-content a:visited { color:#0b0080; } | ||
+ | #headertabs.large .ui-widget-content a.new { color:#CC2200; } | ||
+ | #headertabs.large .ui-widget-content a.new:visited { color:#A55858; } | ||
+ | #headertabs.large .ui-widget-content a.extiw { color:#3366BB; } | ||
+ | #headertabs.large .ui-widget-content a.redirect { color:#308050; } | ||
+ | #headertabs.large .ui-widget-content a.redirect:visited { color:#3070A0; } | ||
+ | |||
+ | /* end JQuery UI tabs style clearer */ |
2021年12月29日 (三) 21:55的版本
/* 这里放置的CSS将影响使用移动版网站的用户 */
body{
color:#5c6164;
}
pre, .mw-code {
display: block;
overflow-x: auto;
padding: 20px !important;
background: #ebeae4 !important;
border: none !important;
font-family: '微软雅黑','Consolas','Courier New',Courier,monospace !important;
font-size: 12px !important;
color:#606060;
}
.content img {
width: -webkit-fill-available;
}
.skin-minerva .portable-infobox {
margin: 0 0px;
}
.portable-infobox {
border: 0;
margin: 0;
font-family: inherit;
font-size: .9em;
font-weight: normal;
line-height: 1.3;
}
.pre-content h1 {
line-height: 1.3;
font-weight:bold;
}
.portable-infobox .pi-title {
background-color:#b3b1b1;
color: #fff;
}
.content p {
margin: 0.5em;
text-align:justify;
}
#tongji p{
text-align:center;
}
#moble_list_main p{
text-align:center;
}
.portable-infobox .pi-secondary-background {
background-color: #e7e8e8;
}
.branding-box a span{
font-weight:bold;
font-size:large;
color:#5c6164;
}
a:visited {
color:#7f7d70;
}
a {
color:#0092c1;
}
/* mbox 字体缩小 */
.ambox th.mbox-text, .ambox td.mbox-text {
padding: 0.25em 0.5em;
font-size: .8em;
}
td.mbox-text {
border: none;
padding: 0.25em 0.9em;
width: 100%;
font-size: .8em;
}
.content img {
width: auto;
}
table.ambox-notice {
border-left: 10px solid #36c;
}
table.ambox {
border: 1px solid #a2a9b1;
border-left: 10px solid #36c;
background: #f8f9fa;
}
}
table.cmbox {
border-collapse: collapse;
border: 1px solid #a2a9b1;
background: #eaf3ff;
}
.content img {
width: -webkit-fill-available;
}
.portable-infobox .pi-title {
border: 0;
margin: 0;
font-family: inherit;
font-size: 1.2em;
line-height: 1.5;
}
#mainlogo {
align:center;
padding:5px;
}
.content table {
margin: .1em 0;
overflow: auto;
overflow-y: hidden;
overflow-x: auto;
}
@media only screen
and (min-device-width : 480px)
and (max-device-width : 768px){
#mobile-logo{
text-align:
center;
margin:40px 120px;
}
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px){
#mobile-logo{
text-align:
center;
margin:40px 260px;
}
}
@media only screen
and (min-device-width : 1024px)
and (max-device-width : 2048px){
#mobile-logo{
text-align:
center;
margin:40px 360px;
}
}
#mobile-logo{
text-align:
center;
margin:40px 100px;
}
.overlay-enabled, #content {
background-color: #eeeeee;
}
#flag {
max-width: 10% !important;
}
.footer .last-modifier-tagline {
display: none;
}
/**
* Default jQuery styling, but with normal-sized font and blue (instead of
* black) links.
*
* @file
* @ingroup Extensions
*
* @author 70.189.238.136
* @author Finlay Beaton
*/
/**
* Replaces the "editsection" CSS that was in place until MW 1.22 -
* for use with $htEditTabLink.
*/
span.ht-editsection {
float: right;
}
#headertabs.large.ui-widget {
font-family: inherit;
font-size: 1em; /* IE doesn't like inherit here */
}
/* section by 70.189.238.136 */
#headertabs.large .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: inherit; font-size: 1em; } /* IE doesn't like inherit here */
#headertabs.large .ui-widget-content a { color:#0645AD; }
#headertabs.large .ui-widget-content a:visited { color:#0b0080; }
#headertabs.large .ui-widget-content a.new { color:#CC2200; }
#headertabs.large .ui-widget-content a.new:visited { color:#A55858; }
#headertabs.large .ui-widget-content a.extiw { color:#3366BB; }
#headertabs.large .ui-widget-content a.redirect { color:#308050; }
#headertabs.large .ui-widget-content a.redirect:visited { color:#3070A0; }
/* end JQuery UI tabs style clearer */