MediaWiki:Common.css: Difference between revisions

From Hidden Empire Wiki
No edit summary
No edit summary
Line 240: Line 240:
#footer-places-privacy {
#footer-places-privacy {
   display:none;
   display:none;
}
.fr-pending-long1,
.fr-pending-long2,
.fr-pending-long3,
.fr-unreviewed-unwatched {
  background-color:transparent !important;
}
}

Revision as of 18:37, 4 June 2020

/* Seitenlogo */
#p-logo a {
   background-image:url(//www.hiddenempire.wiki/images/f/f0/Hewikilogo.png) !important;
   background-size: 160px 160px;
}

/* Startseite */
body.page-Hauptseite #firstHeading {
   display:none;
}
body.page-Hauptseite #mw-content-text a,
body.page-Hauptseite #mw-content-text a:visited,
body.page-Hauptseite #mw-content-text a:hover,
body.page-Hauptseite #mw-content-text a:active,
body.page-Hauptseite #mw-content-text a:focus {
   color:#ffffff;
}
.mpinfobox {
   width:100%;
   min-width:372px;
}
.mpbox {
   padding-right:10px !important;
}
/* 372 je Box + 176 für Seitenleiste + 49 für Padding + 10 * Anzahl Boxen für Boxpadding */
@media (min-width:1871px) {
   .mpbox {
      width:calc(25% - 7.5px);
   }
   .mpbox:last-of-type {
      padding-right:0 !important;
   }
}
@media (min-width:1501px) and (max-width:1870px) {
   .mpbox {
      width:calc(33.333333333333% - 6.666666666666px);
   }
   .mpbox:nth-of-type(4) {
      padding-right:0 !important;
   }
}
@media (min-width:1131px) and (max-width:1500px) {
   .mpbox {
      width:calc(50% - 5px);
   }
   .mpbox:nth-of-type(odd) {
      padding-right:0 !important;
   }
}
@media (max-width:1130px) {
   .mpbox {
      width:100%;
      padding-right:0 !important;
   }
}
.mpinfobox {
   border:1px solid #555555;
   margin-bottom:10px;
}
.mpinfobox tr td, .mpinfobox tr th {
   text-align:center;
   font-size:16pt;
}
.mpinfobox tr td.row {
   background-color:#111111;
}
.mpinfobox tr th.heading{
   background-color:#212121;
}
.mpinfobox tr td.specialrow {
   background-color:#111111;
   background:linear-gradient(to right,#ff9999,#111111,#111111,#111111,#111111,#9999ff);
}
.mpinfobox tr th.specialheading{
   background-color:#212121;
   background:linear-gradient(to right,#ef8989,#212121,#212121,#212121,#212121,#8989ef);
}

/* Infoboxen */
@media (min-width:801px) {
   .infobox {
      float:right;
      width:450px;
      margin-left:1em;
      margin-bottom:1em;
   }
}
@media (max-width:800px) {
   .infobox {
      width:100%;
   }
}
.infobox {
   border:1px solid #555555;
}
table.infobox tr td, table.infobox tr th {
   vertical-align:text-top;
}
table.infobox tr th {
   background-color:#111111;
   text-align:right;
}
table.infobox tr td {
   text-align:left;
}

/* Navboxen */
.navbox {
   width:100%;
   border:1px solid #555555;
}
.navbox-toggle {
   display:none;
}
#navbox-objekte-toggle-button {
   cursor:pointer;
   text-decoration:underline;
   font-size:small;
   color:#0645ad;
}
.navbox-flottenbefehle-toggle {
   display:none;
}
#navbox-flottenbefehle-toggle-button {
   cursor:pointer;
   text-decoration:underline;
   font-size:small;
   color:#0645ad;
}
.navbox tr td, .navbox tr th {
   padding:0;
   margin:0;
}
.flacheliste ul {
   margin-left:5px;
   margin-right:5px;
}
.flacheliste ul li {
   display:inline;
   list-style-type: none;
}
.flacheliste ul li:not(:first-child):before {
   content:" · ";
   font-weight:bold;
}

/* Editlinks */
.mw-editsection {
   float:right;
}

/* Beschreibungen */
.blockquote {
   display:flex;
   padding-left:10px;
   padding-right:10px;
   background-color:#111111;
   border:1px solid #555555;
   border-radius: 10px;
   text-align:justify;
}

/* Regeln */
.regelparagraph {
   padding-left:10px;
   padding-right:10px;
   background-color:#111111;
   border:1px solid #555555;
   border-radius: 10px;
   text-align:justify;
   margin-bottom:1em;
}

/* Rote Hinweisbox (Achtung) */
.achtung {
   padding-left:10px;
   padding-right:10px;
   background-color:#ff9999;
   border:1px solid #ff6666;
   border-radius: 10px;
   text-align:justify;
   margin-bottom:1em;
   color:#333333;
}

/* Fraktionen */
.infobox-rebellen-fraktion {
   float:left;
   text-align:left;
   border:1px solid #555555;
   margin-right:10px;
   margin-bottom:10px;
   padding:5px;
   width:300px;
   background-color:#111111;
   border-bottom-right-radius:20px;
}
.infobox-imperium-fraktion {
   float:right;
   text-align:left;
   border:1px solid #555555;
   margin-left:10px;
   margin-bottom:10px;
   padding:5px;
   width:300px;
   background-color:#111111;
   border-bottom-left-radius:20px;
}

/* Mediawiki Logo entfernen */
#footer-icons {
   display:none;
}

/* Überschrift auf Hauptseite ausblenden */
.page-Hauptseite #content #firstHeading {
   display:none;
   margin:0;
}

/* Versions Template */
.version-ok {
   background-color:#ccffcc;
   color:#000000;
   border-left:10px solid #00ff00;
   padding:15px;
   width:800px;
   max-width:100%;
}
.version-old {
   background-color:#ffcccc;
   color:#000000;
   border-left:10px solid #ff0000;
   padding:15px;
   width:800px;
   max-width:100%;
}

/* Verstecke Privacy Link */
#footer-places-privacy {
   display:none;
}

.fr-pending-long1,
.fr-pending-long2,
.fr-pending-long3,
.fr-unreviewed-unwatched {
   background-color:transparent !important;
}