forked from CodeYourFuture/HTML-CSS-Module-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·166 lines (142 loc) · 2.74 KB
/
style.css
File metadata and controls
executable file
·166 lines (142 loc) · 2.74 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */
body {
font-family: "Roboto", sans-serif;
-webkit-font-smoothing: antialiased;
display: grid;
grid-template-columns: auto;
grid-template-rows: 10vh auto auto;
}
.header {
grid-row: 1 / 2;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
background-color: aliceblue;
}
.main {
grid-row: 2 / 3;
display: flex;
flex-direction: column;
border-bottom: 1px solid gray;
padding-bottom: 5rem;
}
.footer {
grid-row: 3 / -1;
text-align: center;
margin-bottom: 2rem;
}
.header img {
width: 10%;
height: 80%;
}
.header nav {
display: flex;
flex-direction: row;
gap: 1rem;
}
.header a {
text-decoration: none;
color: grey;
}
.header a:hover {
color: orangered;
}
#section1 {
background-image: url("../img/first-background.jpg");
background-size: cover;
background-repeat: no-repeat;
background-clip: padding-box;
margin: 0px 2rem;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 80vh;
}
#section1 button {
background-color: orangered;
border: none;
font-size: 0.75rem;
margin: 1rem 1rem;
padding: 0.75rem 1.5rem;
border-radius: 5%;
}
#section2 {
text-align: center;
margin: 5rem 5rem 0px;
}
#section2 div {
display: flex;
flex-direction: row;
justify-content: center;
}
#section2 div a {
text-decoration: none;
color: black;
}
#section2 figure img {
width: auto;
height: 10vh;
}
#section2 figure figcaption {
margin-top: 1rem;
margin-bottom: 5rem;
}
.section3 {
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: auto;
justify-content: center;
gap: 0px;
margin: 0px 2rem;
}
.section3 .next-page {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: pink;
grid-column: 5 / -1;
}
.section3 a {
text-decoration: none;
color: white;
}
.section3 button {
background-color: orangered;
border: none;
border-radius: 5%;
padding: 1rem;
margin-top: 3rem;
}
.section3 .image {
grid-column: 1 / 5;
}
.section3 q:before {
color: orangered;
}
.section3 q:after {
color: orangered;
}
.section3 q {
padding: 0px 8rem;
}
.footer div img {
height: 2%;
width: 2%;
}
.footer div a {
text-decoration: none;
margin: 0 0.5rem;
}
/**
* Add your custom styles below
*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
* - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex'
*/ ;