diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index e7c3c2ce..ae274d9e 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -25,6 +25,12 @@ html, body { body { padding-bottom: 5em; } +pre, code, tt { + font-family: monospace, monospace; +} + + + #tt, #toast { position: fixed; max-width: 34em; @@ -130,7 +136,6 @@ body { padding: .1em .3em; border-top: 1px solid #777; border-radius: .3em; - font-family: monospace, monospace; line-height: 1.7em; } #tt em { @@ -224,8 +229,7 @@ a, #files tbody div a:last-child { border-top: 1px solid #383838; } #files tbody td:nth-child(3) { - font-family: monospace; - font-size: 1.3em; + font-family: monospace, monospace; text-align: right; padding-right: 1em; white-space: nowrap; diff --git a/copyparty/web/md.css b/copyparty/web/md.css index 6e6644ca..a03c4402 100644 --- a/copyparty/web/md.css +++ b/copyparty/web/md.css @@ -8,6 +8,9 @@ html, body { font-family: sans-serif; line-height: 1.5em; } + + + #tt, #toast { position: fixed; max-width: 34em; @@ -92,7 +95,6 @@ html, body { } #toast.err #toastc { background: #d06; -}; } #tt.b { padding: 0 2em; @@ -114,7 +116,6 @@ html, body { padding: .1em .3em; border-top: 1px solid #777; border-radius: .3em; - font-family: monospace, monospace; line-height: 1.7em; } #tt em { @@ -156,7 +157,7 @@ pre, code, a { code { font-size: .96em; } -pre, code { +pre, code, tt { font-family: 'scp', monospace, monospace; white-space: pre-wrap; word-break: break-all; @@ -296,7 +297,7 @@ small { z-index: 99; position: relative; display: inline-block; - font-family: monospace, monospace; + font-family: 'scp', monospace, monospace; font-weight: bold; font-size: 1.3em; line-height: .1em; diff --git a/copyparty/web/upload.css b/copyparty/web/upload.css index 6babc6f5..c741c293 100644 --- a/copyparty/web/upload.css +++ b/copyparty/web/upload.css @@ -87,8 +87,9 @@ #u2tab td:nth-child(3) { width: 40%; } -#op_up2k.srch #u2tab td:nth-child(3) { +#op_up2k.srch td.prog { font-family: sans-serif; + font-size: 1em; width: auto; } #u2tab tbody tr:hover td { @@ -245,7 +246,7 @@ html.light #u2foot .warn span { margin-bottom: -1em; } .prog { - font-family: monospace; + font-family: monospace, monospace; } #u2tab a>span { font-weight: bold;