geostat/geo.css

228 wiersze
3.2 KiB
CSS
Czysty Zwykły widok Historia

@import url('https://fonts.googleapis.com/css?family=Lato|Special+Elite|Averia+Serif+Libre');
body {
2020-01-04 18:47:06 +00:00
padding: 0px;
margin: 0px;
background: white;
font-family: 'Lato', serif;
font-weight: normal;
font-size: 14px;
}
h1 {
2020-01-04 18:47:06 +00:00
text-align: center;
font-family: 'Averia Serif Libre', serif;
font-size: 34px;
font-weight: bold;
color: #BBB;
}
h2 {
2020-01-04 18:47:06 +00:00
text-align: center;
font-family: 'Special Elite', serif;
font-size: 26px;
font-weight: bold;
color: #48B;
}
div.basic_stats {
2019-11-10 19:59:21 +00:00
text-align: center;
2020-01-01 23:54:01 +00:00
padding-bottom: 20px;
2019-11-10 19:59:21 +00:00
}
2020-01-04 17:41:15 +00:00
span.value {
font-weight: bold;
}
2020-01-04 18:47:06 +00:00
a:link,
a:visited,
a:hover,
a:active {
color: #48B;
}
2020-01-04 18:47:06 +00:00
table,
dl,
.histogram_others,
.heatmap {
margin-left: auto;
margin-right: auto;
padding-bottom: 20px;
}
.heatmap {
display: block;
}
#footer {
text-align: center;
font-weight: normal;
2020-01-01 23:54:01 +00:00
color: #999;
font-size: 10px;
}
2020-01-04 18:47:06 +00:00
#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
2020-01-01 23:54:01 +00:00
text-decoration: none;
font-weight: bold;
color: #666;
}
.list td {
background: #f0f8ff;
color: #000;
padding-left: 10px;
padding-right: 10px;
}
2020-01-25 14:39:29 +00:00
.list_head td,
td.list_head {
2020-01-04 18:47:06 +00:00
font-weight: bold;
}
.dt td {
2020-01-04 18:47:06 +00:00
background: #CCC;
color: #000;
text-align: center;
}
2020-01-25 14:39:29 +00:00
.dt_head td,
td.dt_head {
font-weight: bold;
width: 4em;
}
td.dt_zero {
2020-01-04 18:47:06 +00:00
color: #888;
}
2020-01-04 18:47:06 +00:00
2020-01-01 23:16:47 +00:00
/* histogram */
.bar {
2020-01-04 18:47:06 +00:00
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 {
2020-01-04 18:47:06 +00:00
content: "";
display: block;
background-color: #48B;
width: var(--percent);
margin-bottom: 10px;
height: 90%;
position: relative;
top: 50%;
transform: translateY(-50%);
}
.text {
2020-01-04 18:47:06 +00:00
/* font-weight: 600;*/
display: flex;
align-items: center;
height: 40px;
width: 200px;
background-color: white;
position: absolute;
left: 0;
justify-content: flex-end;
}
dl {
2020-01-04 18:47:06 +00:00
display: flex;
background-color: white;
flex-direction: column;
width: 100%;
max-width: 700px;
position: relative;
padding: 20px;
padding-top: 0;
}
.histogram_others {
2020-01-04 18:47:06 +00:00
width: 700px;
}
2020-01-01 23:16:47 +00:00
2020-01-04 18:47:06 +00:00
2020-01-01 23:16:47 +00:00
/* collapsible */
2019-11-11 22:28:37 +00:00
.toggle {
2020-01-04 18:47:06 +00:00
display: none;
2019-11-11 22:28:37 +00:00
}
.lbl-toggle {
2020-01-04 18:47:06 +00:00
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;
2019-11-11 22:28:37 +00:00
}
.lbl-toggle:hover {
2020-01-04 18:47:06 +00:00
color: #A02020;
2019-11-11 22:28:37 +00:00
}
.lbl-toggle::before {
2020-01-04 18:47:06 +00:00
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;
2019-11-11 22:28:37 +00:00
}
2020-01-04 18:47:06 +00:00
.toggle:checked+.lbl-toggle::before {
transform: rotate(90deg) translateX(-3px);
2019-11-11 22:28:37 +00:00
}
.collapsible-content {
2020-01-04 18:47:06 +00:00
font-size: 12px;
max-height: 0px;
overflow: hidden;
transition: max-height .25s ease-in-out;
2019-11-11 22:28:37 +00:00
}
2020-01-04 18:47:06 +00:00
.toggle:checked+.lbl-toggle+.collapsible-content {
max-height: 10000em;
2019-11-11 22:28:37 +00:00
}
.collapsible-content .content-inner {
2020-01-04 18:47:06 +00:00
background: rgba(240, 245, 255, 1);
padding: .5rem 1rem;
2019-11-11 22:28:37 +00:00
}
2020-01-04 18:47:06 +00:00
2020-01-25 14:27:37 +00:00
/* index-related rules */
2020-01-25 12:21:01 +00:00
.row {
2020-01-25 14:27:37 +00:00
display: flex;
width: 900px;
margin-left: auto;
margin-right: auto;
2020-01-25 12:21:01 +00:00
}
.column {
2020-01-25 14:27:37 +00:00
flex: 50%;
}
.center {
text-align: center;
}
input[type=number] {
width: 60px;
}