Change font.
This commit is contained in:
parent
a35c462972
commit
6ccd65a258
1 changed files with 36 additions and 34 deletions
|
|
@ -46,7 +46,7 @@ skills. Built with [FastAPI](https://fastapi.tiangolo.com/) and documented
|
||||||
with [Scalar](https://scalar.com/).
|
with [Scalar](https://scalar.com/).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
CUSTOM_CSS="""
|
CUSTOM_CSS = """
|
||||||
.darklight-reference-promo { display: none !important; }
|
.darklight-reference-promo { display: none !important; }
|
||||||
.darklight-reference { display: none !important; }
|
.darklight-reference { display: none !important; }
|
||||||
|
|
||||||
|
|
@ -78,8 +78,10 @@ CUSTOM_CSS="""
|
||||||
src: url('https://gugulet.hu/technical/git/g_it/site/raw/branch/main/content/assets/fonts/dm-mono.ttf') format('truetype');
|
src: url('https://gugulet.hu/technical/git/g_it/site/raw/branch/main/content/assets/fonts/dm-mono.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
body { font-family: 'DM Sans', monospace !important; }
|
:root {
|
||||||
code, pre { font-family: 'DM Mono', monospace !important; }
|
--scalar-font: 'DM Sans', sans-serif;
|
||||||
|
--scalar-font-code: 'DM Mono', monospace;
|
||||||
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue