MediaWiki:Common.css

来自BPAX Lab

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* 这里放置的CSS将应用于所有皮肤 */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);

.mw-body-content h2 {
    font-size: 155%;
}

.mw-body-content h3 {
    font-size: 145%;
}

.mw-body-content h4 {
    font-size: 125%;
}

.mw-body-content h5 {
    font-size: 105%;

}

/**** 首页css 开始 1-4-2021 (Paul Xu)****/
.mainpage_row {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0 -5px 0 -5px;
}

.mainpage_box {
    flex: 1;
    margin: 5px;
    min-width: 210px;
    border: 1px solid #CCC;
    padding: 0 10px 10px 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}

.mainpage_box .items {
    border-top: 1px solid #CCC;
    padding-top: 0.5em;
}
/**** 首页css 结束 1-4-2021 (Paul Xu)****/

/**** Float TOC 1-5-2021 (Paul Xu)****/
/*
#toc {
    float:right;
    margin:0 0 1em 1em;
    position: sticky;
    top:50px;
    right:10px;
    font-size:80%;
}
*/

/**** Smaller footnotes 1-5-2021 (Paul Xu)****/
/**** Footnote color is grey if italic 1-7-2021 (Paul Xu)****/
.mw-references-wrap {
	color: grey;
    font-weight: normal;
    font-size: 12px;
}

.mw-references-wrap i {
    color: grey;
    font-weight: normal;
    font-size: 12px;
}

/*** hide the help text and icon on category page top right corner 8-31-2021 (Paul Xu) ***/
div#mw-indicator-mw-helplink { 
   display: none;
}

/*** fix the issue where log is blurry on mac, 8-8-2022 ***/
.mw-wiki-logo {
  background-size: 135px;
}

/*** fix the quote left border color after upgrading to 1.39.1, 2-3-2023 ***/
.vector-body blockquote {
  border-left:8px solid #05b9d1;
  padding: 8px 32px;
}

/*** fix the content body length issue that was not 100% on regular pages, 3-2-2023 ***/
.mw-content-container {
  max-width: 100%;
}

/*** fix the header length not 100% issue for Upload Wizard, 3-19-2023 ***/
#upload-wizard {
  max-width: 100%;
}

/*** hide the language selector because it looks ugly 20240512 (Paul Xu) ***/
div#mw-indicator-languageselector { 
   display: none;
}