forked from PreTeXtBook/CSS_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
features.css
245 lines (217 loc) · 4.39 KB
/
features.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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
/*
*
* login
*
*/
/* Bordered form */
.login form {
border: 3px solid #f1f1f1;
}
/* Full-width inputs */
.login input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
/* Set a style for all buttons */
.login button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
.login .instructions {
padding-left: 1em;
}
/* Add a hover effect for buttons */
.login button:hover {
opacity: 0.8;
}
/* Add padding to containers */
.login .container {
padding: 16px;
padding-bottom: 32px;
}
/* The "Forgot password" text */
.login span.psw {
float: right;
}
/* The Modal (background) */
.login.modal {
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
padding-top: 60px;
}
/* Modal Content/Box */
.login .modal-content {
background-color: #fefefe;
margin: 5px auto; /* 15% from the top and centered */
border: 1px solid #888;
width: 50%; /* Could be more or less, depending on screen size */
}
/* The Close Button */
.login .close {
/* Position it in the top right corner outside of the modal */
position: absolute;
right: 25px;
top: 0;
color: #000;
font-size: 35px;
font-weight: bold;
}
/* Close button on hover */
.login .close:hover,
.login .close:focus {
color: red;
cursor: pointer;
}
/* Add Zoom Animation */
.login .animate {
animation: animatezoom 0.6s
}
.login-link {
position: absolute;
right: 10px;
top: 10px;
cursor: pointer;
}
.login-link > * {
visibility: hidden;
}
.login-link:hover > * {
visibility: visible;
background-color: #fcc;
}
#dontlogout {
float: right;
font-size: 80%;
cursor: pointer;
}
#dontlogout:hover {
background-color: #fdd;
}
/*
*
* reading questions
*
*/
.rq_answer {
background: #ffd;
}
.addcontent, .action, .submit {
cursor: pointer;
}
.addcontent:hover, .action:hover {
background: #eff;
}
.action + .action {
margin-left: 0.25em;
}
.action + .amhelp {
margin-left: 8.25em;
}
.input_controls {
font-family: sans-serif;
font-weight: lighter;
font-size: 90%;
background: #fff;
padding-left: 0.5em;
padding-bottom: 1ex;
margin-top: -0.1em;
margin-bottom: -1.6em;
}
textarea + .input_controls {
margin-top: 0;
}
.input_controls .action {
border: 1px solid #aaa;
border-radius: 3px;
padding: 1px 2px;
}
.clear_item:hover {
background: #fdd;
}
.save_item:hover, .edit_item:hover {
background: #dfd;
}
.hidecontrols {
display: none;
}
.given_answer {
font-family: monospace;
font-family: "Lucida Console", Monaco, monospace;
white-space: pre-wrap;
margin-top: 0.5em;
margin-bottom: -0.5em;
}
article.exercise-like textarea {
font-family: "Lucida Console", Monaco, monospace;
resize: vertical;
}
.compiled_answers {
border: 0.7em solid #dfd;
border-top: 0.35em;
margin-top: 1em;
}
.s_id {
font-size: 80%;
padding-top: 0.4em;
padding-left: 0.5em;
display: inline;
}
.rq_sub_time {
font-size: 70%;
padding-top: 0.5em;
padding-right: 0.5em;
float: right;
display: inline;
}
.s_ans {
font-family: "Lucida Console", Monaco, monospace;
white-space: pre-wrap;
width: 480px;
margin-left: 3em;
padding-bottom: 0.5em;
}
.noanswer .s_ans {
font-style: italic;
font-size: 80%;
margin-left: 4em;
}
.one_answer:nth-of-type(odd) {
background: #dfd;
}
/*
*
* highlights
*
*/
#hlmenu {
z-index: 1000;
}
#hlmenu *:hover {
cursor: pointer;
}
span.hl { background: yellow; }
#hlmenu { position: absolute; top: 300px; left: 200px;}
#hlmenu { padding: 8px; background: #FFF; }
#hlmenu { box-shadow: 8px 10px 5px #888; border: 1px solid #aaa;}
#hlmenu .hldelete { background: #fdd; }
#hlmenu .hldelete:hover { background: #fbb; }
#hlmenu .hlcopy { background: #ddf; }
#hlmenu .hlcopy:hover { background: #bbf; }
#hlmenu .dismiss:hover { background: #ff9; }
#hlmenu > div { padding: 4px; font-size: 90%}