-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
65 lines (53 loc) · 2.82 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
ol.options { margin-top:-0.5em; }
ol.options p, .rubric-item p { margin: 0; padding: 0; }
ol.options > li { list-style: upper-alpha; }
body { background:#ccc; padding-top:1em; }
.question { background: white; border-radius:1ex; padding:0ex 1ex; margin:2ex; }
.directions { background: #eee; padding:1ex 1ex; margin:2ex; }
.multiquestion { background: #eee; border-radius:1ex; padding:0.7ex 0.7ex; }
.multiquestion + .multiquestion { margin-top:1em; }
.submitting { background: #fe7; }
.submitted { background: #dfd; }
.disconnected { background: #f55; }
textarea { background-color: inherit; }
#clock { position:fixed; right:0px; top:0px; background:#ff7; padding-left:0.5ex; padding-bottom:0.5ex; border-bottom-left-radius:1ex; border-left: 1px solid black; border-bottom: 1px solid black;}
.correct { background-color: #bfb; padding: 0ex 1ex; }
.incorrect { background-color: #fbb; padding: 0ex 1ex; }
.hist { color:#777; min-width: 2em; text-align:right; display:inline-block; }
.katex .base { margin: 0.5ex auto; }
.rubric-item { display: flex; align-items: center; }
img.preview { vertical-align: middle; max-height: 10em; box-shadow: 0 0 0.5ex 0.25ex grey; }
ol.options li label { display: flex; align-items: center; border: thin solid #eee; }
ol.options li label input { margin-right: 1ex; }
ol.options li { padding: 0.5ex 0ex; }
ol.options li::marker { color: rgba(0,0,0,0.5); }
div.tinput { display: flex; align-items:center; }
div.tinput textarea { flex-grow: 1; }
div.tinput *:first-child { margin-right: 1ex; }
.explanation { font-family: sans-serif; color: green; }
table { border-collapse: collapse; width:100%; }
thead > tr:last-child { border-bottom: thin black solid; }
th { text-align:left; padding:0ex 1ex; }
tbody > tr:nth-child(2n+1) { background-color:rgba(0,0,0,0.0625); }
td { padding:1ex; }
.question th,td { padding: 0.25ex 1ex; }
.question table { width: auto; margin:auto; }
.question tbody tr:nth-child(2n+1) { background-color:#eee; }
.grade1 { display: grid; margin: 1ex; padding: 1ex; border-radius:1.5ex; }
.grade1:not(.submitted):not(.submitting):not(.disconnected) { background: #fff7; }
.grade1 .submission { grid-column: 1; grid-row:1; display: flex; flex-direction: column; }
.grade1 .submission textarea { flex: 1; }
.grade1 .rubric { grid-column: 2; grid-row:1; }
.grade1 .rubric .row { display: flex; align-items: center; }
.grade1 .rubric .row .cell:last-child { padding-left: 1.5em; }
.grade1 .rubric form { display: flex; flex-direction: column; }
.cell p { margin: 0; text-indent: -1em; }
.cell label { padding: 0.25ex; white-space: pre; }
img.pageview { /* This useage prevents zooming in on image; FIX ME */
max-width: 65vw;
max-height: 90vh;
}
.chat dt { font-weight: bold; }
.chat dt small { font-weight: normal; }
.chat dd { white-space: pre-wrap; font-family: sans-serif; }
.chat dd + dt { margin-top: 1em; }