summaryrefslogtreecommitdiff
path: root/panel.css
blob: 21f9a0a102640c4458b69c3d09f596747048a09e (plain) (blame)
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
#panellist{
padding:0;
list-style-type:none;
}
#panel li h1 {
position:relative;
left:-0.6em;
margin:0;
font-weight:normal;
}
#panel li h2 {
position:relative;
left:-0.3em;
margin:0;
font-weight:normal;
}
#panel li h3 {
position:relative;
left:-0.3em;
margin:0;
font-weight:normal;
}
#panel li a {
display:block;
padding-left:1.5em;
padding-top:0.5em;
padding-bottom:0.5em;
}
#panel li a#paneltoggle {
text-align:right;
padding:0.1em;
padding-right:0.3em;
}
#panel li span {
display:block;
padding-left:1.5em;
padding-top:0.5em;
padding-bottom:0.5em;
}
#panel {
width:16em;
height:100%;
overflow-y:auto;
position:fixed;
top:0;
left:0;
transition:left 0.4s;
z-index:999;
}
#panel .themesw {
text-align:center;
padding-top:0.5em;
}
#content {
margin-left: 16em;
}
#content.expanded {
margin-left: 1em;
}
#panel.collapsed {
left:-15em;
}
#panel li a#paneltoggle::after {content:'«';}
#panel.collapsed li a#paneltoggle::after {content:'»';}
#content p{text-indent:2em;}
#content .block h2{font-weight:normal;}
#content .block h3{font-weight:normal;}
#content .block {
display: none;
padding: 1em;
}
div.footer{
	position:fixed;
	bottom:0;
	left:16em;
	padding-bottom:0.5em;
	width:calc(100% - 16em);
}
#content.expanded + div.footer{
	left:1em;
	width:calc(100% - 1em);
}
#content.expanded > div.footer{
	left:1em;
	width:calc(100% - 1em);
}
@media (max-width:768px)
{
	#panel{left:-15em;}
	#content{margin-left:1em;}
	div.footer{width:calc(100% - 1em);left:1em;}
	#panel li a#paneltoggle{display:none;}
}