You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Malio/public/theme/material/css/index.css

355 lines
4.7 KiB
CSS

@import url(https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css);
body {
background-color: #1D1D1D;
color: white;
min-height: 100vh;
}
a {
color: inherit;
text-decoration: none;
}
#index {
flex-wrap: wrap;
}
.flex {
display: flex;
}
.space-around {
justify-content: space-around;
}
.align-center {
align-items: center;
}
.warp {
flex-wrap: wrap;
}
.nav,
.main,
.footer {
flex-basis: 100%;
}
.logo-sm,
.auth-sm {
padding: 1rem 1rem;
}
.auth-sm {
text-align: right;
justify-content: flex-end;
}
.auth>div:first-of-type {
padding: 0 2rem;
}
.logo-sm .logo {
height: 48px;
}
.logo {
border-radius: 50%;
}
.logo-sm>a {
align-items: center;
}
.logo-sm .logo {
margin-right: .5rem;
}
.logo-bg .logo {
height: 160px;
display: none;
}
.sign {
font-size: .5rem;
margin-top: 2px;
color: #858585;
}
.main {
text-align: center;
min-height: 80vh;
}
.title,
.auth {
margin-right: auto;
margin-left: auto;
display: flex;
align-items: center;
width: 60%;
justify-content: center;
}
.title-left {
text-align: center;
}
.title-left a {
margin-right: .5rem;
margin-bottom: .5rem;
}
.title h1 {
font-size: 2.5rem;
margin: 0;
display: inline-block;
border-bottom: 2px solid currentColor;
}
.title span {
font-size: 1.5rem;
display: block;
margin-bottom: 2rem;
}
.button-index {
font-size: 1rem;
padding: .5rem 1.5rem;
display: inline-block;
border: 2px solid currentColor;
min-width: 120px;
text-align: center;
}
.footer {
padding: 0 3rem;
}
.staff,
.time {
text-align: center;
}
.staff {
color: rgba(120, 120, 120, 1);
}
.staff a {
color: #D1335B;
}
.input-control input {
border: none;
border-bottom: 2px solid white;
background: none;
outline: none;
}
.auth-submit {
border-radius: 3px;
color: #D1335B;
background: white;
outline: none;
border: 1px solid transparent;
min-height: 46px;
margin-top: 1rem;
width: 32%;
}
.auth,.user {
width: 100%;
}
.auth h1 {
font-size: 3.5rem;
}
.page-auth,
.page-user {
text-align: center;
}
.input-control {
justify-content: center;
flex-wrap: wrap;
width: 40%;
margin-left: auto;
margin-right: auto;
}
.input-control-inner {
flex-wrap: wrap;
text-align: left;
}
.input-control>label,
.input-control>input,
.input-control>select {
flex-basis: 80%;
text-align: left;
}
.input-control-inner>label,
.input-control-inner>input {
flex-basis: 100%;
}
.twin {
justify-content: space-around;
align-items: flex-end;
padding: 0;
}
.twin>* {
flex-basis: 100%%;
}
.input-control>input {
margin-bottom: 1rem;
}
.reg {
flex-wrap: wrap;
}
.reg .input-control {
flex-basis: 100%;
}
input[name] {
height: 46px;
}
select {
color: black;
height: 36px;
}
.button-round {
justify-content: center;
align-items: center;
margin-bottom: 1rem;
}
.icon-round {
background: white;
color: black;
border-radius: 50%;
width: 2rem;
height: 2rem;
display: inline-block;
margin-right: .75rem;
}
.fa {
position: relative;
}
.icon-round .fa-pencil {
top: .25rem;
left: .05rem
}
.icon-round .fa-plus {
top: .35rem;
left: .05rem
}
@media screen and (min-width:35.5em) {
.footer {
margin-top: 3rem;
}
.title-left a {
margin-bottom: 0;
}
.logo-sm,
.auth-sm {
padding: 1rem 3rem;
margin-top: .8rem;
}
.title h1 {
font-size: 4rem;
}
.staff {
text-align: left;
}
.time {
text-align: right;
}
.auth-links {
padding: 0;
}
.auth-links a {
flex-basis: 100%;
}
}
@media screen and (min-width:48em) {
.title h1 {
font-size: 5rem;
}
#register {
margin-top: 2rem;
}
.twin {
justify-content: space-around;
align-items: flex-end;
padding: 0 2.5%;
}
.twin>* {
flex-basis: 39%;
}
.reg .input-control {
flex-basis: 48%;
}
}
@media screen and (min-width:64em) {}
@media screen and (min-width:80em) {
.title h1 {
padding-right: 4rem;
}
.title-left {
text-align: left;
}
.logo-bg .logo {
display: unset;
margin-left: 10rem;
}
}
/* 组件 */
.uim-messager {
position: absolute;
top: 6rem;
left: 0;
right: 0;
margin-right: auto;
margin-left: auto;
display: inline-block;
text-align: center;
border-radius: 3px;
z-index: 10;
padding: 7px 10px;
color: black;
background: white;
width: 200px;
min-height: 36px;
}
.uim-messager span {
margin-left: .6rem;
}