-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (69 loc) · 1.55 KB
/
style.css
File metadata and controls
71 lines (69 loc) · 1.55 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
@import url('https://fonts.googleapis.com/css2?family=Outfit&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700&display=swap');
:root {
--blue: hsl(214, 94.2%, 47.6%);
--dark-blue: hsl(218, 44%, 22%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--white: hsl(0, 0%, 100%);
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: "Outfit", sans-serif;
font-size: 0.938rem;
font-style: normal;
font-optical-sizing: auto;
}
section {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
min-height: 100vh;
padding: 1.25rem;
background-color: var(--light-gray);
}
.card {
max-width: 324px;
padding: 1rem;
background-color: var(--white);
border-radius: 15px;
text-align: center;
box-shadow: 0 0 20px 6px rgb(7, 34, 156, 0.1);
}
.card-img {
display: block;
width: 100%;
object-fit: cover;
border-radius: 15px;
}
.card-body {
padding: 0.5rem 0.875rem;
}
.card-title {
font-size: 1.375rem;
font-weight: 700;
color: var(--dark-blue);
}
.card-text {
color: var(--grayish-blue);
padding: 1.25rem 0;
}
.attribution {
font-size: 0.688rem;
color: var(--grayish-blue);
margin-top: 0.75rem;
text-align: center;
}
.attribution a {
color: var(--dark-blue);
text-decoration: none;
transition: all 0.3s ease;
}
.attribution a:hover {
color: var(--blue);
}