Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
header { | |
visibility: hidden; | |
} | |
footer { | |
visibility: hidden; | |
height: 0; | |
} | |
#MainMenu { | |
visibility: hidden; | |
height: 0; | |
} | |
div[data-testid="stDecoration"] { | |
display: none; | |
} | |
/* hideTopBar = true in config.toml*/ | |
div[data-testid="stToolbar"] { | |
visibility: hidden; | |
height: 0; | |
position: fixed; | |
} | |
div[data-testid="stStatusWidget"] { | |
visibility: hidden; | |
height: 0; | |
position: fixed; | |
} | |
.block-container { | |
padding-top: 0; | |
} | |
/* | |
Break long URLs in markdown, link color, and ordered lists format | |
*/ | |
div[data-testid="stMarkdownContainer"] { | |
overflow-wrap: break-word; | |
a, | |
strong { | |
color: #1b2e2c; | |
font-weight: bold; | |
} | |
li p { | |
margin: 0; | |
} | |
} | |
/* Modified fonts: | |
markdown, Select box, Button text, Options text font from the select box, Chat input text area | |
*/ | |
/* | |
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); | |
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap'); | |
*/ | |
/* or html p*/ | |
/* Select box and option */ | |
/* Chat input text area */ | |
/* | |
div[data-testid="stMarkdownContainer"], | |
div[data-baseweb="select"], | |
li[role="option"], | |
div[data-baseweb="base-input"] textarea { | |
font-family: 'Inter', sans-serif; | |
} | |
/* |