Merge pull request #6 from andinus/mobile-friendly

Mobile friendly
This commit is contained in:
Ben Morrison 2020-06-06 17:10:04 +00:00 committed by GitHub
commit 8d97deceea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 21 deletions

View File

@ -122,10 +122,12 @@
<?php include("newsdata.html"); ?> <?php include("newsdata.html"); ?>
</div> </div>
<div id="sshfp"> <div id="sshfp">
<code>256 SHA256:QSijnje9WlvxZyIXc5h8uJ2MzPCKbviy0WnBG7U4aP0 (ECDSA)<br /> <pre>
256 SHA256:3n9E2Y0Kz4YeF776aUQNM+roVICTVQHFs64ekyADQxY (ED25519)<br /> 256 SHA256:QSijnje9WlvxZyIXc5h8uJ2MzPCKbviy0WnBG7U4aP0 (ECDSA)
3072 SHA256:GsmsdVkfRA8YznxI6EZJW+pf9IntSUIpNfeeGhpIs8w (RSA)<br /> 256 SHA256:3n9E2Y0Kz4YeF776aUQNM+roVICTVQHFs64ekyADQxY (ED25519)
1024 SHA256:foWYUgDuqfFIKnD2sLgeF1m2l9/ykSLwwlMyLWgesCA (DSA)</code> 3072 SHA256:GsmsdVkfRA8YznxI6EZJW+pf9IntSUIpNfeeGhpIs8w (RSA)
1024 SHA256:foWYUgDuqfFIKnD2sLgeF1m2l9/ykSLwwlMyLWgesCA (DSA)
</pre>
</div> </div>
</div> </div>
</body> </body>

View File

@ -3,10 +3,17 @@ body {
font-family: sans-serif; font-family: sans-serif;
color: #ffffff; color: #ffffff;
margin: 0 auto; margin: 0 auto;
max-width: 75%; max-width: 90%;
font-size: 1.0em; font-size: 1.0em;
} }
pre {
display: block;
white-space: pre;
word-break: break-all;
overflow-x: auto;
}
.date { .date {
font-weight: bold; font-weight: bold;
} }
@ -50,26 +57,25 @@ body {
color: #ffffff; color: #ffffff;
} }
#front-content {
max-width: 69%;
float: left;
}
#content { #content {
margin: 0 auto; margin: 0 auto;
} }
#news { @media (min-width: 1024px) {
float: right; body {
max-width: 29%; max-width: 75%;
} }
#news {
#sshfp { float: right;
float: left; max-width: 29%;
margin: 0 auto; }
min-width: 100%; #front-content {
text-align: center; max-width: 69%;
padding-bottom: 3rem; float: left;
}
#sshfp {
float: left;
}
} }
#code { #code {