-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyl.css
116 lines (107 loc) · 2.14 KB
/
styl.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
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
/* adds animation for all transitions */
-webkit-transition: .25s ease-in-out;
-moz-transition: .25s ease-in-out;
-o-transition: .25s ease-in-out;
transition: .25s ease-in-out;
margin: 0;
padding: 0;
-webkit-text-size-adjust: none;
}
/* Makes sure that everything is 100% height */
html,
body {
height: 100%;
overflow: hidden;
}
/* gets the actual input out of the way;
we're going to style the label instead */
#drawer-toggle {
position: absolute;
opacity: 0;
}
#drawer-toggle-label {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
left: 0px;
height: 50px;
width: 50px;
display: block;
position: fixed;
background: none;
z-index: 1;
}
/* adds our "hamburger" menu icon */
#drawer-toggle-label:before {
content: '';
display: block;
position: absolute;
height: 2px;
width: 24px;
background: none;
left: 13px;
top: 18px;
box-shadow: 0 6px 0 #8d8d8d, 0 12px 0 #8d8d8d;
}
header {
width: 100%;
position: fixed;
left: 0px;
background: none;
padding: 10px 10px 10px 50px;
font-size: 30px;
line-height: 30px;
z-index: 0;
}
#drawer {
position: fixed;
top: 0;
left: -300px;
height: 100%;
width: 300px;
background: none;
overflow-x: hidden;
overflow-y: scroll;
padding: 20px;
-webkit-overflow-scrolling: touch;
}
/* actual page content pane */
#page-content {
margin-left: 0px;
margin-top: 50px;
width: 100%;
height: calc(100% - 50px);
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
padding: 20px;
}
#drawer-toggle:checked ~ #drawer-toggle-label {
height: 100%;
width: calc(100% - 300px);
background: none;
}
#drawer-toggle:checked ~ #drawer-toggle-label,
#drawer-toggle:checked ~ header {
left: 300px;
}
#drawer-toggle:checked ~ #drawer {
left: 0px;
}
#drawer-toggle:checked ~ #page-content {
margin-left: 300px;
}
dd {
height:50px;
color: black;
border : 0.5px solid gray;
padding: 20px
}