Skip to content

Commit 12d3f4a

Browse files
committed
started reworking home page, added monster page (empty)
1 parent 087bf7d commit 12d3f4a

6 files changed

Lines changed: 41 additions & 7 deletions

File tree

images/wallpaper_one.jpg

653 KB
Loading

images/wallpaper_two.jpg

480 KB
Loading

index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<body>
1717
<input type="image" id="glados" onclick="play()" src="images/glados.gif">
18-
<div class="container">
18+
<div class="container main-bg">
1919
<div>
2020
<header>
2121
<nav>
@@ -92,14 +92,15 @@ <h2>Projects</h2>
9292
</div>
9393
<span><small><a href="pages/buttons.html">What are these buttons?</a></small></span>
9494
</div>
95+
<footer class="main-bg">
96+
<span id="copyright"></span>
97+
</footer>
9598
</div>
9699

97100
<!-- AUDIO FOR GLADoS -->
98101
<audio id="glados_audio" src="/sounds/glados_message.wav" style="display: none;"></audio>
99102

100-
<footer>
101-
<span id="copyright"></span>
102-
</footer>
103+
103104
</body>
104105

105106
</html>

pages/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<body>
1717
<input type="button" id="stars" onclick="setStars()" value="">
18-
<div class="container">
18+
<div class="container" id="main-container">
1919
<header>
2020
<nav class="centered">
2121
<a href="../index.html">Home</a>

pages/monsters.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<title>Monsters - Doc's site</title>
8+
<!-- BOOTSTRAP CSS GRID -->
9+
<link rel="stylesheet" href="../style/bootstrap-grid.css">
10+
<!-- CUSTOM CSS -->
11+
<link rel="stylesheet" href="../style/main.css">
12+
<!-- JAVASCRIPT -->
13+
<script src="../main.js"></script>
14+
</head>
15+
16+
<body>
17+
<div class="container main-bg">
18+
<div class="row">
19+
<div class="col">
20+
21+
</div>
22+
</div>
23+
</div>
24+
</body>

style/main.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
22

33
:root {
4-
--bg-dark-color: #000;
4+
--bg-dark-color: rgb();
55

66
--text-highlight: #8539ff;
77
--comments-text-color: #939da5;
@@ -19,6 +19,8 @@ body {
1919
flex-direction: column;
2020
max-width: 900px;
2121

22+
margin-top: 0;
23+
margin-bottom: 0;
2224
margin-left: auto;
2325
margin-right: auto;
2426

@@ -27,7 +29,10 @@ body {
2729

2830
font-size: larger;
2931

30-
background-color: var(--bg-dark-color);
32+
background-image: url("../images/wallpaper_two.jpg");
33+
background-repeat: repeat;
34+
background-size: 20%;
35+
/* background-color: var(--bg-dark-color); */
3136
color: var(--dark-text-color);
3237
font-family: Calibri;
3338
}
@@ -102,6 +107,10 @@ nav {
102107
text-decoration: underline;
103108
}
104109

110+
.main-bg {
111+
background-color: #000000d5;
112+
}
113+
105114
.centered {
106115
text-align: center;
107116

0 commit comments

Comments
 (0)