-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyles.css
More file actions
108 lines (108 loc) · 1.81 KB
/
Copy pathstyles.css
File metadata and controls
108 lines (108 loc) · 1.81 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
98
99
100
101
102
103
104
105
106
107
108
* {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 1.5;
box-sizing: border-box;
}
html {
color-scheme: light dark;
padding: 1rem;
}
ul {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
li a {
display: flex;
align-items: center;
text-decoration: none;
color: inherit;
gap: 1rem;
border: 1px solid light-dark(#ccc, #444);
padding: 1rem;
}
main {
max-width: 35rem;
margin: auto;
}
form {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
}
input {
font-size: 1.25rem;
width: 100%;
}
button {
font-size: 1.25rem;
/* // override apple styles, but keep firefox */
-webkit-appearance: none;
appearance: none;
background-color: orange;
border: 1px solid light-dark(black, orange);
color: black;
flex: 1 40%;
}
footer {
text-align: center;
margin-top: 2rem;
}
ul li img {
height: 3rem;
}
ul li {
font-size: 1.25rem;
}
hgroup {
text-align: center;
margin-top: 3rem;
}
h1 {
margin-top: 0;
}
pre {
background-color: light-dark(#f5f5f5, #333);
padding: 1rem;
overflow-x: auto;
font-size: 0.9rem;
border-radius: 0.25rem;
}
article {
margin-bottom: 5rem;
}
h2 {
margin-top: 2rem;
margin-bottom: 0;
}
h2 + p {
margin-top: 0.5rem;
}
h1 a {
color: inherit;
text-decoration: none;
}
a {
color: light-dark(#ac5e00, orange)
}
footer {
margin-bottom: 3rem;
}
@media (max-width: 600px) {
ul {
grid-template-columns: 1fr;
}
form {
flex-direction: column;
}
}
#demo-screenshot {
width: 100%;
border: 1px solid light-dark(#ccc, #444);
}
#link {
display: none;
}