Skip to content

Commit fe2b2d0

Browse files
Reduce logo size, align menu right
1 parent 90a0a22 commit fe2b2d0

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

src/index.css

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,29 +113,24 @@ input:focus{
113113
padding: 2em;
114114
}
115115

116-
/* header has: logo (25%) - menu (50%) - builtwith (20%) */
117116
header {
118117
background-color: #18222E;
119118
color: #fff;
120119
text-align: left;
121-
padding: 0 0 0.5em 0;
120+
padding: 1em;
122121
}
123122

124123
header .logo {
125-
margin: 1em;
126-
width: 25%;
124+
width: 15%;
127125
}
128126

129127
.menu {
130-
display: inline-block;
131-
position: relative;
132-
top: -1em;
133-
width: 71%; /* 100% - 4% margin - 25% logo */
128+
float: right;
129+
width: 40%;
134130
}
135131

136132
.menuitem {
137-
display: inline-block;
138-
text-align: center;
133+
float: right;
139134
padding-left: 4%;
140135
}
141136

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<div class="menuitem"><a href="#" class="menubutton" onclick="menuChange(event,1)">Features</a></div>
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>
31-
<div class="menuitem">© 2024 Built with<a href="https://pears.com/" target="_blank"><img class="pearslogo" src="../images/pears-logo.svg"></a> <a href="https://github.com/PeerViewer/" target="_blank"><img class="githublogo" src="../images/github-mark-white.svg"></a></div>
31+
<!-- <div class="menuitem">© 2024 Built with<a href="https://pears.com/" target="_blank"><img class="pearslogo" src="../images/pears-logo.svg"></a> <a href="https://github.com/PeerViewer/" target="_blank"><img class="githublogo" src="../images/github-mark-white.svg"></a></div> -->
3232
</div>
3333
</header>
3434
<div class="main-content" id="content6">

0 commit comments

Comments
 (0)