MediaWiki:Common.css: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
Zeile 7: Zeile 7:
 
@import "/mediawiki/index.php/MediaWiki:Misc.css";
 
@import "/mediawiki/index.php/MediaWiki:Misc.css";
  
/*Kopie aus Sidebar.css*/
+
/*Kopie aus Portable-infobox.css*/
.Sidebar {
+
.portable-infobox {
  width: 202px;
+
    width:210px;
  float: right;
+
    padding:3px;
  clear: right;
+
    border:1px solid #3c3c43;
  padding: 3px;
+
    box-sizing:border-box;
  border: 1px solid #3C3C43;
+
    font-size:10px;
  background-color: #222226;
+
    line-height:12px;
  font-size: 10px;
+
    margin:0 0 16px 16px;
  line-height: 12px;
+
}
  word-wrap: normal;
+
.portable-infobox.pi-background {
  margin: 0 0 16px 16px; }
+
     background-color:#222226;
  .Sidebar dl {
+
}
    clear: both;
+
.portable-infobox .pi-secondary-background {
    margin: 1em 0;
+
     background-color:transparent;
    overflow: hidden; }
+
}
  .Sidebar dt, .Sidebar dd {
+
.portable-infobox .pi-border-color {
    width: 49%; }
+
     border:0 transparent;
  .Sidebar dt {
+
}
    float: left;
+
.portable-infobox .pi-font,.portable-infobox .pi-secondary-font,.portable-infobox .pi-title, .portable-infobox .pi-header {
    clear: both;
+
     font-size:inherit;
    text-align: right; }
+
     line-height:inherit;
  .Sidebar dd {
+
}
     margin-left: 0;
+
.portable-infobox .pi-item-spacing {
    float: right;
+
     padding:0;
    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,
+
.portable-infobox .pi-title {
.sidebar-title,
+
    cursor:pointer;
.sub-sidebar {
+
    background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #0e1519), color-stop(50%, #3a5766), color-stop(100%, #0e1519));
  clear: both; }
+
    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;
 +
}
  
.division-header {
+
.portable-infobox .pi-collapse {
  width: 49%;
+
    overflow:hidden;
  text-align: right;
+
    animation-name:open;
  position: relative; }
+
    animation-duration:200ms;
  .division-header .expandability-indicator {
+
    animation-timing-function:ease-in;
    position: absolute;
+
     max-height:none;
     right: -1.3em;
+
     margin:.4em 0 .5em 0;
     top: 0; }
+
}
  .collapsed .division-header {
+
.portable-infobox .pi-collapse.pi-collapse-closed {
     color: #66BBFF; }
+
     animation-name:close;
  .division-header + .sub-sidebar {
+
    animation-duration:200ms;
     margin-top: 0; }
+
    animation-timing-function:ease-out;
 
+
    max-height:1.4em;
.sidebar-title {
+
     margin:.4em 0 0 0;
  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%);
+
.portable-infobox .pi-collapse .pi-header {
  background: -moz-linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
+
    margin:0 0 .5em 0;
  background: -o-linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
+
    width:49%;
  background: linear-gradient(left center, #0e1519 0%, #3a5766 50%, #0e1519 100%);
+
    text-align:right;
  padding: 4px;
+
    color:rgb(213,213,212);
  text-align: center; }
+
    transition:color 200ms linear;
 
+
    cursor: pointer;
.sidebar-division.meta {
+
}
  padding: 0; }
+
.portable-infobox .pi-collapse.pi-collapse-closed .pi-header {
 
+
    color:#6bf
 
+
}
.pi-theme-Release .pi-title {
+
.portable-infobox .pi-collapse .pi-header .pi-collapse-dots {
  font-size: 1em;
+
    opacity:0;
  line-height: 1.2em;
+
    transition:opacity 200ms linear;
  padding: 5px 10px;
 
}
 
 
 
.pi-theme-Release {
 
  position: relative;
 
 
}
 
}
 
+
.portable-infobox .pi-collapse.pi-collapse-closed .pi-header .pi-collapse-dots {
.pi-theme-Release::before {
+
    opacity:1;
  content: '';
 
  position: absolute;
 
  display: block;
 
  background-color: #000;
 
  width: 50%;
 
  left: 0;
 
  top: 0;
 
  height: 100%;
 
 
}
 
}
 
+
.portable-infobox .pi-collapse .pi-header:first-child::after {
.pi-theme-Release > .pi-image {
+
    display:none;
  float: left;
 
  width: 50%;
 
  position: relative;
 
 
}
 
}
 
+
.portable-infobox .pi-collapse.pi-collapse-closed .pi-data {
.pi-theme-Release > .pi-image img {
+
    display:flex;
  width: 100%;
 
  height: auto;
 
 
}
 
}
 
+
@keyframes close {
.pi-theme-Release > .pi-image ~ .pi-item {
+
    0% {max-height:20em}
  width: 50%;
+
    100% {max-height:1.4em}
  float: right;
 
  box-sizing: border-box;
 
  clear: right;
 
 
}
 
}
 
+
@keyframes open {
.pi-theme-Release .pi-data-label {
+
    0% {max-height:1.4em}
  display: none;
+
    100% {max-height:20em}
 
}
 
}
  
.pi-theme-Release .pi-data-value {
+
.portable-infobox .releases .article-thumb{
  padding: 0;
+
    margin:0;
 +
    max-width:100%;
 +
    width:auto !important;
 +
    height:auto;
 
}
 
}
  
.pi-theme-Release a.external:after,
+
.portable-infobox .releases .article-thumb img{
.pi-theme-Release a[href^='gopher://']:after {
+
    max-width:100%;
  display: none;
+
    width:auto;
 +
    height:auto;
 
}
 
}
  
.panorama .article-thumb {
+
/*Releases*/
  width: 100% !important;
+
.portable-infobox .releases .sub-sidebar {display:flex!important; flex-direction:row-reverse; margin-top:.7em}
}
+
.portable-infobox .releases dt {display:none}
.panorama img {
+
.portable-infobox .releases dd {margin-left:4px; width:97px}
  max-width: 100%;
+
.portable-infobox .releases dl {text-align:left; flex-basis:97px; margin:0; flex-grow:0; order:1}
  height: auto;
+
.portable-infobox .releases figcaption {display:none}
}
+
.portable-infobox .releases figure {flex-basis:100px; order:2}

Version vom 24. März 2019, 22:50 Uhr

@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 "/mediawiki/index.php/MediaWiki:Quote.css";
@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}