/* Todo: use some unique class, not "wrap" */
.wrap table {
width: 100%;
border-collapse: collapse;
margin-bottom: 30px;
border: 1px solid #a2a9b1;
}
.wrap table th {
padding: 10px;
font-size: 1.2em;
font-weight: bold;
color: #ffffff !important;
text-align: center;
}
.table-elementary th { background-color: #5c5c8a !important; }
.table-engineering th { background-color: #c68642 !important; }
.table-medicine th { background-color: #3d8c40 !important; }
.table-science th { background-color: #008b8b !important; }
.table-security th { background-color: #a32626 !important; }
.table-antagonists th { background-color: #1a1a1a !important; }
.wrap table td {
text-align: center !important;
vertical-align: top !important;
padding: 15px 5px !important;
width: 25%;
border: 1px solid #f0f0f0;
}
.wrap table td img {
display: block !important;
margin: 0 auto 8px auto !important;
width: 48px !important;
height: 48px !important;
object-fit: contain;
}
.wrap table td a {
display: block !important;
line-height: 1.2;
font-weight: bold;
color: #0066cc;
text-decoration: none;
}
.wrap table td a:hover {
text-decoration: underline;
}
/* Todo: use css vars */
/*
.table-engineering { background-color: {{ColorPalette|Engineering|Light}}; }
.table-engineering th { background-color: {{ColorPalette|Engineering|Secondary}}; }
.table-medicine { background-color: {{ColorPalette|Medical|Light}}; }
.table-medicine th { background-color: {{ColorPalette|Medical|Secondary}}; }
.table-science { background-color: {{ColorPalette|Science|Light}}; }
.table-science th { background-color: {{ColorPalette|Science|Secondary}}; }
.table-security { background-color: {{ColorPalette|Security|Light}}; }
.table-security th { background-color: {{ColorPalette|Security|Secondary}}; }
.table-civil { background-color: {{ColorPalette|Service|Light}}; }
.table-civil th { background-color: {{ColorPalette|Service|Primary}}; }
.table-civil td { width: 20%; }
.table-antagonists { background-color: {{ColorPalette|Antagonist|Transparent}}; }
.table-antagonists td { width: 20%; }
.table-antagonists th {
background-color: {{ColorPalette|Antagonist|Primary}};
color: {{ColorPalette|Antagonist|Header Text}};
}
.table-other { background-color: {{ColorPalette||Light}}; }
.table-other th { background-color: {{ColorPalette||Secondary}}; }
.table-technical { background-color: {{ColorPalette|Special|Light}}; }
.table-technical th { background-color: {{ColorPalette|Special|Secondary}}; }
*/
.tlp {
display: inline-block;
position: relative;
font-size: 80%;
font-weight: bold;
}
.tlp.tlp-warning { color: red; }
.tlp.tlp-warning:before { content: " ❗"; }
.tlp.tlp-notice { color: black; }
.tlp.tlp-notice:before { content: " ❓"; }
.tlp > span {
position: absolute;
background-color: gold;
color: black;
border-radius: 7px;
box-shadow: 4px 4px 7px -3px grey;
padding: 4px;
min-width: 140px;
top: -10px;
right: 9999px;
opacity: 0;
transition: opacity linear 0.15s;
}
.tlp > span:before {
content: " ";
position: absolute;
top: 50%;
left: -14px;
width: 0;
height: 0;
margin-top: -6px;
border: 8px solid transparent;
border-right-color: gold;
}
.tlp:hover > span {
right: -162px;
opacity: 1;
}
.wrap .hidden-anchor {
display: none;
}
.wrap h1 {
border-bottom: initial;
}