Widget:首页:修订间差异
imported>=海豚= 无编辑摘要 |
小无编辑摘要 |
||
(未显示4个用户的145个中间版本) | |||
第1行: | 第1行: | ||
<noinclude><nowiki>=。=</nowiki></noinclude><includeonly><!--{if !isset($wgMainpage) || !$wgMainpage}--><!--{assign var="wgMainpage" value=true scope="global"}--><style type="text/css"> | <noinclude><nowiki>=。=</nowiki></noinclude><includeonly><!--{if !isset($wgMainpage) || !$wgMainpage}--><!--{assign var="wgMainpage" value=true scope="global"}--><style type="text/css"> | ||
body{ | |||
background-image:none !important; | |||
} | } | ||
a:hover img { | |||
filter:alpha(Opacity=80); | |||
-moz-opacity: 0.8; | |||
opacity: 0.8; | |||
. | |||
} | } | ||
.mainpage, | .mainpage, | ||
.mainpage * { | .mainpage * { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.mainpage { | .mainpage-headtitle, | ||
.mainpage-column>* { | |||
background-size: | margin: .5em; | ||
padding: .5em; | |||
} | |||
.mainpage-counter { | |||
background: url(https://www.hmoegirl.info/images/thumb/d/d8/Megumi_jacket_on_shoulders.png/205px-Megumi_jacket_on_shoulders.png) top right; | |||
background-repeat: no-repeat; | |||
background-size: 205px 240px; | |||
} | |||
.mainpage-counter-container { | |||
background: rgba(255, 255, 255, .73); | |||
} | |||
.mainpage-column>* { | |||
box-shadow: 0.8px 0.8px 1.2px 1.2px #ededde; | |||
} | |||
.skin-minerva .mainpage-column>* { | |||
box-shadow: 0.8px 0.8px 1.2px 1.2px #ffa92f2e; | |||
} | } | ||
.mainpage-order-one { | .mainpage-order-one { | ||
第93行: | 第87行: | ||
.mainpage-text-align-center { | .mainpage-text-align-center { | ||
text-align: center; | text-align: center; | ||
} | } | ||
.mainpage-headtitle { | .mainpage-headtitle { | ||
text-align: center; | |||
font-size: 1.8em; | font-size: 1.8em; | ||
color: #8b8b22 !important; | |||
box-shadow: 0.8px 0.8px 1.2px 1.2px #ededde; | |||
} | |||
.skin-minerva .mainpage-headtitle { | |||
text-align: center; | text-align: center; | ||
font-size: 1.6em; | |||
color: #ffa92f !important; | |||
box-shadow: 0.8px 0.8px 1.2px 1.2px #ffa92f2e; | |||
} | } | ||
.mainpage .mainpage-column h2 { | .mainpage .mainpage-column h2 { | ||
text-indent: 0; | |||
margin-top: 0; | margin-top: 0; | ||
padding-left: .5em; | padding-left: .5em; | ||
font-family: EasonPro, "黑体", serif !important; | |||
font-family: EasonPro, "黑体", serif; | font-weight: 400 !important; | ||
font- | } | ||
.mainpage-column h2 { | |||
color: #8b8b22 !important; | |||
border-left: 1em #ededde solid; | border-left: 1em #ededde solid; | ||
} | |||
.skin-minerva .mainpage-column h2 { | |||
font-size: 1.3em; | |||
color: #ffa92f !important; | |||
border-left: 1em #ffa92f2e solid; | |||
} | } | ||
.mainpage .mw-headline-number { | .mainpage .mw-headline-number { | ||
第126行: | 第121行: | ||
.mainpage .mainpage-column p { | .mainpage .mainpage-column p { | ||
padding-left: .5em; | padding-left: .5em; | ||
} | } | ||
.mainpage-banner-page, | .mainpage-banner-page, | ||
第142行: | 第134行: | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
.mainpage-banner * { | |||
transition: all .30s; | |||
} | } | ||
.mainpage-banner-control { | .mainpage-banner-control { | ||
position: absolute; | position: absolute; | ||
bottom: | bottom: 0.9em; | ||
right: | right: 1.2em; | ||
z-index: 7; | z-index: 7; | ||
} | |||
.mainpage-banner-control-triggle.on { | |||
border-color: white; | |||
background-color: #ffa92f !important; | |||
} | } | ||
.mainpage-banner-control-triggle { | .mainpage-banner-control-triggle { | ||
第156行: | 第155行: | ||
display: inline-block; | display: inline-block; | ||
cursor: pointer; | cursor: pointer; | ||
margin-left: 8px; | margin-left: 8px; | ||
} | |||
.mainpage-banner-control-triggle { | |||
border: none !important; | |||
} | |||
.mainpage-banner-control-triggle { | |||
border: 3px rgba(139, 139, 34, .5) solid !important; | |||
} | } | ||
.mainpage-banner-control-triggle.on { | .mainpage-banner-control-triggle.on { | ||
border-color: white; | border-color: white; | ||
background-color: rgba(139, 139, 34, .5); | background-color: rgba(139, 139, 34, .5)!important; | ||
} | } | ||
.mainpage-banner-page { | .mainpage-banner-page { | ||
第168行: | 第172行: | ||
} | } | ||
.mainpage-counter { | .mainpage-counter { | ||
text-indent: 2em; | |||
min-height: 250px; | min-height: 250px; | ||
padding: 0!important; | padding: 0!important; | ||
第176行: | 第178行: | ||
} | } | ||
.mainpage-counter-container { | .mainpage-counter-container { | ||
padding: .5em; | padding: .5em; | ||
flex: 1; | flex: 1; | ||
} | } | ||
.mainpage-ads { | .mainpage-ads { | ||
height: | height: 494px; | ||
overflow: auto; | overflow: auto; | ||
} | } | ||
/* responsive */ | |||
.mainpage-page-img { | .mainpage-page-img { | ||
width: 100%; | height: auto; | ||
max-width: 100%; | |||
} | } | ||
.mainpage-page-intro { | .mainpage-page-intro { | ||
text-align: center; | |||
pointer-events: none; | |||
position: absolute; | position: absolute; | ||
bottom: 0; | bottom: 0; | ||
left: 0; | left: 0; | ||
margin: 0!important; | margin: 0 !important; | ||
padding: .5em; | padding: .5em; | ||
background-color: rgba(255, 255, 255, 0.73); | background-color: rgba(255, 255, 255, 0.73); | ||
第211行: | 第216行: | ||
} | } | ||
.mainpage-DYK { | .mainpage-DYK { | ||
font-size: 96.5%; | |||
} | } | ||
.mainpage-welcomenews { | .mainpage-welcomenews { | ||
text-indent: 2em; | |||
font-size: 107%; | font-size: 107%; | ||
} | } | ||
. | .topicLabel { | ||
display: inline-block; | |||
font- | width: 8em; | ||
text-align: center; | |||
font-weight: 700; | |||
} | } | ||
. | .decoration-underlink a { | ||
margin: | margin-left: 2px; | ||
margin-right: 2px; | |||
border-bottom: 1px solid #3266cc; | |||
text-decoration: none; | |||
} | } | ||
. | table.mw-enhanced-rc th, table.mw-enhanced-rc td { | ||
vertical-align: middle; | |||
} | } | ||
.mainpage- | .skin-minerva .mainpage-banner { | ||
height: | padding: 0 !important; | ||
} | |||
.skin-minerva .mainpage-banner-control { | |||
top: 15px; | |||
right: 20px; | |||
} | |||
.mainpage-banner-control-triggle { | |||
width: 22px; | |||
height: 22px; | |||
} | |||
.skin-minerva .mainpage-banner-page .mainpage-page-img { | |||
height: 250px !important; | |||
} | } | ||
. | .skin-minerva .content a > img { | ||
max-width: 124% !important; | |||
} | } | ||
.mw-enhancedchanges-arrow-space { | |||
display: none; | display: none !important; | ||
} | } | ||
#catlinks { | #catlinks { | ||
display: none; | display: none; | ||
} | } | ||
.mw-parser-output h2 .mw-headline::after, .mw-parser-output h2::after { | |||
display: none !important; | |||
} | } | ||
.firstHeading { | .firstHeading { | ||
display: none; | display: none; | ||
} | } | ||
#siteSub { | |||
display: none !important; | |||
display: none; | |||
} | } | ||
</style> | </style> | ||
<script> | <script> | ||
window. | window.addEventListener('jquery-ready', function() { | ||
$(function() { | |||
$(window).on('resize', function() { | $(window).on('resize', function() { | ||
$('.mainpage-banner-page').width($('.mainpage-banner').width()); | $('.mainpage-banner-page').width($('.mainpage-banner').width()); | ||
}).resize(); | }).resize(); | ||
var marginLeft = $('.mainpage').offset().left - $('.mainpage').parent().offset().left; | var marginLeft = $('.mainpage').offset().left - $('.mainpage').parent().offset().left; | ||
var length = $('.mainpage-banner-page').length; | var length = $('.mainpage-banner-page').length; | ||
if (!length) return; | if (!length) return; |
2023年2月1日 (三) 14:43的最新版本
=。=