Add logo.
This commit is contained in:
parent
6ccd65a258
commit
38a4d516bf
1 changed files with 49 additions and 35 deletions
16
app/main.py
16
app/main.py
|
|
@ -48,7 +48,6 @@ 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; }
|
|
||||||
|
|
||||||
.light-mode {
|
.light-mode {
|
||||||
--scalar-color-1: #343434;
|
--scalar-color-1: #343434;
|
||||||
|
|
@ -82,6 +81,21 @@ CUSTOM_CSS = """
|
||||||
--scalar-font: 'DM Sans', sans-serif;
|
--scalar-font: 'DM Sans', sans-serif;
|
||||||
--scalar-font-code: 'DM Mono', monospace;
|
--scalar-font-code: 'DM Mono', monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.darklight-reference > * {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.darklight-reference {
|
||||||
|
padding: 0.75rem !important;
|
||||||
|
display: flex !important;
|
||||||
|
}
|
||||||
|
.darklight-reference::before {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
background: url('https://gugulet.hu/technical/git/g_it/site/raw/branch/main/content/assets/media/g-logo-250x250.webp') no-repeat center / contain;
|
||||||
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue