/
styles.css
131 lines (108 loc) · 1.77 KB
/
styles.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
body {
margin: 0;
font-family: helvetica, sans-serif;
font-size: 14px;
line-height: 1.4;
}
#toolbar {
display: flex;
justify-content: space-between;
position: fixed;
width: 100%;
top: 0;
left: 0;
padding: 8px;
background-color: #222;
color: #FFF;
}
#toolbar > div:last-child {
margin-right: 18px;
}
main {
padding-top: 30px;
display: flex;
justify-content: flex-start;
align-items: stretch;
}
#tree {
flex-basis: 20%;
flex-grow: 1;
padding: 8px;
background-color: #EEE;
}
#tree nav {
padding-left: 4px;
font-size: 1.4rem;
width: 1.0rem;
}
/* Default wedge is empty & closed */
#tree li > header nav {
color: #888;
}
#tree li.with-kids > header nav {
color: black;
}
#tree li > header .fa-angle-down {
display: none;
}
#tree li.open > header .fa-angle-down {
display: inline;
}
#tree li.open > header .fa-angle-right {
display: none;
}
#tree li > ul {
display: none;
}
#tree li.open > ul {
display: block;
/*border-left: solid 1px #FFF;*/
}
#tree h2 {
margin: 4px;
font-weight: normal;
font-size: 1.0rem;
white-space: nowrap;
}
#tree ul {
list-style-type: none;
margin-left: 10px;
margin-bottom: 4px;
padding-left: 0;
}
#tree li header {
margin-left: 0;
/*border-top: solid 1px #FFF;*/
display: flex;
justify-content: flex-start;
cursor: pointer;
}
#tree li.current > header h2 {
font-weight: bold;
}
#tree li:last-child {
/*border-bottom: solid 1px #FFF;*/
}
#breadcrumbs {
padding: 8px;
}
#editor {
flex-basis: 80%;
flex-grow: 2;
display: flex;
min-height: 100%;
flex-direction: column;
}
#editor h1 {
padding-left: 8px;
font-size: 1.4rem;
}
#editor article {
flex: 1;
padding: 8px;
font-size: 1.0rem;
}
#footer {
padding: 8px;
background-color: #EEE;
}