mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-07 03:33:39 +02:00
116 lines
1.7 KiB
CSS
116 lines
1.7 KiB
CSS
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
font-family: 'Lora', serif;
|
|
}
|
|
|
|
*, *:before, *:after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background: #fff;
|
|
color: #000;
|
|
}
|
|
|
|
#map {
|
|
height: 100%;
|
|
}
|
|
|
|
#filter-picker {
|
|
position: absolute;
|
|
z-index: 10;
|
|
top: 6px;
|
|
right: 6px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#filter-picker ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
#filter-picker a {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.year-filter li {
|
|
display: inline-block;
|
|
}
|
|
|
|
.year-filter a {
|
|
display: block;
|
|
width: 72px;
|
|
padding: 12px;
|
|
margin: 3px;
|
|
background: #222;
|
|
text-decoration: none;
|
|
color: #ddd;
|
|
text-align: center;
|
|
transition: background .3s ease;
|
|
}
|
|
|
|
.year-filter a:hover {
|
|
background: #333;
|
|
}
|
|
|
|
.year-filter .active a {
|
|
background: #444;
|
|
}
|
|
|
|
.category-filter {
|
|
text-align: right;
|
|
}
|
|
|
|
.category-filter li {
|
|
margin: 12px 0;
|
|
opacity: .5;
|
|
transition: opacity .3s ease;
|
|
}
|
|
|
|
.category-filter li.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.category-filter a {
|
|
text-decoration: none;
|
|
color: #333;
|
|
padding: 6px;
|
|
text-shadow: 0 0 20px 20px rgba(255,255,255,.8);
|
|
position: relative;
|
|
}
|
|
|
|
.category-filter a:after {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
border: 2px solid #f00;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: -.5em;
|
|
margin-top: -4.5px;
|
|
}
|
|
|
|
.category-filter .racism a:after {
|
|
border-color: #F8B195;
|
|
}
|
|
|
|
.category-filter .antisemitism a:after {
|
|
border-color: #F67280;
|
|
}
|
|
|
|
.category-filter .sexism a:after {
|
|
border-color: #C06C84;
|
|
}
|
|
|
|
.category-filter .homophobia a:after {
|
|
border-color: #6C5B7B;
|
|
}
|
|
|
|
.category-filter .uncategorized a:after {
|
|
border-color: #355C7D;
|
|
}
|