-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
127 lines (109 loc) · 2.26 KB
/
main.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
body {
--active-brightness: 0.85;
--border-radius: 5px;
--box-shadow: 2px 2px 10px;
--color-accent: #118bee15;
--color-bg: #333;
--color-bg-secondary: #e9e9e9;
--color-link: #369;
--color-secondary: #4F5B93;
--color-secondary-accent: #7A86B8;
--color-shadow: rgba(51,51,51,0.3);
--color-table: #7A86B8;
--color-text: #000;
--color-text-secondary: #999;
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--hover-brightness: 1.2;
--justify-important: center;
--justify-normal: left;
--line-height: 1.5;
--width-card: 285px;
--width-card-medium: 460px;
--width-card-wide: 800px;
--width-content: 1080px;
}
.header {
display: flex;
gap: 2rem;
justify-content: space-between;
align-items: flex-start;
margin: 1rem 0;
}
main {
margin-block: 3rem;
padding-block: 1px 1rem;
background-color: var(--color-bg-secondary);
}
h1 {
margin: 0;
}
form {
display: block;
position: sticky;
top: 0;
border: none;
width: calc(100% + 2rem);
max-width: none;
box-shadow: 0 3px 0 transparent;
border-radius: 0;
margin-inline-start: -1rem;
padding: 0.5rem 0;
background-color: var(--color-bg-secondary);
transition: 0.25s box-shadow ease-in-out;
}
input:where([type="date"], [type="time"]) {
min-width: 125px;
}
form.disabled {
pointer-events: none;
position: static;
opacity: 0.3
}
form.is-stuck:not(.disabled) {
box-shadow: 0 3px 3px var(--color-shadow);
}
.form-contents {
padding: 0 1rem;
display: flex;
flex-wrap: wrap;
gap: 0 0.5rem;
}
.form-contents > :is(h1, h2, h3, h4, h5, h6) {
flex-shrink: 0;
flex-basis: 100%;
}
.form-contents .field {
flex-shrink: 0;
}
.form-contents .field-source {
flex-shrink: 0;
flex-basis: 100%;
}
.form-contents .field-output {
flex-basis: 100%;
}
summary > :is(h1, h2, h3, h4, h5, h6) {
display: inline-block;
margin: 0 0 1rem 0;
}
table {
width: 100%;
max-width: 100%;
display: table;
}
table thead {
color: var(--color-bg-secondary);
}
:is(table td, table th) {
text-align: left;
word-wrap: break-word;
white-space: normal;
}
:is(table td, table th):first-child {
max-width: 250px;
}
code {
background-color: transparent;
padding: 0;
font-size: 1.1em;
}