MediaWiki:Common.css:修订间差异

来自生物多样性知识平台

无编辑摘要
无编辑摘要
第58行: 第58行:


.gallerybox {
.gallerybox {
   margin-right: 0.2rem;
   margin-right: 0.5rem;
}
}



2024年5月3日 (五) 14:36的版本

/* 这里放置的CSS将应用于所有皮肤 */
.mw-special-Userlogin #mw-wrapper #mw-header {
  display: none;
}

#mw-wrapper #mw-header .main-column #mw-navigation {
  display: flex;
  height: 32px;
  flex-flow: row-reverse;
  align-items: center;
}

#mw-content-header .main-column #p-logo h1 {
  margin: -0.125em 0 0 0.25em;
}

#mw-content-header .main-column #p-search {
  margin-top: 1.3em;
}

#mw-content-header .main-column {
  padding: 0.5em 2em 1em 2em;
}

#mw-content-text .mw-parser-output .navbox .nowraplinks tbody tr td a {
  margin: 0 4px;
}

#mw-footer .main-column #footer #footer-icons #footer-poweredbyico {
  display: none;
}

#content .firstHeading {
  display: none;
}

.mw-portlet {
  font-size: 1rem;
}

#toc {
  font-size: 1.2rem;
}

.mw-parser-output p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.mw-parser-output .mw-gallery-packed-hover {
  margin: 1rem 0 0 0 !important;
  display: flex !important;
}

#toc ul {
  margin: 0 8px;
}

.gallerybox {
  margin-right: 0.5rem;
}

.gallerybox:nth-child(n+4) {
    display: none;
}

.oo-ui-icon-bell, .mw-ui-icon-bell:before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"%3E%3Cpath fill="%23ffffff" d="M16 7a5.38 5.38 0 0 0-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 0 0 4 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 0 0 3-3H7a3 3 0 0 0 3 3z"%3E%3C/path%3E%3C/svg%3E');
}

.oo-ui-icon-tray, .mw-ui-icon-tray:before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath fill=%22white%22 d=%22M3 1a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22/%3E%3C/svg%3E');
}

.mw-mmv-next-image,.mw-mmv-prev-image {
   background-color: transparent !important;
   border-color: transparent !important;
}