-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
196 lines (191 loc) · 4.7 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
body{
margin:0px;
padding:0px;
min-width: 870px;
background: url(images/knitting250px.png);
}
h2 {
text-align: center;
font-family: sans-serif;
}
.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#side-bar{
padding: 0px;
position: fixed;
height: 100%;
top:0px;
width:115px;
border-right:10px;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
-moz-opacity: 0.8;
-khtml-opacity: 0.8;
opacity: 0.8;
/* can be treated like a fallback */
background-color: #1b222a;
/* will be "on top", if browser supports it */
background-image: linear-gradient(#1b222a, #262f3b, #1f2731);
/* these will reset other properties, like background-position, but it does know what you mean */
background: #1b222a;
background: linear-gradient(#1b222a, #262f3b, #1f2731);
}
#side-bar span{
cursor: pointer;
text-align: center;
font-family: sans-serif;
font-size: 12px;
margin: 0px;
padding: 0px;
display: block;
color: #f5f6f7;
background-color: #405063;
padding: 8px 3px 8px 3px;
-webkit-animation: lessonShow 1s; /* Safari 4+ */
-moz-animation: lessonShow 1s; /* Fx 5+ */
-o-animation: lessonShow 1s; /* Opera 12+ */
animation: lessonShow 1s; /* IE 10+, Fx 29+ */
}
#side-bar span:hover{
background-color: #6a7c91;
-webkit-animation: lessonFade 1s; /* Safari 4+ */
-moz-animation: lessonFade 1s; /* Fx 5+ */
-o-animation: lessonFade 1s; /* Opera 12+ */
animation: lessonFade 1s; /* IE 10+, Fx 29+ */
}
@-webkit-keyframes lessonShow {
0% { background-color: #6a7c91; }
100% { background-color: #405063; }
}
@-moz-keyframes lessonShow {
0% { background-color: #6a7c91; }
100% { background-color: #405063; }
}
@-o-keyframes lessonShow {
0% { background-color: #6a7c91; }
100% { background-color: #405063; }
}
@keyframess lessonShow {
0% { background-color: #6a7c91; }
100% { background-color: #405063; }
}
@-webkit-keyframes lessonFade {
0% { background-color: #405063; }
100% { background-color: #6a7c91; }
}
@-moz-keyframes lessonFade {
0% { background-color: #405063; }
100% { background-color: #6a7c91; }
}
@-o-keyframes lessonFade {
0% { background-color: #405063; }
100% { background-color: #6a7c91; }
}
@keyframes lessonFade {
0% { background-color: #405063; }
100% { background-color: #6a7c91; }
}
.hide {
margin-left: -115px;
-webkit-animation: hideSidebar 2s; /* Safari 4+ */
-moz-animation: hideSidebar 2s; /* Fx 5+ */
-o-animation: hideSidebar 2s; /* Opera 12+ */
animation: hideSidebar 2s; /* IE 10+, Fx 29+ */
}
.show {
margin-left: 0px;
-webkit-animation: showSidebar 2s; /* Safari 4+ */
-moz-animation: showSidebar 2s; /* Fx 5+ */
-o-animation: showSidebar 2s; /* Opera 12+ */
animation: showSidebar 2s; /* IE 10+, Fx 29+ */
}
@-webkit-keyframes showSidebar {
0% { margin-left: -115px; }
100% { margin-left: 0px; }
}
@-moz-keyframes showSidebar {
0% { margin-left: -115px; }
100% { margin-left: 0px; }
}
@-o-keyframes showSidebar {
0% { margin-left: -115px; }
100% { margin-left: 0px; }
}
@keyframes showSidebar {
0% { margin-left: -115px; }
100% { margin-left: 0px; }
}
@-webkit-keyframes hideSidebar {
0% { margin-left: 0px; }
100% { margin-left: -115px; }
}
@-moz-keyframes hideSidebar {
0% { margin-left: 0px; }
100% { margin-left: -115px; }
}
@-o-keyframes hideSidebar {
0% { margin-left: 0px; }
100% { margin-left: -115px; }
}
@keyframes hideSidebar {
0% { margin-left: 0px; }
100% { margin-left: -115px; }
}
#toggler{
cursor: pointer;
padding-left: 2px;
font-family: sans-serif;
z-index: 99;
line-height: 50px;
position: absolute;
height: 50px;
width: 15px;
background-color: #c2185b;
margin: auto;
top:0;
color:white;
bottom: 0;
left:100%;
-webkit-border-radius: 0 12px 12px 0 ;
}
#content{
display: block;
margin: 0 auto;
width: 66%;
min-width: 600px;
}
#content p{
text-align: justify;
}
img{
display: block;
margin:0 auto;
}
.img-desc{
display: table;
margin: 0 auto;
font-style: italic;
}
.warn{
background-color: white;
padding: 10px;
font-size: 16px;
font-family: sans-serif;
font-weight: bold;
border: 2px solid green;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px; /* future proofing */
-khtml-border-radius: 10px; /* for old Konqueror browsers */
}
.warn i{
font-size: 30px;
padding:0 10px 3px 10px;
color:#c2185b;
}