Difference between revisions of "MediaWiki:Common.css"

From maker-hub
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: #toc { position: fixed; right: 0; top: 7em; →‎5em is height of header, 6em brings just under: /* bottom:...")
 
 
(60 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
#toc {
+
.EquipmentListTable
    position: fixed;
+
{
    right: 0;
+
  background-color: #f8f8f8;
    top: 7em; /* 5em is height of header, 6em brings just under */
+
  border: 2px solid black;
    /* bottom: 5em; /* 5em puts us above the footer; not bad but too low when TOC is collapsed */
+
  border-collapse: collapse;
 
    z-index: 10000; /* Ensure we float above the header, etc. */
 
 
    /* Add opacity (translucency) */
 
    background-color: rgb(249, 249, 249);
 
    background-color: rgba(249, 249, 249, 0.9); /* Higher opacity (last arg) means less transparency */
 
 
}
 
}
/* Ensure the TOC height doesn't take over the screen; percentages may be higher than view port, so we use pixels */
+
 
#toc > ul {
+
.EquipmentListTable td,th
    max-height: 350px;
+
{
    overflow: auto;
+
  border: 2px solid black;
 +
  padding: 10px;
 
}
 
}
.toctoggle {
+
 
    float: right;
+
 
 +
.SoftwareTable
 +
{
 +
  background-color: #f8f8f8;
 +
  border: 2px solid black;
 +
  border-collapse: collapse;
 +
  width: 100%
 +
}
 +
 
 +
.SoftwareTable td,th
 +
{
 +
  border: 2px solid black;
 +
  padding: 10px;
 +
}
 +
 
 +
.SoftwareEntry
 +
{
 +
  background-color: #f8f8f8;
 +
  border: 2px solid black;
 +
  border-collapse: collapse;
 +
}
 +
 
 +
.SoftwareEntry td,th
 +
{
 +
  border: 2px solid black;
 +
  padding: 10px;
 
}
 
}

Latest revision as of 20:20, 10 July 2019

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

.EquipmentListTable 
{
  background-color: #f8f8f8;
  border: 2px solid black;
  border-collapse: collapse;
}

.EquipmentListTable td,th
{
  border: 2px solid black;
  padding: 10px;
}


.SoftwareTable
{
  background-color: #f8f8f8;
  border: 2px solid black;
  border-collapse: collapse;
  width: 100%
}

.SoftwareTable td,th
{
  border: 2px solid black;
  padding: 10px;
}

.SoftwareEntry
{
  background-color: #f8f8f8;
  border: 2px solid black;
  border-collapse: collapse;
}

.SoftwareEntry td,th
{
  border: 2px solid black;
  padding: 10px;
}