mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Add year picker
This commit is contained in:
parent
155874f689
commit
c75a34c250
14 changed files with 67 additions and 9703 deletions
|
|
@ -2,6 +2,11 @@ html, body {
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
font-family: 'Lora', serif;
|
||||
}
|
||||
|
||||
*, *:before, *:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
@ -12,3 +17,40 @@ body {
|
|||
#map {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#year-picker {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
#year-picker ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#year-picker li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#year-picker a {
|
||||
display: block;
|
||||
width: 72px;
|
||||
padding: 12px;
|
||||
margin: 3px;
|
||||
background: #222;
|
||||
text-decoration: none;
|
||||
color: #ddd;
|
||||
text-align: center;
|
||||
transition: background .3s ease;
|
||||
}
|
||||
|
||||
#year-picker a:hover {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
#year-picker .active a {
|
||||
background: #444;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue