-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
95 lines (78 loc) · 1.35 KB
/
index.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
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
91
92
93
94
95
:root{
/* Colors */
/* Primary */
--yellow: hsl(47, 88%, 63%);
/* Neutral */
--white: hsl(0, 0%, 100%);
--grey: hsl(0, 0%, 50%);
--black: hsl(0, 0%, 7%);
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
font-family: Figtree, sans-serif;
background-color: var(--yellow);
height: 100vh;
color: var(--black);
}
main{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 95%;
}
h1{
font-size: large;
font-weight: 800;
margin-top: 1rem;
margin-bottom: 1rem;
}
p{
font-size: 16px;
color: var(--grey);
}
.card{
width: 20rem;
border: 1px solid var(--black);
background-color: var(--white);
padding: 1.2rem;
border-radius: 1rem;
box-shadow: 0.6rem 0.6rem;
}
.card-heading:hover{
color: var(--yellow);
}
.card-hover-shadow{
box-shadow: 0.9rem 0.9rem;
}
.card-image{
max-width: 100%;
border-radius: 0.5rem;
margin-bottom: 1rem;
}
.cta-btn{
border-radius: 0.2rem;
font-weight: 600;
width: 6rem;
height: 2rem;
background-color: var(--yellow);
border: none;
margin-bottom: 1rem;
}
.user-info{
display: flex;
align-items: center;
gap: 1rem;
margin-top: 1rem;
}
.avatar{
width: 2rem;
height: auto;
}
.username{
color: var(--black);
}