Different pgp key width on mobile

merge-requests/8/head
Bob Mottram 2020-08-14 12:57:48 +01:00
parent 6bc0a4465a
commit 1a173ab4bd
1 changed files with 14 additions and 7 deletions

View File

@ -346,13 +346,6 @@ a:link {
background: var(--link-bg-color); background: var(--link-bg-color);
} }
.pgp {
font-size: var(--font-size-pgp-key);
color: var(--main-link-color);
background: var(--link-bg-color);
font-family: 'monospace';
}
.container img.announceOrReply { .container img.announceOrReply {
float: none; float: none;
width: 30px; width: 30px;
@ -857,6 +850,13 @@ aside .toggle-inside li {
} }
@media screen and (min-width: 400px) { @media screen and (min-width: 400px) {
.pgp {
width: 79ch;
font-size: var(--font-size-pgp-key);
color: var(--main-link-color);
background: var(--link-bg-color);
font-family: 'monospace';
}
body, html { body, html {
font-size: var(--font-size4); font-size: var(--font-size4);
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
@ -1260,6 +1260,13 @@ aside .toggle-inside li {
} }
@media screen and (max-width: 1000px) { @media screen and (max-width: 1000px) {
.pgp {
width: 40ch;
font-size: var(--font-size-pgp-key);
color: var(--main-link-color);
background: var(--link-bg-color);
font-family: 'monospace';
}
body, html { body, html {
font-size: var(--font-size3); font-size: var(--font-size3);
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;