Skip to content

Commit 10b27a8

Browse files
Merge pull request #3 from Lukas-Batema/Lukas-Batema/Development
Update header image spacing across site
2 parents d9c1511 + 47de25a commit 10b27a8

File tree

7 files changed

+55
-35
lines changed

7 files changed

+55
-35
lines changed

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828
</div>
2929

30-
<header class="head1"><h1></h1></header>
30+
<header class="head1"><img alt="header image" src="about.png" /></header>
3131
<p class="about1"><h2>FetchCord is an application mainly aimed towards Linux users which grabs OS and Hardware information and displays it as a Discord Rich Presence. Although the application is aimed towards Linux users, it also runs on Microsoft Windows and MacOS with minimal changes. To run, it requires Python, PyPresence, NeoFetch and (in most cases, PIP). For Linux users who use Systemd, it is possible to intergrate FetchCord to start with your system, although this is still achieveable in most cases by just adding it to startup applications or making a startup script.</h2></p>
3232
</body>
3333
</html>

credits.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828
</div>
2929

30-
<header class="head5"><h1></h1></header>
30+
<header class="head5"><img alt="header image" src="credits.png" /></header>
3131
<p class="creators"><b>> Creators:</b></p>
3232
<p class="creators1">BlivionlaG (Kévin Le Torc'h), MrPotatoBobx, HyperKVM (Annie)</p>
3333
&nbsp;

discord.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727
</div>
2828
</div>
2929

30-
<header class="head6"><h1></h1></header>
30+
<header class="head6"><img alt="header image" src="discord.png" /></header>

linux.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
</div>
2828
</div>
2929

30-
<header class="head4"><h1></h1></header>
30+
<header class="head4"><img alt="header image" src="linux.png" /></header>
3131
</body>
3232
</html>

macos.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
</div>
2828
</div>
2929

30-
<header class="head3"><h1></h1></header>
30+
<header class="head3"><img alt="header image" src="macos.png" /></header>
3131
</body>
3232
</html>

styles.css

Lines changed: 49 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,19 @@ h1 {
2929
background-origin: border-box;
3030
height: 100%;
3131
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
32-
/* margin-bottom: 20px; */
3332
display: grid;
3433
place-items: center;
35-
/* padding: 50px; */
3634
border-bottom-left-radius: 25px;
3735
border-bottom-right-radius: 25px;
38-
/* padding-top: 25px; */
3936
}
4037

4138
.header--home {
4239
overflow: hidden;
4340
}
4441

4542
.header--home img {
46-
margin-left: 0%;
47-
transform: translateX(0%);
43+
margin-left: 0;
44+
transform: translateX(0);
4845
width: 100%;
4946
}
5047

@@ -144,85 +141,108 @@ h1 {
144141
}
145142

146143
.head1 {
147-
background-image: url("about.png");
148144
font-family: Arial, Helvetica, sans-serif;
149145
background-size: cover;
150146
background-repeat: no-repeat;
151147
background-origin: border-box;
152-
height: 200px;
148+
height: 100%;
153149
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
154-
margin-bottom: 20px;
155150
display: grid;
156151
place-items: center;
157-
padding: 50px;
152+
overflow: hidden;
153+
}
154+
155+
.head1 img {
156+
margin-left: 0%;
157+
transform: translateX(0%);
158+
width: 100%;
158159
}
159160

160161
.head2 {
161-
background-image: url("windows.png");
162162
font-family: Arial, Helvetica, sans-serif;
163163
background-size: cover;
164164
background-repeat: no-repeat;
165165
background-origin: border-box;
166-
height: 200px;
166+
height: 100%;
167167
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
168-
margin-bottom: 20px;
169168
display: grid;
170169
place-items: center;
171-
padding: 50px;
170+
overflow: hidden;
171+
}
172+
173+
.head2 img {
174+
width: 100%;
175+
transform: translateX(0);
176+
margin-left: 0;
172177
}
173178

174179
.head3 {
175-
background-image: url("macos.png");
176180
font-family: Arial, Helvetica, sans-serif;
177181
background-size: cover;
178182
background-repeat: no-repeat;
179183
background-origin: border-box;
180-
height: 200px;
184+
height: 100%;
181185
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
182-
margin-bottom: 20px;
183186
display: grid;
184187
place-items: center;
185-
padding: 50px;
188+
}
189+
190+
.head3 img {
191+
width: 100%;
192+
margin-left: 0;
193+
transform: translateX(0);
186194
}
187195

188196
.head4 {
189-
background-image: url("linux.png");
190197
font-family: Arial, Helvetica, sans-serif;
191198
background-size: cover;
192199
background-repeat: no-repeat;
193200
background-origin: border-box;
194-
height: 200px;
201+
height: 100%;
195202
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
196-
margin-bottom: 20px;
203+
overflow: hidden;
197204
display: grid;
198205
place-items: center;
199-
padding: 50px;
206+
}
207+
208+
.head4 img {
209+
width: 100%;
210+
margin-left: 0;
211+
transform: translateX(0);
200212
}
201213

202214
.head5 {
203-
background-image: url("credits.png");
204215
font-family: Arial, Helvetica, sans-serif;
205216
background-size: cover;
206217
background-repeat: no-repeat;
207218
background-origin: border-box;
208-
height: 200px;
219+
height: 100%;
209220
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
210-
margin-bottom: 20px;
221+
overflow: hidden;
211222
display: grid;
212223
place-items: center;
213-
padding: 50px;
224+
}
225+
226+
.head5 img {
227+
margin-left: 0;
228+
transform: translateX(0);
229+
width: 100%;
214230
}
215231

216232
.head6 {
217-
background-image: url("discord.png");
218233
font-family: Arial, Helvetica, sans-serif;
219234
background-size: cover;
220235
background-repeat: no-repeat;
221236
background-origin: border-box;
222-
height: 200px;
237+
height: 100%;
223238
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
224-
margin-bottom: 20px;
239+
overflow: hidden;
225240
display: grid;
226241
place-items: center;
227-
padding: 50px;
242+
}
243+
244+
.head6 img {
245+
width: 100%;
246+
margin-left: 0;
247+
transform: translateX(0);
228248
}

windows.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828
</div>
2929

30-
<header class="head2"><h1></h1></header>
30+
<header class="head2"><img alt="header image" src="windows.png" /></header>
3131
</body>
3232

3333
</html>

0 commit comments

Comments
 (0)