-
Notifications
You must be signed in to change notification settings - Fork 0
/
globalStyles.css
78 lines (67 loc) · 1.53 KB
/
globalStyles.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&family=Raleway:wght@400;500;600&display=swap");
html {
font-size: 10px;
overflow-x: hidden; /* remove horizontal scroll bar*/
}
:root {
/*color variables*/
/* --green-1:#26643b;
--green-2:#a2de96;
--lightGreen-1: #d6e5d8;
--lightGreen-2: #f5fcf4;
--black-1: #3b413a;
--black-2: #3f3c3c;
--black-3: #5b6359;
--white-1: #e8e8e8; */
--green-1: #c20030;
--green-2: #eb3a66;
--lightGreen-1: #e8c6c3;
--lightGreen-2: #f1dcda;
--black-1: #33000d;
--black-2: #4c101f;
--black-3: #8f8a93;
--white-1: #ffebeb;
}
body {
background-color: var(--lightGreen-2); /* how to use color variables*/
overflow-x: hidden;
}
section {
padding: 50px 0;
}
@media only screen and (max-width: 768px) {
section {
padding: 50px 0;
}
}
.container {
max-width: 1200px; /* the content of the website will stay within the middle 1200px of the screen */
width: 90%;
margin: 0 auto; /* keep everything in the middle */
}
img {
width: 100%;
height: 100%;
object-fit: contain; /* how content of replaced img should be resized to fit container */
}
h1,
h2,
h3,
h4 {
/* define properties for several elts at once */
font-family: "Poppins", sans-serif;
}
p {
font-family: "Raleway", sans-serif;
font-weight: 400; /* weight or boldness */
line-height: 1.4em;
font-size: 1.8rem;
display: text;
}
a {
display: inline-block; /* allows to set width and height on an elt */
text-decoration: none;
}
#form {
margin: auto;
}