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

来自Assault Lily Project 中文维基
跳到导航 跳到搜索
第49行: 第49行:
 
.vector-menu-tabs li {
 
.vector-menu-tabs li {
 
     background-image: linear-gradient(to top,#f7b7c5 0,#fff5f7 1px,#ffffff 100%);
 
     background-image: linear-gradient(to top,#f7b7c5 0,#fff5f7 1px,#ffffff 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,#f7b7c5 100%)
 
}
 
}
  

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

/* 这里放置的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;
}

a {
  color: #4e66d4;
}

a.new {
  color: #ff4b6a;
}

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: #4e66d4;
}

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

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

.mw-body {
    border: 1px solid #f7b7c5;
}

.vector-menu-tabs li {
    background-image: linear-gradient(to top,#f7b7c5 0,#fff5f7 1px,#ffffff 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,#f7b7c5 100%)
}

/* 这里设置了Google Font */

@import url( 'https://fonts.googleapis.com/css?family=Noto+Serif+SC');

/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK",  "Source Han Serif", source-han-serif-sc, sans-serif;
}

/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1, 
#content h2 {
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK",  "Source Han Serif", source-han-serif-sc, sans-serif;
}