feat: change font again

This commit is contained in:
dusk 2024-06-11 01:07:55 +03:00
parent 4074478b05
commit 8b1ba19279
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -65,7 +65,7 @@ async fn show_art(state: State<AppState>) -> AppResult<axum::response::Response>
}
const BODY_STYLE: &str =
"margin: 0px; background: #0e0e0e; height: 100vh; width: 100vw; display: flex; font-family: \"Cutive Mono\", monospace; font-weight: 400; font-style: normal; font-optical-sizing: auto;";
"margin: 0px; background: #0e0e0e; height: 100vh; width: 100vw; display: flex; font-family: \"PT Mono\", monospace; font-weight: 400; font-style: normal; font-optical-sizing: auto;";
const IMG_STYLE: &str = "display: block; margin: auto; max-height: 100vh; max-width: 100vw;";
const ABOUT_STYLE: &str = "position: absolute; bottom: 0; font-size: 0.75em; color: #ffffff; background-color: #0e0e0eaa;";
@ -75,7 +75,7 @@ fn get_page_head_common() -> PreEscaped<String> {
meta charset="utf8";
link rel="preconnect" href="https://fonts.googleapis.com";
link rel="preconnect" href="https://fonts.gstatic.com" crossorigin;
link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap";
link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=PT+Mono&display=swap";
title { (title) }
}
}