-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
79 lines (65 loc) · 1.33 KB
/
style.css
File metadata and controls
79 lines (65 loc) · 1.33 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
:root {
--white: hsl(0, 0%, 100%);
--slate-300: hsl(212, 45%, 89%);
--slate-500: hsl(216, 15%, 48%);
--slate-900: hsl(218, 44%, 22%);
}
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
width: 100vw;
height: 100vh;
background-color: var(--slate-300);
padding: 1.6rem;
font-size: 1.6rem;
font-family: "Figtree", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.card {
background-color: var(--white);
padding: 1.6rem;
margin-bottom: 1.6rem;
border-radius: 1rem;
box-shadow: 0px 4px 4px rgba(0, 0, 0, .25);
width: 100%;
max-width: 32rem;
}
.card img {
width: 100%;
border-radius: 1rem;
}
.card-content {
padding: 1.6rem;
}
.card-content h3 {
color: var(--slate-900);
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 1.6rem;
}
.card-content p {
color: var(--slate-500);
font-size: 1.5rem;
}
.attribution .author {
background-color: oklch(51.1% 0.262 276.966);
color: var(--white);
padding: 0 1rem;
}