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
·191 lines (166 loc) · 3.31 KB
/
Copy pathstyle.css
File metadata and controls
executable file
·191 lines (166 loc) · 3.31 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */
:root {
--grey-dark: #363434;
--grey: #adadad;
--grey-light: #f7f7f7;
--orange: #f05a28;
--orange-light: #f7bfa3;
--white: #fff;
}
.logo{
padding: 10px 15px 5px 15px;
margin-left: 5vw;
margin-right: 40vw;
}
body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
}
.header-one{
width: max-content;
height: 6vh;
background-color: var(--grey-light);
}
h1{
text-align: center;
text-emphasis: none;
letter-spacing: 2px;
color: #595959;
}
p{
text-align: center;
text-emphasis: none;
letter-spacing: 5px;
color: #595959;
}
.nav {
list-style-type:none;
margin-left: 20vw;
padding: 0;
float:right;
}
.nav li{
display: inline-block;
padding: 20px;
}
a:link{
color: #595959;
text-decoration: none;
}
a:visited{
color: #7f7f7f;
text-decoration: none;
}
a:hover{
color:var(--orange);
text-decoration: none ;
}
.hero-image{
background-image: url(../img/first-background.jpg);
background-repeat: no-repeat;
background-size: cover;
height: 50vh;
background-position: center;
position: relative;
}
.hero-text{
text-align: center;
position:absolute;
color:white;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.hero-text h1{
letter-spacing: 5px;
font-weight: lighter;
color: white;
}
.hero-text p{
letter-spacing: 5px;
font-weight: lighter;
color: white;
}
.hero-text button{
border: none;
padding:10px 25px;
background-color: var(--orange);
cursor: pointer;
border-radius: 5px;
}
.container-1{
display:flex;
justify-content: space-around;
}
.container-1 div{
/*
border: 1px #ccc solid;
padding: 20px;
margin-left: 20px;
*/
}
.bottom-grid {
display: grid;
grid-template-rows: auto;
grid-template-columns: 1.5fr 2fr;
}
.bottom-img {
background-color: var(--grey-dark);
height: 100%;
background-image: url(/level-2/homepage-feature.png);
background-repeat: no-repeat;
background-size: cover;
}
.bottom-text {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
padding: 8rem;
background-color: var(--orange-light);
color: var(--grey-dark);
font-weight: 400;
font-size: 24px;
text-align: center;
}
.bottom-text p {
font-style: italic;
}
.bottom-text p span {
color: var(--orange);
}
.bottom-text a {
background-color: var(--orange);
border: none;
padding: .8rem 1rem;
border-radius: 5px;
text-decoration: none;
color: var(--white);
font-size: 12px;
}
.bottom-text a:hover {
background-color: var(--grey-dark);
}
hr{
width: 70%;
}
.footer-one{
display: flex;
align-content: center;
justify-content: center;
}
.socials{
padding: 10px;
}
#copyright{
font-size: 12px;
}
/**
* 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'
*/