MediaWiki:Pandora.css

Westeros Türkiye Vikipedi sitesinden

Not: Yayımladıktan sonra değişiklikleri görmek için tarayıcınızın önbelleğini temizlemeniz gerekebilir.

  • Firefox / Safari: Shift tuşuna basılıyken Yeniden Yükle'ye tıklayın ya da Ctrl-F5 ya da Ctrl-R tıklayın (Mac için ⌘-R).
  • Google Chrome: Ctrl-Shift-R'ye basın. (Mac için ⌘-Shift-R)
  • Internet Explorer / Edge: Ctrl basılıyken Yenile'ye tıklayın ya da Ctrl-F5 yapın.
  • Opera: Ctrl-F5 tıklayın.
    /* Styles */
html {
  background: #5b9963;
  margin: 0;
  padding: 0 0 20px;
}
body {
  background: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
}
body > header,
body > main,
body > nav,
body > footer {
  padding: 1em;
}
a {
  color: #0645ad;
}
a:visited {
  color: #0b0080;
}
/* GENERAL */
.mw-portlet {
  position: relative;
}
.mw-portlet h3 {
  display: none;
}
.mw-portlet li {
  display: inline-block;
  margin-right: 10px;
}
.mw-portlet input[type=checkbox] {
  display: none;
}
/** HEADER */
.mw-header {
  min-height: 50px;
  margin: 10px 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 3;
}
#p-search {
  width: 100%;
}
#p-search #searchInput {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%3Ctitle%3Esearch%3C%2Ftitle%3E%3Cg%20fill%3D%22%2354595d%22%3E%3Cpath%20d%3D%22M7.5%2013a5.5%205.5%200%20100-11%205.5%205.5%200%20000%2011zm4.55.46A7.43%207.43%200%20017.5%2015a7.5%207.5%200%20115.96-2.95l6.49%206.49-1.41%201.41-6.49-6.49z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
  background-color: #fff;
  -webkit-appearance: none;
  max-width: 450px;
  margin-top: 0;
  height: 2.25em;
  border: solid 1px #eaecf0;
  border-radius: 2px;
  padding: 7px 0 7px 29px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  outline: 0;
  background-position: left 6px center;
  background-repeat: no-repeat;
  background-size: 18px;
}
.client-js #p-search #searchButton {
  display: none;
}
#p-search h3 {
  display: none;
}
#p-logo {
  min-width: 300px;
  margin-left: 40px;
  min-height: 70px;
  display: flex;
  align-items: center;
  flex-grow: 1;
}
.mw-portlet-notifications li {
  width: 20px;
  height: 20px;
}
.mw-portlet-notifications a {
  background-repeat: no-repeat;
  color: transparent;
  background-position: left center;
  display: block;
}
.mw-portlet-personal {
  margin: 0 0 0 12px;
  padding: 0 12px 0 0;
  height: 20px;
  width: 20px;
}
.mw-portlet-personal h3 {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAx0lEQVQ4jdXSzQmEQAwFYEuYUixhSwgkA8mQgKXYgS3YgXZgCZagHWgHuxf14t8osssGcv145CVJvjk+hBRFK2TrkK1D0cqHkN7CUBRI7L21KAqXMIDModiwD9oAkLlH0i3L+ooGiTWPAPPfJQTIHLGOB9h46YZnKS+3PI8PISW2GkV7FO2Jrb79h4+ODyElsYJYm437NSRWRCWdylgj++U0u+UAZI5E22hsWW03UWQtr2NT66zlCjz8uzNQbFiDN7F5/xB8aj57Ynp2FKI0bAAAAABJRU5ErkJggg==);
  text-indent: -999px;
  background-repeat: no-repeat;
  height: 100%;
  width: 40px;
  background-position: center center;
  margin: 0;
  padding: 0;
  background-position: center top;
  overflow: hidden;
}
.mw-portlet-personal h3 {
  display: flex;
}
@media (max-width: 720px) {
  .mw-portlet-personal {
    margin-bottom: 10px;
  }
}
.toggle-list__list {
  position: fixed;
  left: 0;
  top: 0;
  width: 30%;
  bottom: 0;
  background: white;
  z-index: 4;
}
.toggle-list__list h3 {
  display: none;
}
.toggle-list__list a {
  display: block;
}
.toggle-list__list .mw-portlet-body li {
  display: block;
  padding: 8px;
}
/** CONTENT */
main {
  border-bottom: solid 20px #5b9963;
}
.content__header {
  position: relative;
}
.content__heading {
  padding: 0 50px 0 0;
  margin: 0;
  border-bottom: 0;
  float: left;
}
.content__language-btn {
  float: right;
}
.content__indicators {
  position: absolute;
  top: 10px;
  right: 0;
}
.content__tagline {
  clear: both;
  color: #54595d;
  font-size: 0.85em;
  margin-bottom: 12px;
  line-height: 20px;
}
.content__tagline:empty {
  display: none;
}
.content__actions {
  display: flex;
}
.mw-portlet-cactions {
  margin-left: 40px;
}
/* Checkbox hack dropdown */
.mw-portlet-personal li,
.mw-portlet-cactions li {
  display: block;
  padding: 0.75em 0.875em;
}
.mw-portlet-personal .mw-portlet-body,
.mw-portlet-cactions .mw-portlet-body {
  display: none;
}
.mw-portlet-personal .mw-portlet-body ul,
.mw-portlet-cactions .mw-portlet-body ul {
  background: #ffffff;
  position: absolute;
  overflow-y: auto;
  z-index: 2;
  box-shadow: 0 5px 17px 0 rgba(0, 0, 0, 0.24), 0 0 1px #a2a9b1;
  right: 0;
  min-width: 200px;
}
.mw-portlet-personal input[type="checkbox"],
.mw-portlet-cactions input[type="checkbox"] {
  display: block;
  position: absolute;
  opacity: 0;
  cursor: pointer;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.mw-portlet-personal input:checked ~ .mw-portlet-body ul,
.mw-portlet-cactions input:checked ~ .mw-portlet-body ul {
  opacity: 1;
  visibility: visible;
}
.mw-portlet-personal input:checked ~ .mw-portlet-body,
.mw-portlet-cactions input:checked ~ .mw-portlet-body {
  display: block;
  opacity: 1;
}
.mw-portlet-namespaces {
  margin-top: 10px;
  clear: both;
  border-bottom: 1px solid #eaecf0;
}
.mw-portlet-namespaces a {
  font-size: 0.85em;
  margin: 0 10px 0 0;
  color: #54595d;
  font-weight: bold;
  padding-bottom: 6px;
  display: inline-block;
}
.mw-portlet-namespaces li.selected {
  border-bottom: 2px solid #54595d;
  margin-bottom: -1px;
}
.mw-portlet-views {
  flex-grow: 1;
}
.mw-portlet-views ul {
  display: flex;
  height: 3em;
  justify-content: space-between;
}
.mw-portlet-views li:first-child {
  justify-content: flex-start;
}
.mw-portlet-views li:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
.mw-portlet-cactions h3,
.mw-portlet-views li {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  flex-basis: auto;
  height: 40px;
  font-weight: normal;
  font-size: 100%;
  padding: 0;
}
.mw-portlet-cactions h3,
.mw-portlet-cactions li a,
.mw-portlet-views li a {
  color: #54595d;
  text-decoration: none;
}
/* CATEGORIES */
#catlinks {
  font-size: 0;
  border: none;
  background: none;
  margin: 40px 0 10px 0;
  padding: 0;
}
#catlinks .mw-normal-catlinks > a {
  display: none;
}
#catlinks ul {
  margin: 0;
  font-size: 14px;
}
#catlinks li {
  display: inline-block;
  border: 0;
}
#catlinks a {
  padding: 5px 10px;
  margin-right: 5px;
  display: block;
  background-color: #eaecf0;
  color: #54595d;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
}
/* FOOTER */
body > footer {
  border-top: solid 20px #5b9963;
  padding: 20px 0;
}
body > footer li {
  display: inline-block;
  margin-right: 20px;
}
/* The following rules will not be needed in future */
.mw-portlet ul {
  margin: 0;
}
.tright {
  float: right;
  clear: both;
}
.tleft {
  float: right;
  clear: both;
}
#ca-view {
  display: none;
}
/* checkbox hack */
.toggle-list__checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.toggle-list__list {
  display: none;
}
.toggle-list__checkbox:checked ~ .toggle-list__list {
  display: block;
}
.toggle-list__checkbox ~ .toggle-list__mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3;
  visibility: hidden;
}
.toggle-list__checkbox:checked ~ .toggle-list__mask {
  visibility: visible;
  opacity: 1;
}
/* Icons */
.sidebar__icon {
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 40px;
  overflow: hidden;
  color: transparent;
  left: 20px;
  z-index: 3;
}
.sidebar__icon:before {
  content: '';
  width: 20px;
  display: block;
  height: 20px;
  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%3E menu %3C/title%3E %3Cpath d=%22M1 3v2h18V3zm0 8h18V9H1zm0 6h18v-2H1z%22/%3E %3C/svg%3E");
}
.toctogglelabel {
  color: inherit;
}