MediaWiki:Common.css:修订间差异

来自天下贰-云轩
无编辑摘要
无编辑摘要
 
(未显示同一用户的6个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* 这里放置的CSS将应用于所有皮肤 */
.vector-body img {
.vector-body img {
     width: 100%;
     max-width: 100%;
    height: 100%;
    object-fit: contain;
}
}


第16行: 第14行:
     content: '';
     content: '';
     background-image: url(https://wiki.tianxia.world//w/images/c/c9/Logo.png);
     background-image: url(https://wiki.tianxia.world//w/images/c/c9/Logo.png);
     width: 200px;
     width: 180px;
     height: 400px;
     height: 100px;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: 50px auto;
     background-size: 120px auto;
    transform: rotate(-20deg);
     position: absolute;
     position: absolute;
     top: -63px;
     top: -24px;
     left: 41px;
     left: -20px;
}
.mw-logo-container {
    float: left;
    margin-left: 110px;
}
 
/* One-sided navigation menu */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
  div.color-middle {
    margin-right: 0;
  }
  .mw-wiki-logo {
  display: inline-block;
  }
}
 
/* Align top colour bar with page columns */
.ts-inner {
  padding: 0 0 0 1em;
}
}
/* Re-aligning bottom logos */
#footer { padding-right: 1em; }

2024年4月26日 (五) 14:59的最新版本

/* 这里放置的CSS将应用于所有皮肤 */
.vector-body img {
    max-width: 100%;
}

.mw-logo {
  position: relative;
}
.mw-logo-icon {
  width: 30px;
  height: 30px;
}
.mw-logo:before {
    content: '';
    background-image: url(https://wiki.tianxia.world//w/images/c/c9/Logo.png);
    width: 180px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: 120px auto;
    position: absolute;
    top: -24px;
    left: -20px;
}
.mw-logo-container {
    float: left;
    margin-left: 110px;
}

/* One-sided navigation menu */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
  div.color-middle {
    margin-right: 0;
  }
  .mw-wiki-logo {
  	display: inline-block;
  }
}

/* Align top colour bar with page columns */
.ts-inner {
  padding: 0 0 0 1em;
}

/* Re-aligning bottom logos */
#footer { padding-right: 1em; }