-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (82 loc) · 1.65 KB
/
style.css
File metadata and controls
97 lines (82 loc) · 1.65 KB
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
@font-face {
font-family: "D2 Coding";
font-weight: 400;
src: url("./font/D2Coding-Ver1.3.2-20180524.woff") format("woff");
}
@font-face {
font-family: "D2 Coding";
font-weight: 700;
src: url("./font/D2CodingBold-Ver1.3.2-20180524.woff") format("woff");
}
body {
font-family: "D2 Coding";
text-align: center;
margin: 0;
line-height: 1.5;
}
table {
border: 1px solid #808080;
}
@media all and (prefers-color-scheme: dark) {
body {
background-color: #111111;
color: #eeeeee;
}
}
@media all and (prefers-color-scheme: light) {
body {
background-color: #eeeeee;
color: #111111;
}
}
@media all and (min-aspect-ratio: 1/1) {
h1 {
height: 5vh;
margin: 2.5vh 0 2.5vh 0;
}
#graph-container {
display: flex;
justify-content: space-between;
width: 100%;
height: 88vh;
}
#graph {
flex: 1;
height: 100%;
border-right: 2px solid #ccc;
}
#viewer {
flex: 1;
height: 100%;
overflow-y: auto;
padding: 10px;
text-align: left;
}
}
@media all and (max-aspect-ratio: 1/1) {
h1 {
height: 3vh;
font-size: 2.5vh;
}
ol {
margin-left: 4vw;
}
ul {
margin-left: 4vw;
}
#graph-container {
width: 100%;
}
#graph {
width: 100%;
height: 80vmin;
border-top: 2px solid #ccc;
border-bottom: 2px solid #ccc;
}
#viewer {
font-size: 3vw;
height: auto;
padding: 0 3vmin 0 3vmin;
text-align: left;
}
}