「MediaWiki:Common.css」修訂間的差異
跳至導覽
跳至搜尋
小 |
小 |
||
行 78: | 行 78: | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
padding-top: 15px; } | padding-top: 15px; } | ||
− | body.page-首頁 .main-page-main .main-left .main-content-1 ul li, body.page-首頁 .main-page-main .main-left .main-content-2 ul li, body.page-首頁 .main-page-main .main-left .main-content-3 | + | body.page-首頁 .main-page-main .main-left .main-content-1 ul li, body.page-首頁 .main-page-main .main-left .main-content-2 ul li, body.page-首頁 .main-page-main .main-left .main-content-3 .randomPages span{ |
float: left; | float: left; | ||
width: 33.3333%; } | width: 33.3333%; } | ||
− | body.page-首頁 .main-page-main .main-left .main-content-1 ul:after, body.page-首頁 .main-page-main .main-left .main-content-2 ul:after, body.page-首頁 .main-page-main .main-left .main-content-3 | + | body.page-首頁 .main-page-main .main-left .main-content-1 ul:after, body.page-首頁 .main-page-main .main-left .main-content-2 ul:after, body.page-首頁 .main-page-main .main-left .main-content-3 .randomPages:after { |
content: ""; | content: ""; | ||
clear: both; | clear: both; |
於 2017年9月17日 (日) 18:21 的修訂
/* main page */
body.page-首頁.action-view h1.firstHeading, body.page-首頁.action-submit h1.firstHeading { display: none; }
body.page-首頁 div.as-h4 {
font-size: 24px;
margin-bottom: 15px;
line-height: 1.4; }
body.page-首頁 .main-page-banner {
background-color: #CEDFF2;
padding: 2px;
border-radius: 10px; }
body.page-首頁 .main-page-banner .banner-left, body.page-首頁 .main-page-banner .banner-right {
float: left;
box-sizing: border-box; }
body.page-首頁 .main-page-banner .banner-left {
width: 75%;
background-color: #fff;
border-radius: 10px;
padding: 5px 0;
text-align: center;
vertical-align: middle; }
body.page-首頁 .main-page-banner .banner-left h1 {
margin: 0 !important;
line-height: 1 !important;
font-size: 46px !important;
border: 0 !important;
font-weight: bold; }
body.page-首頁 .main-page-banner .banner-left em {
font-weight: bold;
color: green;
font-style: normal; }
body.page-首頁 .main-page-banner .banner-left .top-8-words {
padding: 4px 0 0 0;
font-size: 15px; }
body.page-首頁 .main-page-banner .banner-left .bottom-counter {
padding: 6px 0 3px 0;
font-size: 16px; }
body.page-首頁 .main-page-banner .banner-right {
width: 25%;
padding: 10px; }
body.page-首頁 .main-page-banner .banner-right ul {
font-size: 19px;
line-height: 1.4; }
body.page-首頁 .main-page-banner:after {
content: "";
clear: both;
display: block; }
body.page-首頁 .wikipedia {
padding: 10px 0;
margin: auto -15px; }
body.page-首頁 .wikipedia .my-wiki-item {
float: left;
width: 50%;
font-size: 14px;
line-height: 1.4;
box-sizing: border-box;
padding: 15px; }
body.page-首頁 .wikipedia .my-wiki-item div.as-h4 {
border-bottom: 1px solid #aaa; }
body.page-首頁 .wikipedia .my-wiki-item > div {
border: 1px solid #ccc;
padding: 10px 15px 15px 15px; }
body.page-首頁 .wikipedia:after {
content: "";
clear: both;
display: block; }
body.page-首頁 .main-page-main {
margin: auto -15px;
line-height: 1.4; }
body.page-首頁 .main-page-main div.as-h4 {
font-weight: bold; }
body.page-首頁 .main-page-main .main-left, body.page-首頁 .main-page-main .main-right {
float: left;
padding: 15px;
box-sizing: border-box; }
body.page-首頁 .main-page-main .main-left {
width: 65%; }
body.page-首頁 .main-page-main .main-left .main-content-1, body.page-首頁 .main-page-main .main-left .main-content-2, body.page-首頁 .main-page-main .main-left .main-content-3 {
margin-bottom: 15px;
padding-top: 15px; }
body.page-首頁 .main-page-main .main-left .main-content-1 ul li, body.page-首頁 .main-page-main .main-left .main-content-2 ul li, body.page-首頁 .main-page-main .main-left .main-content-3 .randomPages span{
float: left;
width: 33.3333%; }
body.page-首頁 .main-page-main .main-left .main-content-1 ul:after, body.page-首頁 .main-page-main .main-left .main-content-2 ul:after, body.page-首頁 .main-page-main .main-left .main-content-3 .randomPages:after {
content: "";
clear: both;
display: block; }
body.page-首頁 .main-page-main .main-left .main-content-2, body.page-首頁 .main-page-main .main-left .main-content-3 {
border-top: 1px solid #EEE; }
body.page-首頁 .main-page-main .main-right {
width: 35%; }
body.page-首頁 .main-page-main .main-right .main-recent-modify {
margin-bottom: 15px;
border: 1px solid #EEE;
padding: 15px; }
body.page-首頁 .main-page-main .main-right .main-recent-modify ol {
list-style-image: none;
list-style-type: decimal !important; }
body.page-首頁 .main-page-main .main-right .main-recent-modify ol li {
float: left;
width: 50%; }
body.page-首頁 .main-page-main .main-right .main-recent-modify ol:after {
content: "";
clear: both;
display: block; }
body.page-首頁 .main-page-main .main-right .facebook-timeline {
padding-top: 15px;
text-align: center; }
body.page-首頁 .main-page-main:after {
content: "";
clear: both;
display: block; }
/* NavBox */
.my-nav-box {
font-size: 15px;
border: 1px solid #ccc;
padding: 2px 2px 0px 2px;
background-color: #fdfdfd;
clear: both;
line-height: 1.4em; }
.my-nav-box .title {
font-weight: bold;
margin-bottom: 2px;
text-align: center;
background-color: #ccccff;
padding: 1px 13px; }
.my-nav-box dl {
margin: 0; }
.my-nav-box dl dd, .my-nav-box dl dt {
margin-bottom: 2px;
padding-top: 1px;
padding-bottom: 1px; }
.my-nav-box dl dt {
width: 180px;
float: left;
text-align: right;
font-weight: bold;
background-color: #ddddff;
padding-left: 13px;
padding-right: 13px; }
.my-nav-box dl dd {
margin-left: 200px;
padding-left: 6px;
padding-right: 6px; }
.my-nav-box dl dd:nth-child(4n) {
background-color: #f7f7f7; }
.my-nav-box dl dd a, .my-nav-box dl dd strong {
margin-left: 6px;
margin-right: 6px; }