mirror of
https://github.com/elisescu/tty-server
synced 2024-11-15 12:12:54 +00:00
Update css to include source code pro for font family
This commit is contained in:
parent
a036043573
commit
87a50edcaf
@ -1,3 +1,38 @@
|
||||
@font-face {
|
||||
font-family: Source Code Pro;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local("Source Code Pro Light"), local("SourceCodePro-Light"), url(https://cdn.jsdelivr.net/npm/source-code-pro@2.30.2/TTF/SourceCodePro-Light.ttf) format("truetype")
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Source Code Pro;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local("Source Code Pro"), local("SourceCodePro-Regular"), url(https://cdn.jsdelivr.net/npm/source-code-pro@2.30.2/TTF/SourceCodePro-Regular.ttf) format("truetype")
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Source Code Pro;
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: local("Source Code Pro Semibold"), local("SourceCodePro-Semibold"), url(https://cdn.jsdelivr.net/npm/source-code-pro@2.30.2/TTF/SourceCodePro-Semibold.ttf) format("truetype")
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Source Code Pro;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local("Source Code Pro Bold"), local("SourceCodePro-Bold"), url(https://cdn.jsdelivr.net/npm/source-code-pro@2.30.2/TTF/SourceCodePro-Bold.ttf) format("truetype")
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Source Code Pro;
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local("Source Code Pro Italic"), local("SourceCodePro-It"), url(https://cdn.jsdelivr.net/npm/source-code-pro@2.30.2/TTF/SourceCodePro-It.ttf) format("truetype")
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@ -11,3 +46,7 @@ html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
xterm {
|
||||
font-family: Source Code Pro;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user