Difference between revisions of "MediaWiki:Common.css"

From EmuVR Wiki
Jump to: navigation, search
m
m
Line 117: Line 117:
 
   border: 1px solid #eaecf0;
 
   border: 1px solid #eaecf0;
 
   padding: 0.5em 1em;
 
   padding: 0.5em 1em;
 +
}
 +
 +
body:not(.mw-logged-in) .portal#p-tb {
 +
  display: none;
 
}
 
}

Revision as of 18:54, 13 April 2021

/* CSS placed here will be applied to all skins */

.anchorlink a {
  opacity: 0;
  margin-left: 0.4em;
  top: -0.5em;
  position: relative;
  transition: top 0.3s, opacity 0.3s;
}

.anchorlink:hover a {
  opacity: 1;
  top: 0;
}

.table-anchor-highlight :target {
  background-color: rgba(255,255,0,0.2) !important;
}

.table-row-hover tr:hover {
  background-color: rgba(0, 67, 131, 0.1) !important;
}

.table-padding tr td:first-child {
  text-align: left;
  padding: 0.7em;
}

.table-left-padding tr td:first-child {
  text-align: left;
  padding-left: 0.7em;
}

.floatThead-container + .float-thead tr[id]:target td {
  padding-top: 38px !important;
}

.mw-headline:target {
  background-image: linear-gradient(to right,rgba(255,150,0,0.3),rgba(255,150,0,0));
  padding: 5px 40px 3px 7px;
}

.mw-headline.anchorlink a {
  font-size: 0.9em;
  padding-left: 0.5em;
  text-decoration: none !important;
}

#mw-content-text a
{
  color: #ea9200;
  text-decoration: underline;
}

#mw-content-text a:visited
{
  color: #cf8100;
}

#mw-content-text a:hover
{
  color: #5dc337;
}

#mw-content-text a.new {
  color: #ba0000;
  text-decoration: none;
}

#mw-content-text a.new:visited {
  color: #ba0000;
}

#mw-content-text a.new:hover {
  text-decoration: underline;
}

.tocnumber::after {
  content: ")";
}

.noautonum .tocnumber {
  display: none;
}

.mw-editsection {
  display: none;
}

.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
  display: none;
}

.mw-collapsible {
  margin: 0.5em 0;
}

.mw-collapsible > :not([class^="mw-collapsible-"]) {
  display: inline-grid;
  overflow: hidden;
  margin: -100px;
  height: 1em;
  width: 0;
}

.mw-collapsible span.mw-collapsible-toggle {
  display: contents;
}

.mw-collapsible-border {
  background-color: #fafafa;
  border: 1px solid #eaecf0;
  padding: 0.5em 1em;
}

body:not(.mw-logged-in) .portal#p-tb {
  display: none;
}