Skip to content

Commit 720e35f

Browse files
Add github logo, improve menu small width, improve mobile view
1 parent 50b7e2f commit 720e35f

File tree

3 files changed

+11
-27
lines changed

3 files changed

+11
-27
lines changed

src/images/github-mark-white.svg

Lines changed: 1 addition & 0 deletions
Loading

src/index.css

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -130,35 +130,26 @@ header .logo {
130130
display: inline-block;
131131
position: relative;
132132
top: -1em;
133-
width: 50%;
133+
width: 71%; /* 100% - 4% margin - 25% logo */
134134
}
135135

136136
.menuitem {
137137
display: inline-block;
138138
text-align: center;
139-
width: 23.75%; /* (100% - 5% margin) / 4 items */
139+
padding-left: 4%;
140140
}
141141

142142
.menuitem a {
143143
color: #CAE2E9;
144144
font-weight: bold;
145145
text-decoration: none;
146-
padding: 1em 2em 1em 2em;
147146
}
148147

149148
.menuitem a:hover {
150149
color: #fff;
151150
transition: all 0.2s linear;
152151
}
153152

154-
.builtwith {
155-
display: inline-block;
156-
position: relative;
157-
top: -1em;
158-
text-align: right;
159-
width: 20%;
160-
}
161-
162153
#column1 {
163154
border-right: solid;
164155
}
@@ -244,22 +235,14 @@ img.headericon {
244235

245236
.pearslogo {
246237
position: relative;
247-
width: 2em;
238+
width: 2.5em;
248239
top: 0.6em;
249240
}
250241

251-
.contactticketform {
252-
border:none;
253-
}
254-
255-
.coverremotecontrol {
256-
display: none;
257-
z-index: 1;
258-
width: 100%;
259-
position: absolute;
260-
height: 40%;
261-
background-color: #333333b3;
262-
left: 0;
242+
.githublogo {
243+
position: relative;
244+
width: 2em;
245+
top: 0.3em;
263246
}
264247

265248
.bigbutton.downloadbutton {
@@ -334,5 +317,5 @@ img.headericon {
334317
}
335318

336319
.twocolumns {
337-
width: 40%;
320+
width: 45%;
338321
}

src/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<title>PeerViewer - peer-to-peer remote desktop and support solution, completely free for unlimited personal and commercial use.</title>
66

7-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
88
<meta property="og:title" content="PeerViewer" />
99
<meta property="og:type" content="website" />
1010
<meta property="og:url" content="https://PeerViewer.org/" />
@@ -28,8 +28,8 @@
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>
3132
</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>
3333
</header>
3434
<div class="main-content" id="content6">
3535
<div class="twocolumns column1">

0 commit comments

Comments
 (0)