Adding tags.
This commit is contained in:
parent
0f13893693
commit
8eb2370bb2
1 changed files with 50 additions and 50 deletions
90
app/main.py
90
app/main.py
|
|
@ -47,61 +47,61 @@ with [Scalar](https://scalar.com/).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
CUSTOM_CSS = """
|
CUSTOM_CSS = """
|
||||||
.darklight-reference-promo { display: none !important; }
|
.darklight-reference-promo { display: none !important; }
|
||||||
|
|
||||||
.light-mode {
|
.light-mode {
|
||||||
--scalar-color-1: #343434;
|
--scalar-color-1: #343434;
|
||||||
--scalar-color-2: #666666;
|
--scalar-color-2: #666666;
|
||||||
--scalar-color-3: #979797;
|
--scalar-color-3: #979797;
|
||||||
--scalar-color-accent: #C9C9C9;
|
--scalar-color-accent: #C9C9C9;
|
||||||
--scalar-background-1: #FAFAFA;
|
--scalar-background-1: #FAFAFA;
|
||||||
--scalar-background-2: #FFFFFF;
|
--scalar-background-2: #FFFFFF;
|
||||||
--scalar-background-3: #FFFFFF;
|
--scalar-background-3: #FFFFFF;
|
||||||
--scalar-background-accent: #FFFFFF;
|
--scalar-background-accent: #FFFFFF;
|
||||||
--scalar-border-color: transparent;
|
--scalar-border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-family: 'DM Sans';
|
font-family: 'DM Sans';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 100 700;
|
font-weight: 100 700;
|
||||||
src: url('https://gugulet.hu/technical/git/g_it/site/raw/branch/main/content/assets/fonts/dm-sans.ttf') format('truetype');
|
src: url('https://gugulet.hu/technical/git/g_it/site/raw/branch/main/content/assets/fonts/dm-sans.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-family: 'DM Mono';
|
font-family: 'DM Mono';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 100 700;
|
font-weight: 100 700;
|
||||||
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');
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--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 > * {
|
.darklight-reference > * {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
.darklight-reference {
|
.darklight-reference {
|
||||||
padding: 0.75rem !important;
|
padding: 0.75rem !important;
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
}
|
}
|
||||||
.darklight-reference::before {
|
.darklight-reference::before {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 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;
|
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(
|
||||||
title="Reviews API",
|
title="Reviews API",
|
||||||
description=DESCRIPTION,
|
description=DESCRIPTION,
|
||||||
version="1.0.0",
|
version="1.1",
|
||||||
docs_url=None,
|
docs_url=None,
|
||||||
redoc_url=None,
|
redoc_url=None,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue