streamlit/customize.css
2023-12-14 16:59:25 +08:00

87 lines
1.6 KiB
CSS

.baseContainer {
max-width: 1000px;
margin: auto;
width: 90%;
}
#root .stApp {
background-color: #e2e2e2;
color: #000;
}
#root .stApp header {
display: none;
}
#root .stApp .appview-container {
inset: 0px 0 8rem;
}
#root .stApp .block-container {
padding: 0;
}
#root .stApp .stChatMessage {
margin: auto;
width: 100%;
align-items: center;
justify-items: center;
justify-content: center;
padding: 1rem;
}
#root .stApp div[data-testid=stChatMessageContent] {
width: 980px;
margin: 0;
flex-grow: 0;
}
#root .stApp .stChatFloatingInputContainer {
background: transparent;
width: 100%;
}
#root .stApp .stChatInputContainer {
max-width: 1000px;
margin: auto;
width: 90%;
border: #000 1px solid;
outline: none;
}
#root .stApp .stChatInputContainer div[data-baseweb="textarea"] {
border: none;
}
#root .stApp .stChatInputContainer textarea {
outline: none;
}
#root .stApp .stChatInputContainer .st-ah {
width: 100%;
border: none;
}
#root .example .chat-demo {
overflow: auto;
padding-top: 60px;
width: 1000px;
margin: auto;
text-align: center;
}
#root .example .logo {
width: 118px;
height: auto;
}
#root .example .case-list {
margin-top: 40px;
display: flex;
justify-content: center;
}
#root .example .case-col {
width: 300px;
}
#root .example .case-title {
font-size: 22px;
font-weight: 700;
color: #353535;
margin-bottom: 30px;
}
#root .example .case-item {
cursor: pointer;
margin: 20px 10px;
background-color: #fff;
border-radius: 5px;
color: #373737;
padding: 15px 10px;
font-size: 12px;
}