-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
76 lines (64 loc) · 1.14 KB
/
style.css
File metadata and controls
76 lines (64 loc) · 1.14 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
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");
:root {
--white: hsl(0, 0%, 100%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--dark-blue: hsl(218, 44%, 22%);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-size: 15px;
font-family: "Outfit", sans-serif;
background-color: var(--light-gray);
height: 100vh;
display: flex;
flex-direction: column;
}
.container {
max-width: 340px;
margin: auto auto;
}
.card {
background-color: var(--white);
padding: 15px;
margin: 10px;
border-radius: 18px;
}
.card img {
width: 100%;
border-radius: 16px;
}
.text {
text-align: center;
padding: 0 10px;
}
.text h2 {
color: var(--dark-blue);
}
.text p {
color: var(--grayish-blue);
}
.footer {
height: 50px;
color: var(--dark-blue);
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
gap: 8px;
margin-top: auto;
}
.fa-github {
color: var(--dark-blue);
font-size: 24px;
transition: transform 0.3s ease-in-out;
}
.fa-github:hover {
transform: rotate(360deg) scale(1.2);
}