-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
126 lines (110 loc) · 2.3 KB
/
index.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
:root {
--strong: #1c1c1c;
--weak: #5c5c5c;
--muted: #aeaeae;
--background: #fafafa;
--bottom: #eaeaea;
--middle: #dfdfdf;
--top: #bfbfbf;
background-color: var(--background);
padding: 1rem;
display: flex;
flex-direction: column;
align-items: center;
}
body {
width: 64rem;
max-width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 2rem;
}
#equations {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 1rem;
/* font-size: 1.25em; */
/* border: 0.125rem solid var(--bottom);
padding: 1rem;
border-radius: 0.25rem; */
}
#variables {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 1rem;
}
#variables > div {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 0.5rem;
}
#variables > div > label {
/* font-weight: bold; */
white-space: nowrap;
font-size: 1.25rem;
}
#variables > div > input {
background: none;
border: 0.125rem solid var(--bottom);
height: 2.5rem;
font-size: 1rem;
padding: 0 0.5rem;
border-radius: 0.25rem;
}
#variables > div > input:focus-visible {
outline: 0.125rem solid var(--strong);
}
table.matrix {
border-collapse: collapse;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 0.25rem;
}
table.matrix tr {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 0.25rem;
}
table.matrix td {
height: 2.5rem;
width: 2.5rem;
border: 0.125rem solid var(--bottom);
border-radius: 0.25rem;
}
table.matrix td input {
background: none;
outline: none;
height: 100%;
width: 100%;
font-size: 1rem;
text-align: center;
border: none;
border-radius: 0.25rem;
}
table.matrix td input:focus-visible {
outline: 0.125rem solid var(--strong);
}
table.matrix td input[type=number]::-webkit-inner-spin-button,
table.matrix td input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}