-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtog.css
130 lines (130 loc) · 2.33 KB
/
tog.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
body {
/* Font size and family set only to match text area */
font-size: 16px;
font-family: serif;
margin: 0 auto 0 auto;
max-width: 1500px;
}
body > div {
padding: 0 5% 0 5%;
}
body > div:first-child {
background-color: black;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
color: white;
position: relative;
}
body > div:first-child h1 {
margin: 0;
padding: 2px 0 10px 0;
}
body > div:nth-child(2) > div {
float: left;
padding: 0 10px 10px 10px;
width: 45%;
}
body > div:nth-child(2) > div:first-child {
padding-left: 0;
}
body > div:nth-child(2) > div:nth-child(2) {
background-color: #eee;
}
body > *:last-child {
clear: both;
font-size: x-small;
}
blockquote {
font-style: italic;
}
h2 {
margin-top: 0.6em;
margin-bottom: 0.2em;
}
form {
float: right;
padding: 1em 0 1em 0;
width: 100%;
}
form.disabled {
color: gray;
}
fieldset {
border: thin solid #ccc;
display: inline-block;
width: 33%;
}
fieldset > * {
display: block;
}
.test {
background-color: #36a;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
height: 320px;
position: relative;
opacity: 0;
overflow: hidden;
}
.test textarea {
background-color: white;
border-top: thin solid #ccc;
border-right: none;
border-bottom: thin solid #ccc;
border-left: thin solid #ccc;
margin: 0; /* Visible in Firefox only */
height: 100%;
font-size: 75px;
resize: none;
overflow: hidden;
width: 100%;
}
.test button.start {
background-color: rgba(255, 255, 255, 0.9);
border: thin solid #ccc;
font-weight: bold;
height: 100%;
position: absolute;
left: 0;
top: 0;
width: 100%;
}
.test .status {
color: white;
position: absolute;
left: 100%;
top: 0;
width: 20%;
}
.test .status > * {
margin-left: 5px;
margin-right: 5px;
}
.results {
background-color: white;
border: thin solid #ccc;;
height: 100%;
left: 100%;
position: absolute;
padding: 1ex;
top: 0;
width: 100%;
}
.results h2 {
margin-top: 0;
}
.results tr {
text-align: right;
}
.progress-bar {
background-color: maroon;
border: thin solid black;
position: relative;
height: 1ex;
}
.progress-bar > * {
background-color: white;
height: 100%;
width: 0;
}
.keyboard textarea:hover {
cursor: none;
}