MediaWiki:Common.css:修订间差异

来自BPAX Lab
无编辑摘要
无编辑摘要
 
(未显示2个用户的16个中间版本)
第2行: 第2行:


@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);
blockquote{
  font-size: 1em;
  width:90%;
  margin:20px auto;
  color: #555555;
  padding:1.2em 30px 1.2em 45px;
  border-left:8px solid #95CCE7;
  line-height:1.6;
  background:#EDEDED;
}
blockquote::before{
  font-family:Arial;
  color:#95CCE7;
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}
blockquote::after{
  content: '';
}
blockquote span{
  display:block;
  color:#333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}
/**** "返回"按钮开始 12-23-2020 (Paul Xu)****/
#vimBackToTopButton {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background: rgba(29, 158, 220, 0.8);
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}
#vimBackToTopButton:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}
/**** "返回"按钮结束 12-23-2020 (Paul Xu) ****/


.mw-body-content h2 {
.mw-body-content h2 {
第99行: 第46行:


/**** Float TOC 1-5-2021 (Paul Xu)****/
/**** Float TOC 1-5-2021 (Paul Xu)****/
/*
#toc {
#toc {
    float:right;
    float:right;
第107行: 第55行:
    font-size:80%;
    font-size:80%;
}
}
*/


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


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

2024年5月12日 (日) 20:02的最新版本

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