2020-02-01 22:42:04 +01:00
|
|
|
body > div, ul#sidebar.unactive {
|
2020-01-10 08:36:57 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > div.on {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dialog {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
#dialog > div {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
background: #fff;
|
|
|
|
padding: 0 1em;
|
|
|
|
border: 1px solid #aaa;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dialog p.answers {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dialog button {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#error {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
top: 1em;
|
|
|
|
right: 1em;
|
|
|
|
max-width: 20em;
|
|
|
|
border: 1px solid #e0afac;
|
|
|
|
padding: 1em;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
background: bisque;
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#error.on {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-02-01 22:42:04 +01:00
|
|
|
|
|
|
|
ul#sidebar {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul#sidebar > li {
|
|
|
|
cursor: pointer;
|
|
|
|
float: left;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
}
|