-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (75 loc) · 1.21 KB
/
Copy pathstyle.css
File metadata and controls
90 lines (75 loc) · 1.21 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
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
line-height: calc(1em + 0.5rem);
font: inherit;
}
.app {
display: grid;
grid-template-rows: auto 1fr auto;
min-height: 100dvh;
font-family: system-ui, sans-serif;
}
img {
display: block;
max-width: 100%;
}
button {
display: block;
min-width: 7rem;
padding: 0.5rem 1rem;
margin: 0.5rem auto 0;
}
header {
padding: 1rem;
background-color: lightgray;
}
.logo {
display: flex;
align-items: center;
gap: 0.625rem;
font-size: 2rem;
font-weight: 600;
& svg {
width: 1em;
height: auto;
font-size: calc(3rem);
}
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(10rem, 20rem));
justify-content: space-around;
margin: 1rem;
}
.book {
border-radius: 15px;
padding: 2rem;
border: 1px solid black;
text-align: center;
}
.book__title {
font-size: 1.5rem;
font-weight: 600;
}
.book__body {
line-height: 1.5;
}
footer > * {
display: flex;
}
.source-code::before {
content: "|";
margin: 0 1rem;
}
.source-code {
display: flex;
}
.icon {
margin-right: 0.25rem;
}