Files
LingChair-V0/ling_chair_http/index.css
MoonLeeeaf a376ead195 chore: init
2024-05-10 21:14:50 +08:00

84 lines
1.7 KiB
CSS

/*
* 铃之椅 - 把选择权还给用户, 让聊天权掌握在用户手中
* Copyright 2024 满月叶
* GitHub: https://github.com/MoonLeeeaf/LingChair-Web-Client
* 本项目使用 Apache 2.0 协议开源
*
* Copyright 2024 MoonLeeeaf
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
html, body {
max-height: 100%;
margin: 0;
padding: 0;
/* overflow: hidden; */
/*font: initial;*/
}
body {
margin: 0;
padding: 0;
}
.container {
display: flex;
flex-direction: column;
overflow: auto;
}
.content {
flex: 1;
}
/* 美化 MDUI */
body {
font-family: -apple-system, system-ui, -webkit-system-font;
}
.round {
border-radius: 20px;
}
.mdui-dialog {
border-radius: 23px;
}
.mdui-snackbar {
border-radius: 10px;
}
.mdui-menu {
border-radius: 10px;
}
.mdui-menu-item > a {
padding-right: 3px;
}
.mdui-dialog-actions a,
.mdui-dialog-actions button {
border-radius: 30px;
padding: 15px;
text-align: center;
line-height: 8px;
}
.mdui-dialog-actions {
margin-right: 7px;
margin-top: -7px;
}
/* 配色方案 */
.mdui-theme-color-auto {
background-color: #fff;
}
@media (prefers-color-scheme: dark) {
.mdui-theme-color-auto {
background-color: #303030;
}
}