Skip to content

Commit e41c27f

Browse files
Remove footer
1 parent 9de8d3b commit e41c27f

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

src/index.css

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ a {
2929
color: #18222E;
3030
}
3131

32-
header {
33-
background-color: #18222E;
34-
color: #fff;
35-
text-align: left;
36-
padding: 0 0 0.5em 0;
37-
}
3832

3933
footer {
4034
background-color: #18222E;
@@ -56,11 +50,6 @@ footer a {
5650
color: #CAE2E9;
5751
}
5852

59-
header .logo {
60-
margin: 1em;
61-
width: 25%;
62-
}
63-
6453
h1 {
6554
font-family: GothamRndMedium;
6655
font-size: 42px;
@@ -119,11 +108,24 @@ input:focus{
119108
padding: 2em;
120109
}
121110

111+
/* header has: logo (25%) - menu (50%) - builtwith (20%) */
112+
header {
113+
background-color: #18222E;
114+
color: #fff;
115+
text-align: left;
116+
padding: 0 0 0.5em 0;
117+
}
118+
119+
header .logo {
120+
margin: 1em;
121+
width: 25%;
122+
}
123+
122124
.menu {
123125
display: inline-block;
124126
position: relative;
125127
top: -1em;
126-
width: 70%; /* 100% - 25% - 5% safety margin */
128+
width: 50%;
127129
}
128130

129131
.menuitem {
@@ -144,6 +146,14 @@ input:focus{
144146
transition: all 0.2s linear;
145147
}
146148

149+
.builtwith {
150+
display: inline-block;
151+
position: relative;
152+
top: -1em;
153+
text-align: right;
154+
width: 20%;
155+
}
156+
147157
#column1 {
148158
border-right: solid;
149159
}

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<div class="menuitem"><a href="#" class="menubutton" onclick="menuChange(event,5)">About</a></div>
3030
<div class="menuitem"><a href="#" class="menubutton" onclick="menuChange(event,4)">Contact&nbsp;and&nbsp;Donate</a></div>
3131
</div>
32+
<div class="builtwith">© 2024 Built with<a href="https://pears.com/" target="_blank"><img class="pearslogo" src="../images/pears-logo.svg"></a></div>
3233
</header>
3334
<div class="main-content" id="content0">
3435
<div class="coverremotecontrol">
@@ -131,7 +132,6 @@ <h3>Building blocks</h3>
131132
<button class="bigbutton" onClick="menuChange(event,4)">Any suggestions? Let us know!</button>
132133
</div>
133134
</div>
134-
<footer><span><a href="https://peerviewer.org" target="_blank">PeerViewer</a> © 2023 Built with<a href="https://pears.com/" target="_blank"><img class="pearslogo" src="../images/pears-logo.svg"></a></span></footer>
135135
</div>
136136
<script>
137137
function adaptForWeb() {

0 commit comments

Comments
 (0)