MediaWiki:Common.css: Difference between revisions

From Hidden Empire Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 6: Line 6:


/* Startseite */
/* Startseite */
body.page-Hauptseite #firstHeading {
body.page-Main_Page #firstHeading {
   display:none;
   display:none;
}
}
body.page-Hauptseite #mw-content-text a,
body.page-Main_Page #mw-content-text a,
body.page-Hauptseite #mw-content-text a:visited,
body.page-Main_Page #mw-content-text a:visited,
body.page-Hauptseite #mw-content-text a:hover,
body.page-Main_Page #mw-content-text a:hover,
body.page-Hauptseite #mw-content-text a:active,
body.page-Main_Page #mw-content-text a:active,
body.page-Hauptseite #mw-content-text a:focus {
body.page-Main_Page #mw-content-text a:focus {
   color:#ffffff;
   color:#ffffff;
}
}
Line 214: Line 214:


/* Überschrift auf Hauptseite ausblenden */
/* Überschrift auf Hauptseite ausblenden */
.page-Hauptseite #content #firstHeading {
.page-Main_Page #content #firstHeading {
   display:none;
   display:none;
   margin:0;
   margin:0;
Line 259: Line 259:
border-collapse: collapse;
border-collapse: collapse;
font-size: 95%;
font-size: 95%;
        width: 600px;
}
}
div.NavFrame + div.NavFrame {
div.NavFrame + div.NavFrame {
Line 274: Line 275:
line-height: 1.6em;
line-height: 1.6em;
font-weight: bold;
font-weight: bold;
background-color: #848484;
background-color: #4C4B4B;
         color: #0101DF;
         color: #FFA54F;
position: relative;
position: relative;
}
}

Latest revision as of 20:13, 11 August 2024

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

/* Startseite */
body.page-Main_Page #firstHeading {
   display:none;
}
body.page-Main_Page #mw-content-text a,
body.page-Main_Page #mw-content-text a:visited,
body.page-Main_Page #mw-content-text a:hover,
body.page-Main_Page #mw-content-text a:active,
body.page-Main_Page #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-Main_Page #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;
}

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
        color: #0101DF;
	border-collapse: collapse;
	font-size: 95%;
        width: 600px;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	/* @noflip */
	float: left;
}
div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #4C4B4B;
        color: #FFA54F;
	position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	/* @noflip */
	right: 3px;
        color: #EB1C1C;
	font-weight: normal;
	font-size: 90%;
}

.client-js .NavFrame.collapsed > .NavContent {
	display: none;
}