fix: move font import to lass file
This commit is contained in:
parent
8589b774ed
commit
d0649a611e
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");
|
||||||
|
|
||||||
body{
|
body{
|
||||||
font-family: VT323, monospace;
|
font-family: VT323, monospace;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
;; LASS stylesheet for Asteroid Radio
|
;; LASS stylesheet for Asteroid Radio
|
||||||
;; Hacker-themed green terminal styling
|
;; Hacker-themed green terminal styling
|
||||||
|
|
||||||
|
(:let ()
|
||||||
|
(:import (url "https://fonts.googleapis.com/css2?family=VT323&display=swap"))
|
||||||
(body
|
(body
|
||||||
;; :font-family "Courier New, monospace"
|
;; :font-family "Courier New, monospace"
|
||||||
:font-family "VT323, monospace"
|
:font-family "VT323, monospace"
|
||||||
|
|
@ -573,10 +575,10 @@
|
||||||
|
|
||||||
(.stat-label :color "#ccc"
|
(.stat-label :color "#ccc"
|
||||||
:font-size 0.875rem
|
:font-size 0.875rem
|
||||||
:margin-top 0.5rem)))
|
:margin-top 0.5rem)))))
|
||||||
|
|
||||||
;; Center alignment for player page
|
;; Center alignment for player page
|
||||||
;; (body.player-page
|
;; (body.player-page
|
||||||
;; :text-align center)
|
;; :text-align center)
|
||||||
|
|
||||||
) ;; Close main body block
|
;; Close main body block
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,6 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" type="text/css" href="/asteroid/static/asteroid.css">
|
<link rel="stylesheet" type="text/css" href="/asteroid/static/asteroid.css">
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
|
|
||||||
<script src="/asteroid/static/js/front-page.js"></script>
|
<script src="/asteroid/static/js/front-page.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue