From fd51dbc6ae0a90d7047eebb0a44318a237a15e34 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 11 Apr 2020 14:43:23 -0700 Subject: Switch website to Adobe Source fonts --- Run/Que/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Run/Que') diff --git a/Run/Que/style.css b/Run/Que/style.css index d005b1a..96fae6d 100644 --- a/Run/Que/style.css +++ b/Run/Que/style.css @@ -20,7 +20,8 @@ --base0F: #a16946; } -@import 'https://fonts.googleapis.com/css?family=Galada:400|Open+Sans:400,300'; +/* TODO: get this from nixpkgs when I figure out how I want to package static assets */ +@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Source+Serif+Pro:wght@400;700&display=swap'); /* dark theme */ @media ( prefers-color-scheme: dark ), @@ -90,7 +91,7 @@ body ; margin: 40px auto ; padding: 0 10px ; font: 18px/1.5 - "Open Sans", + "Source Sans Pro", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", @@ -113,9 +114,10 @@ h3 pre { padding: .5rem } -pre,code +pre, code { overflow-x: scroll ; white-space: pre +; font-family: "Source Code Pro", monospace; } #quescripts-btn -- cgit v1.2.3