MediaWiki:Common.css

来自生物多样性知识平台

Lizc讨论 | 贡献2024年5月6日 (一) 10:48的版本

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

  • 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将应用于所有皮肤 */
.page-首页 #content .firstHeading {
  display: none;
}

.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;
}

.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 ul {
  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;
}

.packed-gallery .gallerybox:nth-child(n+5) {
    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;
}

.mw-echo-ui-overlay {
   z-index: 2;
}

.mw-notification-area.mw-notification-area-modqueued {
  margin-top: 2.5rem
}

#p-tb {
  display: none;
}