MediaWiki:Common.css

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
@import "/mediawiki/index.php/MediaWiki:Portable_infobox.css";
@import "/mediawiki/index.php/MediaWiki:Sidebar.css";
@import "/mediawiki/index.php/MediaWiki:Navigation.css";
@import "/mediawiki/index.php/MediaWiki:Multi-column-layout.css";
@import "/mediawiki/index.php/MediaWiki:Icon.css";
@import url("/MediaWiki:Quote.css?ctype=text/css&action=raw");
@import "/mediawiki/index.php/MediaWiki:Misc.css";

/*Kopie aus Portable-infobox.css*/
.portable-infobox {
    width:210px;
    padding:3px;
    border:1px solid #3c3c43;
    box-sizing:border-box;
    font-size:10px;
    line-height:12px;
    margin:0 0 16px 16px;
}
.portable-infobox.pi-background {
    background-color:#222226;
}
.portable-infobox .pi-secondary-background {
    background-color:transparent;
}
.portable-infobox .pi-border-color {
    border:0 transparent;
}
.portable-infobox .pi-font,.portable-infobox .pi-secondary-font,.portable-infobox .pi-title, .portable-infobox .pi-header {
    font-size:inherit;
    line-height:inherit;
}
.portable-infobox .pi-item-spacing {
    padding:0;
}

.portable-infobox .pi-title {
    cursor:pointer;
    background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #0e1519), color-stop(50%, #3a5766), color-stop(100%, #0e1519));
    background: -webkit-linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
    background: -moz-linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
    background: -o-linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
    background: linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
    padding: 4px;
    text-align: center;
    font-weight:900;
    color:inherit;
}
.portable-infobox .pi-image-thumbnail {
    max-width:100%;
    height:auto;
}
.portable-infobox .pi-data {
    justify-content:space-between;
    margin-bottom:1px;
}
.portable-infobox .pi-data-label {
    text-align:right;
    flex-basis:49%;
    color:inherit;
}
.portable-infobox .pi-data-value {
    flex-basis:49%;
    padding:0;
}
.portable-infobox .pi-data-value dd {
    margin:0;
}
.portable-infobox .pi-group {
    margin:1em 0;
}
.portable-infobox .pi-navigation {
    font-weight:normal;
    text-align:center;
    margin-top:1.5em;
}

.portable-infobox .pi-collapse {
    overflow:hidden;
    animation-name:open;
    animation-duration:200ms;
    animation-timing-function:ease-in;
    max-height:none;
    margin:.4em 0 .5em 0;
}
.portable-infobox .pi-collapse.pi-collapse-closed {
    animation-name:close;
    animation-duration:200ms;
    animation-timing-function:ease-out;
    max-height:1.4em;
    margin:.4em 0 0 0;
}
.portable-infobox .pi-collapse .pi-header {
    margin:0 0 .5em 0;
    width:49%;
    text-align:right;
    color:rgb(213,213,212);
    transition:color 200ms linear;
    cursor: pointer;
}
.portable-infobox .pi-collapse.pi-collapse-closed .pi-header {
    color:#6bf
}
.portable-infobox .pi-collapse .pi-header .pi-collapse-dots {
    opacity:0;
    transition:opacity 200ms linear;
}
.portable-infobox .pi-collapse.pi-collapse-closed .pi-header .pi-collapse-dots {
    opacity:1;
}
.portable-infobox .pi-collapse .pi-header:first-child::after {
    display:none;
}
.portable-infobox .pi-collapse.pi-collapse-closed .pi-data {
    display:flex;
}
@keyframes close {
    0% {max-height:20em}
    100% {max-height:1.4em}
}
@keyframes open {
    0% {max-height:1.4em}
    100% {max-height:20em}
}

.portable-infobox .releases .article-thumb{
    margin:0;
    max-width:100%;
    width:auto !important;
    height:auto;
}

.portable-infobox .releases .article-thumb img{
    max-width:100%;
    width:auto;
    height:auto;
}

/*Releases*/
.portable-infobox .releases .sub-sidebar {display:flex!important; flex-direction:row-reverse; margin-top:.7em}
.portable-infobox .releases dt {display:none}
.portable-infobox .releases dd {margin-left:4px; width:97px}
.portable-infobox .releases dl {text-align:left; flex-basis:97px; margin:0; flex-grow:0; order:1}
.portable-infobox .releases figcaption {display:none}
.portable-infobox .releases figure {flex-basis:100px; order:2}


/*Kopie aus Sidebar.css*/
.Sidebar {
  width: 202px;
  float: right;
  clear: right;
  padding: 3px;
  border: 1px solid #3C3C43;
  background-color: #222226;
  font-size: 10px;
  line-height: 12px;
  word-wrap: normal;
  margin: 0 0 16px 16px; }
  .Sidebar dl {
    clear: both;
    margin: 1em 0;
    overflow: hidden; }
  .Sidebar dt, .Sidebar dd {
    width: 49%; }
  .Sidebar dt {
    float: left;
    clear: both;
    text-align: right; }
  .Sidebar dd {
    margin-left: 0;
    float: right;
    clear: right;
    line-height: normal; }
  .Sidebar .article-thumb {
    background-color: transparent !Important;
    box-shadow: none !Important; }
  .Sidebar sup {
    font-size: 5px; }
  .Sidebar .details.magnify {
    display: none;
    position: absolute; }
    .Sidebar div.thumb:hover .details.magnify {
      display: block; }
  .Sidebar figure.thumbinner, .Sidebar div.thumbinner {
    padding: 0;
    border: none;
    padding: 0 !Important;
    width: auto !Important; }
  .Sidebar figcaption {
    display: none; }
  .Sidebar figure img {
    width: 200px;
    height: auto; }
  .Sidebar .magnify {
    display: none; }
  .Sidebar div.tright, .Sidebar figure.tright {
    margin: 0;
    float: none;
    border: none !Important; }
  .Sidebar .sub-sidebar {
    margin: 1em 0; }
    .Sidebar .sub-sidebar:last-child {
      margin-bottom: 0; }
  .Sidebar .releases .tright {
    width: 49% !important; }
  .Sidebar .releases .tright {
    float: left;
    clear: left;
    margin: 0; }
  .Sidebar .releases img {
    width: 100%;
    height: auto;}
  .Sidebar .releases dl {
    clear: none;
    overflow: visible;
    margin: 0; }
  .Sidebar .releases dt {
    display: none; }

.division-header,
.sidebar-title,
.sub-sidebar {
  clear: both; }

.division-header {
  width: 49%;
  text-align: right;
  position: relative; }
  .division-header .expandability-indicator {
    position: absolute;
    right: -1.3em;
    top: 0; }
  .collapsed .division-header {
    color: #66BBFF; }
  .division-header + .sub-sidebar {
    margin-top: 0; }

.sidebar-title {
  background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #0e1519), color-stop(50%, #3a5766), color-stop(100%, #0e1519));
  background: -webkit-linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
  background: -moz-linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
  background: -o-linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
  background: linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
  padding: 4px;
  text-align: center; }

.sidebar-division.meta {
  padding: 0; }
  

.pi-theme-Release .pi-title {
  font-size: 1em;
  line-height: 1.2em;
  padding: 5px 10px;
 }

.pi-theme-Release {
  position: relative;
}

.pi-theme-Release::before {
  content: '';
  position: absolute;
  display: block;
  background-color: #000;
  width: 50%;
  left: 0;
  top: 0;
  height: 100%;
}

.pi-theme-Release > .pi-image {
  float: left;
  width: 50%;
  position: relative;
}

.pi-theme-Release > .pi-image img {
  width: 100%;
  height: auto;
}

.pi-theme-Release > .pi-image ~ .pi-item {
  width: 50%;
  float: right;
  box-sizing: border-box;
  clear: right;
}

.pi-theme-Release .pi-data-label {
  display: none;
}

.pi-theme-Release .pi-data-value {
  padding: 0;
}

.pi-theme-Release a.external:after, 
.pi-theme-Release a[href^='gopher://']:after {
  display: none;
}

.panorama .article-thumb {
  width: 100% !important;
}
.panorama img {
  max-width: 100%;
  height: auto;
}

/*Kopie Message.css*/
.warning, .copyvio, .protected, div.stub, .featured {
  border-width: 1px;
  border-style: solid;
  margin: 2em 0 1em;
  text-align: justify;
  padding-top: .5em;
  padding-bottom: .5em;
  padding-right: 1em;
  padding-left: 77px; }

.warning {
  background: #401f22 url(https://images.wikia.nocookie.net/memoryalpha/de/images/thumb/e/ed/MA_Icon_Warnung.svg/50px-MA_Icon_Warnung.svg.png) no-repeat scroll 1em 1em;
  border-color: #660000;
  color: #FF0000 !important;
  font-weight: bold;
  min-height: 56px;
  font-size: normal; }

.copyvio {
  background: #401f22 url(https://images.wikia.nocookie.net/memoryalpha/de/images/thumb/3/30/MA_Icon_Copyright-Verletzung_.svg/50px-MA_Icon_Copyright-Verletzung_.svg.png) no-repeat scroll 1em 1em;
  border-color: #660000;
  color: #FF0000 !important;
  font-weight: bold;
  margin: 2em 0 1em;
  min-height: 63px; }

.protected {
  background: #333333 url(https://images.wikia.nocookie.net/memoryalpha/de/images/thumb/c/cb/MA_Icon_Protected.svg/50px-MA_Icon_Protected.svg.png) no-repeat scroll 1em 1em;
  border-color: #AAAAAA;
  font-weight: bold;
  margin: 2em 0 1em;
  min-height: 56px; }

div.stub {
  background: #333333 url(https://images.wikia.nocookie.net/memoryalpha/de/images/thumb/f/fd/MA_Icon_Stub.svg/50px-MA_Icon_Stub.svg.png) no-repeat scroll 1em 1em;
  border-color: orange;
  margin: 2em 0 1em;
  vertical-align: middle;
  min-height: 64px; }

.featured {
  border-color: gold; }

.meta-notice {
  background: url("https://images.wikia.nocookie.net/memoryalpha/de/images/a/a6/Icon-Realworld-POV.png") no-repeat scroll 5px 4px #222226;
  border: 1px solid #3C3C43;
  clear: both;
  font-size: 80%;
  line-height: 130%;
  margin: 1em auto 0.5em;
  padding: 0.4em 0.4em 0.4em 56px;
  text-align: center;
  width: 147px;
  float: right;
  margin: 0 0 16px 16px;
  min-height: 40px; }

.pov-multiple {
  background-image: url(https://images.wikia.nocookie.net/__cb20140415094854/memoryalpha/de/images/thumb/a/ac/Article-type-pov-multiple.png/640px-Article-type-pov-multiple.png); }

.pov-new-timeline {
  background-image: url(https://images.wikia.nocookie.net/__cb20140416095646/memoryalpha/de/images/thumb/5/5c/Article-type-pov-new-timeline.png/640px-Article-type-pov-new-timeline.png?action=purge); }

.pov-alt-timeline {
  background-image: url(https://images.wikia.nocookie.net/__cb20140505095747/memoryalpha/de/images/thumb/e/eb/Article-type-pov-alt-timeline.png/640px-Article-type-pov-alt-timeline.png); }

.pov-production {
  background-image: url(https://images.wikia.nocookie.net/__cb20140416165155/memoryalpha/de/images/thumb/7/74/Article-type-pov-production.png/640px-Article-type-pov-production.png?1); }

.pov-realworld {
  background-image: url(https://images.wikia.nocookie.net/__cb20140416165931/memoryalpha/de/images/thumb/4/40/Article-type-pov-realworld.png/640px-Article-type-pov-realworld.png); }

.pov-mirror-universe {
  background-image: url(https://images.wikia.nocookie.net/__cb20140417100241/memoryalpha/de/images/thumb/f/f1/Article-type-pov-mirror-universe.png/640px-Article-type-pov-mirror-universe.png); }

.article-type {
  background-size: 300px;
  background-repeat: no-repeat;
  background-position: left center;
  background-color: black;
  padding: .5em 1em;
  text-align: right;
  margin-bottom: 1em; }

.article-type-headline {
  font-variant: small-caps; }

.WikiaArticle .message {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  border: 1px solid; 
  padding: 1em;
  margin: 1em 0; }
  .message.warn {
    border-color: #600;
    background-color: #401F22;}
    .message.warn > .message-text {
    color: #F00; }
    .message.warn > .message-icon {
    color: #B82200; }
  .message.notice {
    border-color: #FFA500; }
    .message.notice > .message-icon {
    color: #FCA100; }
  .message.protect {
    border-color: #AAA; }
    .message.protect > .message-icon {
      color: #BBB; }
  .message.help {
     color: #0072C5;
  }

.sprite {
  display: none; }

.message-icon {
  font-size: 41px;
  line-height: 59px;
  display: inline-block;
  vertical-align: middle; }

.message-text {
  width: 90%;
  display: inline-block;
  vertical-align: middle; 
  margin-left: 1em;
  white-space: normal; }