MediaWiki:Common.css:修订间差异

PexEric
PexEric留言 | 贡献 ([InPageEdit] 没有编辑摘要)
PexEric
PexEric留言 | 贡献 ([InPageEdit] 没有编辑摘要)
第1行: 第1行:
/*
* 这里放置的样式将同时应用到桌面版视图
* 仅用于移动版的样式请放置于[[MediaWiki:Mobile.css]]
*/
/* 首页 */
.mainpage_box {
    flex: 1;
    margin: 5px;
    min-width: 210px;
    border: 1px solid #CCC;
    padding: 0 10px 10px 10px;
    box-shadow: 0 2px 2px rgb(0 0 0 / 10%);
}
.mainpage_box .items {
    border-top: 1px solid #CCC;
    padding-top: 0.5em;
}
.mainpage_box h3 {
    padding: 0;
    margin: 0.5em 0;
}
.mw-body h3 {
    font-size: 1.6em;
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
    font-weight: normal;
    font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
    line-height: 1.125;
    margin: 1.25em 0 0.5em;
}
.mainpage_box h3 .header_icon {
    float: left;
    margin-right: 5px;
}
.mainpage_row {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0 -5px 0 -5px;
}
/* MD Icons */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(//cdn.bootcss.com/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
url(//cdn.bootcss.com/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.woff) format('woff'),
url(//cdn.bootcss.com/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.ttf) format('truetype'),
url(https://fonts.gstatic.com/s/materialicons/v70/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
/* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
vertical-align: bottom;
}
#toc{
#toc{
  display: block;
  display: block;
第345行: 第431行:
     margin-bottom: 0px !important;
     margin-bottom: 0px !important;
     border: 1px solid transparent;
     border: 1px solid transparent;
}
/* 首页 */
.mainpage_box {
    flex: 1;
    margin: 5px;
    min-width: 210px;
    border: 1px solid #CCC;
    padding: 0 10px 10px 10px;
    box-shadow: 0 2px 2px rgb(0 0 0 / 10%);
}
.mainpage_box .items {
    border-top: 1px solid #CCC;
    padding-top: 0.5em;
}
.mainpage_box h3 {
    padding: 0;
    margin: 0.5em 0;
}
.mw-body h3 {
    font-size: 1.6em;
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
    font-weight: normal;
    font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
    line-height: 1.125;
    margin: 1.25em 0 0.5em;
}
.mainpage_box h3 .header_icon {
    float: left;
    margin-right: 5px;
}
.mainpage_row {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0 -5px 0 -5px;
}
}