Sjabloon:Taalbedreigingstatus/styles.css

/* Based on idwiki [[:id:templat:status pemertahanan bahasa/styles.css]]*/
/* NOTE: Due to different nesting, the template was adapted locally on af.wiki.*/
/* This is considerably the most stable version, do NOT directly copy from id.wiki */
/* you may translate maintance messages to afrikaans */

/* main container */
.flex-container {
  justify-content: center;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
/* data container*/
.flex-container > div {
  margin: 1px;
  text-align: left;
  justify-content: center;
}

.sk-container {
  display: flex;
  width: auto;
}

.sk-container > div {
  margin: 1px;
  text-align: center;
  float: none;
}
/* extinct */
.EX-hover:hover {
background:black;
color:white;
}
/* critical */
.CR-hover:hover {
background: red; 
color: black;
}
/* severe */
.SE-hover:hover {
background: orange; 
color: black;
}
/* devinitely */
.DE-hover:hover {
background: yellow; 
color: black;
}
/* vulnerable */ 
.VU-hover:hover {
background: yellowgreen; 
color: black;
}
/* Not Endangered*/
.NE-hover:hover {
background: silver; 
color: black;
}
/* hover */
.EX-hover a {color:white}
.EX-hover:hover {color: white}

.CR-hover a {color: black;}
.CR-hover:hover a {color: black;}

.SE-hover a {color: black;}
.SE-hover:hover a {color: black;}

.DE-hover a {color: black;}
.DE-hover:hover a {color: black;}

.VU-hover a {color: black;}
.VU-hover:hover a {color: black;}

.NE-hover a {color: black;}
.NE-hover:hover a {color: black;}
/* popup text */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #F8F9FB;
  color: black;
  line-height: 1.2;
  text-align: center;
  border-radius: 3px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
  border:1px solid #C8CBD0;
  font-size:60%;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  font-size:60%;
  border-color: transparent transparent #C8CBD0 transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  border:1px solid #C8CBD0;
  font-size:70%
}

.tooltip .tooltiptext {
    opacity: 0;
    transition: opacity 0.15s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Insert maintace category here */