「Widget:欢迎」與「Widget:首页」:頁面間的差異
(頁面間的差異)
跳至導覽
跳至搜尋
imported>=海豚= 無編輯摘要 |
imported>=海豚= 無編輯摘要 |
||
第1行: | 第1行: | ||
<noinclude><nowiki> | <noinclude><nowiki>=。=</nowiki></noinclude><includeonly><!--{if !isset($wgMainpage) || !$wgMainpage}--><!--{assign var="wgMainpage" value=true scope="global"}--><style type="text/css"> | ||
@media (min-width: 1480px) { | @media (min-width: 1480px) { | ||
.mainpage { | .mainpage { | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
第26行: | 第25行: | ||
.mainpage-column-left, | .mainpage-column-left, | ||
.mainpage-column-right { | .mainpage-column-right { | ||
max-width: 1360px; | |||
} | } | ||
} | } | ||
第37行: | 第36行: | ||
/*background: url(./zhMoegirl15.2.png) no-repeat center center;*/ | /*background: url(./zhMoegirl15.2.png) no-repeat center center;*/ | ||
background-size: contain; | background-size: contain; | ||
} | |||
.mainpage-order-one { | |||
order: 1; | |||
} | |||
.mainpage-order-two { | |||
order: 2; | |||
} | |||
.mainpage-order-three { | |||
order: 3; | |||
} | |||
.mainpage-order-four { | |||
order: 4; | |||
} | |||
.mainpage-order-five { | |||
order: 5; | |||
} | |||
.mainpage-order-six { | |||
order: 6; | |||
} | |||
.mainpage-order-seven { | |||
order: 7; | |||
} | |||
.mainpage-order-eight { | |||
order: 8; | |||
} | |||
.mainpage-order-nine { | |||
order: 9; | |||
} | |||
.mainpage-flex-one { | |||
flex: 1; | |||
} | |||
.mainpage-flex-two { | |||
flex: 2; | |||
} | |||
.mainpage-flex-three { | |||
flex: 3; | |||
} | |||
.mainpage-flex-four { | |||
flex: 4; | |||
} | |||
.mainpage-flex-five { | |||
flex: 5; | |||
} | |||
.mainpage-flex-six { | |||
flex: 6; | |||
} | |||
.mainpage-flex-seven { | |||
flex: 7; | |||
} | |||
.mainpage-flex-eight { | |||
flex: 8; | |||
} | |||
.mainpage-flex-nine { | |||
flex: 9; | |||
} | } | ||
.mainpage-text-align-center { | .mainpage-text-align-center { | ||
第67行: | 第120行: | ||
font-weight: 400; | font-weight: 400; | ||
border-left: 1em #ededde solid; | border-left: 1em #ededde solid; | ||
} | } | ||
.mainpage .mw-headline-number { | .mainpage .mw-headline-number { | ||
第118行: | 第168行: | ||
} | } | ||
.mainpage-counter { | .mainpage-counter { | ||
background: url(https://www.hmoegirl.com/images/thumb/ | background: url(https://www.hmoegirl.com/images/thumb/d/d8/Megumi_jacket_on_shoulders.png/205px-Megumi_jacket_on_shoulders.png) top right; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: | background-size: 205px 240px; | ||
min-height: 250px; | min-height: 250px; | ||
padding: 0!important; | padding: 0!important; | ||
第126行: | 第176行: | ||
} | } | ||
.mainpage-counter-container { | .mainpage-counter-container { | ||
background: rgba(255, 255, 255, . | background: rgba(255, 255, 255, .73); | ||
padding: .5em; | padding: .5em; | ||
flex: 1; | flex: 1; | ||
} | } | ||
.mainpage-ads { | .mainpage-ads { | ||
height: | height: 420px; | ||
overflow: auto; | overflow: auto; | ||
} | } | ||
第145行: | 第195行: | ||
background-color: rgba(255, 255, 255, 0.73); | background-color: rgba(255, 255, 255, 0.73); | ||
width: 100%; | width: 100%; | ||
} | |||
.mainpage-flex { | |||
display: flex; | |||
flex-wrap: nowrap; | |||
justify-content: space-around; | |||
align-content: stretch; | |||
} | |||
.mainpage-flex-no { | |||
flex: none; | |||
} | |||
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul { | |||
margin: 0.3em 0 0 1.6em; | |||
padding-top: 0.5em; | |||
font-size: 94.5%; | |||
} | |||
.mainpage-DYK { | |||
font-size: 96.5%; | |||
} | |||
.mainpage-welcomenews { | |||
font-size: 107%; | |||
} | |||
.mainpage-mgsisters { | |||
color: #777; | |||
font-size: 115%; | |||
} | |||
.mainpage-mgsisters-container { | |||
margin: 1em 0; | |||
} | |||
.mainpage-mgsisters-img { | |||
width: 50px; | |||
} | |||
.mainpage-mgsisters-img img { | |||
height: 50px; | |||
width: auto; | |||
} | |||
.mainpage-mgsisters-text { | |||
font-size: 85%; | |||
} | } | ||
</style> | </style> | ||
第158行: | 第245行: | ||
var length = $('.mainpage-banner-page').length; | var length = $('.mainpage-banner-page').length; | ||
if (!length) return; | if (!length) return; | ||
$('.mainpage-banner-container').width(length); | $('.mainpage-banner-container').width(length + '00%'); | ||
while (length--) $('.mainpage-banner-control').append('<span class="mainpage-banner-control-triggle"></span>'); | while (length--) $('.mainpage-banner-control').append('<span class="mainpage-banner-control-triggle"></span>'); | ||
var bannerCount = 25; | var bannerCount = 25; | ||
第167行: | 第254行: | ||
var target = $('.mainpage-banner-page').eq(index); | var target = $('.mainpage-banner-page').eq(index); | ||
var left = target.prevAll().length || 0; | var left = target.prevAll().length || 0; | ||
if (left) $('.mainpage-banner-container').css('margin-left'); | if (left) $('.mainpage-banner-container').css('margin-left', '-' + left + '00%'); | ||
else $('.mainpage-banner-container').css('margin-left', '0'); | else $('.mainpage-banner-container').css('margin-left', '0'); | ||
}).first().click(); | }).first().click(); |
於 2020年12月10日 (四) 16:06 的修訂
=。=