Files
GoFilm/client/src/style.css
2023-12-23 22:32:52 +08:00

167 lines
2.6 KiB
CSS

:root {
font-family: Inter, Avenir, Helvetica, Arial, system-ui, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
/*公共颜色*/
--bg-light: #ffffff;
--content-text-color: #888888;
--paging-parmary-color: #9b49e7d6;
--border-gray-color: #0000001f;
--btn-primary-color: #9b49e7;
--btn-pink-color: #d942bf;
--btn-bg-linght: #fff;
--bg-fill-light: #8d00fb1a;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
outline: none;
}
a:hover {
color: #535bf2;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
.card {
padding: 2em;
}
#app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}
/*通用样式*/
.primary{
color: #99DBF5;
}
.dark {
color: rgba(0,0,0,0.68);
}
.light {
color: rgba(255,255,255,0.68);
}
.silver{
color: rgba(255,255,255,0.75);
}
/*滚动条样式*/
@media (min-width: 768px) {
::-webkit-scrollbar {
width: 3px;
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
height: 10px;
background: rgba(255,255,255,0.25);
}
}
/*el-dialog样式*/
@media (min-width: 768px){
.el-dialog__body{
padding: 45px!important;
}
}
@media (max-width: 768px){
.el-dialog__body{
padding: 20px!important;
}
.el-dialog__header{
padding: 12px 0 8px 0 !important;
}
}
.el-dialog{
border-radius: 8px !important;
background-image: linear-gradient( 135deg, #81FFEF 10%, #F067B4 100%) !important;
}
.el-dialog__header{
border-bottom: 1px solid rgba(0,0,0,0.1);
margin-right: 0!important;
}
.el-dialog__headerbtn{
outline: none!important;
border: none;
}
/*分页插件颜色*/
.el-popper {
--el-color-primary: var(--paging-parmary-color);
}