-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
72 lines (62 loc) · 1.31 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
body {margin: 0;}
nav
{
line-height: 30px;
background-color: #eeeeee;
height: 100vh;
width: 10vw;
padding: 5px 0;
box-sizing: padding-box;
position: fixed;
top: 0;
overflow: auto;
}
nav .logo
{
max-width: 100%;
}
nav ol
{
list-style: none;
padding: 0;
}
nav a
{
display: block;
color: black;
text-decoration: none;
padding-left: 3px;
}
nav li a:hover {background: #fafafa;}
nav li.folder.selected > a {text-decoration: underline; font-weight: bold;}
nav li.error, nav li.error a {text-decoration: line-through; color: darkred;}
nav li {transition: background-color 1s ease;}
nav li.folder {transition: background-color 2s ease 0.1s;}
nav li.selected {transition: background-color 1s ease-out;}
nav .folder ol {max-height: 0em; overflow: hidden; transition: max-height 1s ease-in-out;}
nav .folder.selected ol {max-height: 10em;}
#content, #page-footer
{
margin-top: 1em;
margin-left: 10vw;
padding: 0 1em 0 1em;
}
#message-box
{
background: darkred;
color: white;
border-radius: 0 0 1.5em 1.5em;
height: 2.5em;
left: calc(50% - 12em);
position: fixed;
text-align: center;
top: -2.5em;
width: 24em;
padding-top: 0.1em;
box-sizing: padding-box;
transition: top 0.5s;
}
#message-box.show
{
top: 0em;
}