geostat/geo.css

183 wiersze
2.8 KiB
CSS
Czysty Zwykły widok Historia

@import url('https://fonts.googleapis.com/css?family=Lato|Special+Elite|Averia+Serif+Libre');
body {
padding: 0px;
margin: 0px;
background: white;
font-family: 'Lato', serif;
font-weight: normal;
font-size: 14px;
}
h1 {
text-align: center;
font-family: 'Averia Serif Libre', serif;
font-size: 34px;
font-weight: bold;
color: #BBB;
}
h2 {
text-align: center;
font-family: 'Special Elite', serif;
font-size: 26px;
font-weight: bold;
color: #48B;
}
2019-11-18 13:50:53 +00:00
form {
text-align: center;
}
2019-11-10 19:59:21 +00:00
div.basic_stats {
text-align: center;
}
table, dl, .histogram_others, .heatmap {
margin-left: auto;
margin-right: auto;
padding-bottom: 20px;
}
.heatmap {
display: block;
}
.dt_head {
font-weight: bold;
}
td {
width: 4em;
background: #CCC;
color: #000;
text-align: center;
}
td.dt_zero {
color: #888;
}
.bar {
font-size: .8em;
line-height: 1;
text-transform: uppercase;
width: 500px;
height: 40px;
margin-left: 200px;
background: repeating-linear-gradient(
to right,
#ddd,
#ddd 1px,
#fff 1px,
#fff 5%
);
}
.bar:after {
content: "";
display: block;
background-color: #48B;
2019-11-09 10:32:41 +00:00
width: var(--percent);
margin-bottom: 10px;
height: 90%;
position: relative;
top: 50%;
transform: translateY(-50%);
}
.text {
/* font-weight: 600;*/
display: flex;
align-items: center;
height: 40px;
width: 200px;
background-color: white;
position: absolute;
left: 0;
justify-content: flex-end;
}
dl {
display: flex;
background-color: white;
flex-direction: column;
width: 100%;
max-width: 700px;
position: relative;
padding: 20px;
padding-top: 0;
}
.histogram_others {
width: 700px;
}
/*
dt {
align-self: flex-start;
width: 100%;
display: block;
text-align: center;
margin-bottom: 20px;
margin-left: 130px;
}
*/
2019-11-11 22:28:37 +00:00
.wrap-collabsible {
margin-bottom: 1.2rem 0;
}
.toggle {
2019-11-11 22:28:37 +00:00
display: none;
}
.lbl-toggle {
display: inline;
font-weight: bold;
font-family: 'Lato', serif;
color: #48B;
cursor: pointer;
border-radius: 7px;
transition: all 0.25s ease-out;
padding-left: 1em;
}
.lbl-toggle:hover {
color: #A02020;
}
.lbl-toggle::before {
content: ' ';
display: inline-block;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid currentColor;
vertical-align: middle;
margin-right: .7rem;
transform: translateY(-2px);
transition: transform .2s ease-out;
}
.toggle:checked + .lbl-toggle::before {
transform: rotate(90deg) translateX(-3px);
}
.collapsible-content {
font-size: 12px;
max-height: 0px;
overflow: hidden;
transition: max-height .25s ease-in-out;
}
.toggle:checked + .lbl-toggle + .collapsible-content {
max-height: 10000em;
}
.collapsible-content .content-inner {
background: rgba(240, 245, 255, 1);
padding: .5rem 1rem;
}