「MediaWiki:Common.css」修訂間的差異

出自旭陵維基
跳至導覽 跳至搜尋
行 1: 行 1:
 
/* main page */
 
/* main page */
 
body.page-首頁.action-view h1.firstHeading, body.page-首頁.action-submit h1.firstHeading { display: none; }
 
body.page-首頁.action-view h1.firstHeading, body.page-首頁.action-submit h1.firstHeading { display: none; }
 +
@charset "UTF-8";
 +
ul {
 +
  margin: 0.3em 0 0 1.6em;
 +
  padding: 0;
 +
  list-style: disc; }
 +
 
body.page-首頁 h4 {
 
body.page-首頁 h4 {
 
   font-size: 24px;
 
   font-size: 24px;
行 20: 行 26:
 
     vertical-align: middle; }
 
     vertical-align: middle; }
 
     body.page-首頁 .main-page-banner .banner-left h1 {
 
     body.page-首頁 .main-page-banner .banner-left h1 {
       font-size: 46px;
+
      margin: 0 !important;
 +
      line-height: 1.4 !important;
 +
       font-size: 46px !important;
 
       font-weight: bold; }
 
       font-weight: bold; }
 
     body.page-首頁 .main-page-banner .banner-left em {
 
     body.page-首頁 .main-page-banner .banner-left em {
行 104: 行 112:
 
     clear: both;
 
     clear: both;
 
     display: block; }
 
     display: block; }
 +
 
/* NavBox */
 
/* NavBox */
 
.my-nav-box {
 
.my-nav-box {

於 2016年8月31日 (三) 14:14 的修訂

/* main page */
body.page-首頁.action-view h1.firstHeading, body.page-首頁.action-submit h1.firstHeading { display: none; }
@charset "UTF-8";
ul {
  margin: 0.3em 0 0 1.6em;
  padding: 0;
  list-style: disc; }

body.page-首頁 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.4 !important;
      font-size: 46px !important;
      font-weight: bold; }
    body.page-首頁 .main-page-banner .banner-left em {
      font-weight: bold;
      color: green; }
    body.page-首頁 .main-page-banner .banner-left .top-8-words {
      padding: 4px 0 6px 0;
      font-size: 15px; }
    body.page-首頁 .main-page-banner .banner-left .bottom-counter {
      padding: 12px 0 6px 0; }
  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 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 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 ul li {
        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 ul: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 ul {
        list-style-type: decimal; }
        body.page-首頁 .main-page-main .main-right .main-recent-modify ul li {
          float: left;
          width: 50%; }
        body.page-首頁 .main-page-main .main-right .main-recent-modify ul: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; }