Skip to content

Commit f541584

Browse files
authored
Merge pull request #4 from Lukas-Batema/Lukas-Batema/Development
Fix Hompage image/replace it
2 parents 10b27a8 + 35db723 commit f541584

File tree

3 files changed

+31
-11
lines changed

3 files changed

+31
-11
lines changed

background.png

-478 KB
Binary file not shown.

index.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<title>FetchCord</title>
5-
<meta content="text/html" charset="UTF-8" http-equiv="Content-Type">
6-
<meta content="UTF-8" http-equiv="encoding">
7-
<link type="text/css" rel="stylesheet" href="styles.css">
8-
<script type="code/javascript" src="script.js"></script>
9-
<link rel = "icon" href = "favicon.ico">
5+
<meta content="content-type" type="text/html; charset=utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.00, user-scalable=false;" />
7+
<link type="text/css" rel="stylesheet" href="styles.css" />
8+
<script type="text/javascript" src="script.js"></script>
9+
<link rel="image/x-icon" href="favicon.ico" />
1010
</head>
1111

1212
<body>
@@ -28,7 +28,9 @@
2828
</div>
2929

3030
<header class="header header--home">
31-
<img src="background.png" />
31+
<img alt="Homepage Header" src="fetchcord.png" />
32+
<h1>FETCHCORD:</h1>
33+
<p>Hardware and OS Information Displayed In a Discord Rich Presence<br><br></p>
3234
</header>
3335
</body>
3436
</html>

styles.css

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,39 @@ h1 {
2727
background-size: cover;
2828
background-repeat: no-repeat;
2929
background-origin: border-box;
30-
height: 100%;
3130
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
3231
display: grid;
3332
place-items: center;
3433
border-bottom-left-radius: 25px;
3534
border-bottom-right-radius: 25px;
35+
height: 100%;
36+
overflow: hidden;
37+
background: linear-gradient(to right bottom, rgb(0, 20, 200), rgb(255, 100, 255));
3638
}
3739

3840
.header--home {
3941
overflow: hidden;
4042
}
4143

42-
.header--home img {
44+
.header--home img, .header--home h1 {
45+
width: 17.5%;
4346
margin-left: 0;
4447
transform: translateX(0);
45-
width: 100%;
48+
background-blend-mode: multiply;
49+
filter: opacity(100%);
50+
}
51+
52+
.header--home h1, .header--home p {
53+
color: rgba(255, 255, 255, 1.00);
54+
text-align: center;
55+
}
56+
57+
.header--home h1 {
58+
font-size: 32px;
59+
}
60+
61+
.header--home p {
62+
font-size: 20px;
4663
}
4764

4865
@keyframes fade-and-come-down {
@@ -56,14 +73,15 @@ h1 {
5673
}
5774
}
5875

76+
/*
5977
.header h1 {
6078
font-size: 60px;
6179
padding: 15px;
6280
text-align: center;
6381
color: #000;
6482
animation: fade-and-come-down 1.25s forwards;
6583
}
66-
84+
*/
6785

6886
.navbar {
6987
overflow: hidden;

0 commit comments

Comments
 (0)