MediaWiki:Common.css:修订间差异

来自BPAX Lab
无编辑摘要
无编辑摘要
第123行: 第123行:
div#mw-indicator-mw-helplink { 
div#mw-indicator-mw-helplink { 
   display: none;
   display: none;
}
/*** fix the issue where log is blurry on mac, 8-8-2022 ***/
.mw-wiki-logo {
  background-size: 135px;
}
}

2022年8月8日 (一) 21:07的版本

/* 这里放置的CSS将应用于所有皮肤 */

@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 {
    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 {
    font-weight: bold;
    font-size: 12px;
}

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

/*** 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;
}