“MediaWiki:Mobile.css”的版本间的差异

来自Assault Lily Project 中文维基
跳到导航 跳到搜索
标签移动网页编辑 移动版编辑
标签移动网页编辑 移动版编辑
第131行: 第131行:
  
 
.header .branding-box {
 
.header .branding-box {
     padding-right: 2em;
+
     padding-right: 1em;
 
}
 
}

2021年3月18日 (四) 22:19的版本

/* 这里设置了Google Font */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600&display=swap');

/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
  font-family: 'Noto Serif SC', serif;
}

/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1, 
#content h2 {
  font-family: 'Noto Serif SC', serif;
}

/* 这里放置的CSS将影响使用移动版网站的用户 */

body {
  background: #ffffff;
}

/* Changes the background color behind the top half of the logo and at top of each page: */
#mw-page-base {
  background: #ffffff;
}

#mw-mf-viewport {
    overflow-x: hidden;
}

.header-container.header-chrome {
    background-color: #ffd0d8;
    box-shadow: none;
}

.last-modified-bar {
    border-bottom: solid 1px #ffd0d8;
    background-color: #ffd0d8;
}

.last-modified-bar.active {
    background-color: #7f90dc!important;
    color: #fff;
}

.minerva-footer {
    border-top: none;
    background-color: #ffd0d8;
}

footer > .post-content > h2, .mw-footer > .post-content > h2 {
    border-bottom: solid 1px #ffc3ce;
}

.content .thumbcaption {
    text-align: center;
}

a {
  color: #4e66d4;
}

a.new {
  color: #ff4b6a;
}

a:visited { 
  color:#c28cd0; 
} 

.mw-parser-output a.extiw, .mw-parser-output a.external {
  color: #4e66d4;
}

.mw-parser-output a.extiw, .mw-parser-output a:visited { 
  color:#c28cd0; 
} 

.portal .body li a, .vector-menu-portal .body li a {
  color: #555555;
}

.portal .body li a, .vector-menu-portal .body li a:visited { 
  color:#555555; 
} 

.vector-menu-tabs li a {
  color: #ff4b6a;
}

.vector-menu-tabs li a:visited { 
  color:#555555; 
} 

.vector-menu-tabs .new a, .vector-menu-tabs .new a {
  color: #ff4b6a;
}

.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
  color: #ff4b6a;
}

h1, h2 {
    border-bottom: 1px solid #ff9dae;
}

td {
    padding: 0 5px;
}

.mw-body-content p {
    margin: 0.5em 0;
    line-height: 2;
}

.mw-body {
    border: none;
}

.vector-menu-tabs li {
    background-image: linear-gradient(to top,#ffd0d8 0,#fff5f7 1px,rgb(255 255 255 / 0%) 100%);
}

.vector-menu-tabs .selected {
    background: linear-gradient(to top,#ffffff 0,#ffffff 1px,rgb(255 255 255 / 0%) 100%);
}

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
    background-image: linear-gradient(to bottom,rgb(255 255 255 / 0%) 0,#ffd0d8 100%)
}

.header .branding-box {
    padding-right: 1em;
}