MediaWiki:Common.css: Difference between revisions

From Ephinea PSO Wiki
(revamp?)
m (oop)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
@import url("/index.php?title=MediaWiki:StickyTableHeaders.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css");
/* Standard Navigationsleisten, aka box hiding thingy
  from .de.  Documentation at [[Wikipedia:NavFrame]].
  Slightly modified because <div> sucks. */
table.NavFrame {
table.NavFrame {
border: 1px solid #aaa;
  border: 1px solid #aaa;
text-align: center;
  text-align: center;
border-collapse: collapse;
  border-collapse: collapse;
font-size: 75%;
  font-size: 75%;
}
}
table.NavFrame + table.NavFrame {
table.NavFrame + table.NavFrame {
border-top-style: none;
  border-top-style: none;
border-top-style: hidden;
  border-top-style: hidden;
}
}
table.NavPic {
table.NavPic {
background-color: #fff;
  background-color: #fff;
margin: 0;
  margin: 0;
padding: 2px;
  padding: 2px;
/* @noflip */
  /* @noflip */
float: left;
  float: left;
}
}
table.NavFrame table.NavHead {
table.NavFrame table.NavHead,
font-size: larger;
table.NavFrame th {
background-color: #ccc;
  font-size: larger;
position: relative;
  background-color: #ccc;
  position: relative;
}
}
table.NavFrame p,
table.NavFrame p,
table.NavFrame table.NavContent,
table.NavFrame table.NavContent,
table.NavFrame table.NavContent p {
table.NavFrame table.NavContent p {
text-align: left;
  text-align: left;
}
}
table.NavEnd {
table.NavEnd {
margin: 0;
  margin: 0;
padding: 0;
  padding: 0;
line-height: 1px;
  line-height: 1px;
clear: both;
  clear: both;
}
}
a.NavToggle {
a.NavToggle {
position: absolute;
  position: absolute;
top: 0;
  top: 0;
/* @noflip */
  /* @noflip */
right: 3px;
  right: 3px;
font-weight: normal;
  font-weight: normal;
font-size: 90%;
  font-size: 90%;
}
}


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

Revision as of 21:19, 6 September 2018

table.NavFrame {
  border: 1px solid #aaa;
  text-align: center;
  border-collapse: collapse;
  font-size: 75%;
}
table.NavFrame + table.NavFrame {
  border-top-style: none;
  border-top-style: hidden;
}
table.NavPic {
  background-color: #fff;
  margin: 0;
  padding: 2px;
  /* @noflip */
  float: left;
}
table.NavFrame table.NavHead,
table.NavFrame th {
  font-size: larger;
  background-color: #ccc;
  position: relative;
}
table.NavFrame p,
table.NavFrame table.NavContent,
table.NavFrame table.NavContent p {
  text-align: left;
}
table.NavEnd {
  margin: 0;
  padding: 0;
  line-height: 1px;
  clear: both;
}
a.NavToggle {
  position: absolute;
  top: 0;
  /* @noflip */
  right: 3px;
  font-weight: normal;
  font-size: 90%;
}

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