-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
64 lines (63 loc) · 1.22 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
body {
background-color: Canvas;
color: CanvasText;
color-scheme: light dark;
font-family: system-ui;
margin: 1rem;
}
place-list {
&::part(list) {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
list-style: none;
padding: 0;
gap: 1em;
}
&::part(item) {
background-color: Canvas;
border-radius: 1rem;
padding: 1rem;
box-shadow: 0 .5rem 1rem ButtonFace;
border: 1px solid ButtonBorder;
text-align: center;
}
&::part(image) {
width: 100%;
border-radius: 1rem;
aspect-ratio: 1;
}
&::part(title) {
background-color: CanvasText;
position: relative;
margin: -1em 1rem 1rem;
padding: .5em 1em;
font-size: 1.2rem;
color: Canvas;
}
&::part(tags) {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: .5rem;
font-size: smaller;
}
&::part(tag) {
background-color: AccentColor;
color: AccentColorText;
padding: .5em;
border-radius: .5rem;
}
&::part(Earth) {
background-color: darkolivegreen;
}
&::part(Air) {
background-color: steelblue;
}
&::part(Fire) {
background-color: firebrick;
}
&::part(Water) {
background-color: cadetblue;
}
}