-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
77 lines (68 loc) · 1.3 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
html, body {
margin: 0; padding: 0;
font-family: 'Computer Modern Serif', 'MathJax_Main', 'Old Standard TT', Cambria, Georgia, serif;
overflow: hidden;
}
body {
position: relative;
height: 100vh;
display: flex;
flex-direction: row;
align-items: stretch;
}
csf-app {
flex: 1 0 1px;
-ms-touch-action: none;
}
div#info {
flex: 0 0 250px;
padding: 0.5em;
border-left: 1px solid black;
overflow-y: auto;
}
#info p{
margin-top: 0;
margin-bottom: 1em;
}
a.title {
font-size: 120%;
line-height: 0.8em;
}
a,a:visited {
color: #4B8CC0;
text-decoration: none;
}
a:hover {
color: #569CE7;
text-decoration: underline;
}
@media all and (max-width: 500px) { /* Should capture portrait smartphones */
body {
flex-direction: column;
}
div#info {
border-left: none;
border-top: 1px solid black;
flex: 0 0 200px;
}
}
#controls {
border-bottom: 1px solid black;
margin: -0.5em -0.5em 0.5em -0.5em;
padding: 0.5em 0.5em 0 0.5em;
}
#controls h2 {
margin: 0;
font-weight: normal;
font-size: 120%;
}
#controls label {
margin: 10px;
display: block;
}
#controls .hint {
border-bottom: 1px dotted black;
}
input[type=range], input[type=checkbox] {
margin-right: 10px;
}