Vorlage:InfoPanelSidebar/styles.css

Aus Lost Dreams Of Tomorrow Wiki
/*-------------------------------- Info Panel Rechts --------------------------------*/



/* Main Page Layout */
.mainpage-container {
  display: flex;
  gap: 0px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px;
}

.mainpage-content {
  flex: 2;
  min-width: 0;
}

.content-section {
  margin-bottom: 0px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.mainpage-sidebar {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

.sidebar-panel {
  background-color: #0a0a0a;
  border: 1px solid #222;
  padding: 1em;
}

.sidebar-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #222;
}

.sidebar-section {
  margin-bottom: 1em;
}

.sidebar-image {
  text-align: center;
  margin: 1em 0;
  line-height: 0; /* Entfernt Leerraum zwischen inline Elementen */
}

.sidebar-image pre {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  line-height: 0;
}

.sidebar-image img {
  width: 100% !important;
  height: auto;
  display: block;
  border: none !important;
  image-rendering: pixelated; /* Sharp pixelated rendering */
  image-rendering: crisp-edges;
}

.sidebar-image span,
.sidebar-image .mw-file-description {
  display: block;
  line-height: 0;
}

.sidebar-label {
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  background-color: #111;
  padding: 0.5em;
  border: 1px solid #222;
  text-align: center;
  margin-bottom: 0.5em;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  padding: 0.5em;
  background-color: #111;
  border: 1px solid #222;
  margin-bottom: 0.5em;
}

.sidebar-item pre {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  font-family: inherit !important;
  line-height: inherit !important;
}

.item-label {
  font-size: 0.85em;
  color: #999;
  margin-bottom: 0.2em;
  display: block;
}

.item-value {
  color: #eee;
  font-size: 0.95em;
  display: block;
}

.item-value a {
  color: #eee;
  text-decoration: none;
}

.item-value a:hover {
  color: #ffffff;
}

.release-dates {
  background-color: #111;
  border: 1px solid #222;
  padding: 0.5em;
  font-size: 0.9em;
  color: #eee;
  line-height: 1.6;
}

.release-dates div {
  padding: 0.2em 0;
}

@media (max-width: 968px) {
  .mainpage-container {
    flex-direction: column;
  }
  
  .mainpage-sidebar {
    max-width: 100%;
    margin-top: 1em;
  }
}