-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (86 loc) · 1.51 KB
/
style.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
:root {
--clr-white: hsl(0, 0%, 100%);
--clr-light_gray: hsl(212, 45%, 89%);
--clr-grayish_blue: hsl(220, 15%, 55%);
--clr-dark_blue: hsl(218, 44%, 22%);
--ff-base: 'Outfit', sans-serif;
--fw-regular: 400;
--fw-bold: 700;
--fz-regular: 0.8rem;
}
/* CSS RESET */
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
/* END OF CSS RESET */
/* GENERAL STYLING */
body {
background-color: var(--clr-light_gray);
font-family: var(--ff-base);
font-size: var(--fz-regular);
font-weight: var(--fw-regular);
color: var(--clr-grayish_blue);
display: grid;
min-height: 100vh;
place-content: center;
margin: 1rem;
}
/* END OF GENERAL STYLING */
.project {
background-color: var(--clr-white);
padding: 1rem;
border-radius: 0.8rem;
max-width: 300px;
}
.project__image img {
border-radius: .8rem;
}
.project__content {
padding: .625rem;
display: grid;
gap: 1rem;
}
.project__main-message {
font-size: 1.25rem;
line-height: 1.2;
font-weight: var(--fw-bold);
color: var(--clr-dark_blue);
}
.project__warning {
font-size: .75rem;
line-height: 1.2;
font-weight: var(--fw-regular);
color: var(--clr-grayish_blue);
}