[sass/home,static/DejaVuSansMono.wof*]: Provide downloadable Deja Vu Sans Mono fonts for banner

This commit is contained in:
Lorenzo Cogotti 2021-07-24 21:22:43 +02:00
parent 884fd4b576
commit 5a06864e2f
4 changed files with 9 additions and 4 deletions

View File

@ -0,0 +1,3 @@
@font-face
font-family: DejaVuSansMono
src: url("/DejaVuSansMono.woff2") format("woff2"), url("/DejaVuSansMono.woff") format("woff")

View File

@ -11,6 +11,8 @@ $-term-height-mid: 400px
$-term-height-mobile: 280px $-term-height-mobile: 280px
$-term-scanline-height: 5px $-term-scanline-height: 5px
@import "banner-fonts"
.main .main
background-color: var(--background-color) background-color: var(--background-color)
color: var(--foreground-color) color: var(--foreground-color)
@ -116,9 +118,9 @@ $-term-scanline-height: 5px
position: relative position: relative
text-align: left text-align: left
padding-left: 1em padding-left: 1em
font-family: Inconsolata, Courier, unicase font-family: DejaVuSansMono
text-shadow: 0 0 8px rgba(lighten($-term-color, 50%), 0.3) text-shadow: 0 0 8px rgba(lighten($-term-color, 50%), 0.3)
font-size: 4em font-size: 3.5em
color: $-term-color color: $-term-color
.ghost, .pop .ghost, .pop
@ -126,10 +128,10 @@ $-term-scanline-height: 5px
.banner-msg-line .banner-msg-line
text-shadow: 0 0 8px rgba(lighten($-term-color, 30%), 0.3) text-shadow: 0 0 8px rgba(lighten($-term-color, 30%), 0.3)
font-family: Inconsolata, Courier, monospace font-family: DejaVuSansMono
font-smoothing: antialiased font-smoothing: antialiased
padding-left: 6em padding-left: 6em
font-size: 3em font-size: 2.6em
white-space: pre white-space: pre
color: $-term-color color: $-term-color
overflow: hidden overflow: hidden

Binary file not shown.

Binary file not shown.