Skip to content

Commit 8751144

Browse files
Improve vertical alignment, open download in new window
1 parent 02e3369 commit 8751144

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

src/index.css

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ footer .footerright {
5656

5757
h1 {
5858
font-family: GothamRndMedium;
59-
font-size: 42px;
59+
font-size: 62px;
6060
margin: 0;
6161
}
6262

@@ -94,10 +94,11 @@ input:focus{
9494
.main-content {
9595
display: none; /* by default, main-content is not visible until enable by the javascript menu - except content0 (see below) */
9696
flex-wrap: wrap;
97-
justify-content: space-around;
9897
align-items: stretch;
99-
height: 21em;
100-
padding: 2em 2em 0 2em;
98+
margin-left: 1em;
99+
position: absolute;
100+
top: 50%;
101+
transform: translateY(-50%);
101102
}
102103
#content0 {
103104
display: flex; /* content0 is the first menu item and visible by default */
@@ -169,8 +170,15 @@ header .logo {
169170
border: solid 1px;
170171
padding: 1em;
171172
position: absolute;
172-
bottom: 1em;
173+
bottom: 0em;
173174
right: 1em;
175+
}
176+
177+
#serverstatus {
178+
left: 0em;
179+
}
180+
181+
#clientstatus {
174182
left: 1em;
175183
}
176184

@@ -195,6 +203,7 @@ header .logo {
195203

196204
.connectbutton {
197205
float: none;
206+
margin: 1em 0 3em;
198207
}
199208

200209
.bigbutton:hover {
@@ -293,22 +302,12 @@ img.headericon {
293302
padding: 0;
294303
}
295304

296-
#content4 {
297-
height: 35em;
298-
overflow-y: hidden;
299-
padding: 2em 2em 0 2em;
300-
}
301-
302-
#content4 .column1 {
303-
margin-left: 10%;
304-
}
305-
306305
#content6 img.laptop {
307306
position: absolute;
308-
right: 10%;
309-
bottom: 0;
307+
top: 20%;
310308
width: 55%;
311309
}
310+
312311
#content4 img.donate {
313312
position: absolute;
314313
right: 0;

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<div class="twocolumns column1">
3535
<h1>Direct, Secure and Uninterrupted Remote Access - The P2P Way</h1>
3636
<p>PeerViewer is a fully peer-to-peer remote desktop applications that lets you securely access and control computers anywhere, anytime, without the need for centralized servers. It's the privacy-focused, cost-effective solution for seamless remote support and collaboration.</p>
37-
<a href="https://github.com/PeerViewer/codebase/releases/" class="bigbutton regulardownloadbutton"><div>Download PeerViewer to get started</div></a>
37+
<a href="https://github.com/PeerViewer/codebase/releases/" class="bigbutton regulardownloadbutton" target="_blank"><div>Download PeerViewer to get started</div></a>
3838
</div>
3939
<div>
4040
<img src="../images/laptop.png" class="laptop"/>

0 commit comments

Comments
 (0)