fanatic/public/css/admin/style.css
2022-04-23 11:39:07 -07:00

148 lines
2.8 KiB
CSS

@import url(https://fonts.googleapis.com/css2?family=Imprima&family=Satisfy&display=swap);
/* ------------------------------------------------------------------------------------ &BTN ---- */
.form__btn {
border: 1px solid #7874ff;
padding: 5px 10px;
margin-right: 5px;
border-color: #7874ff;
background-color: #e4e3ff;
transition: background-color 0.4s, border-color 0.4s;
}
.form__btn:hover {
background-color: #f8e5ff;
border-color: #de7cff;
transition: background-color 0.4s, border-color 0.4s;
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: border-box;
}
body {
font-family: "Imprima", sans-serif;
font-size: 16px;
background: rgb(243, 200, 255);
background: linear-gradient(320deg, rgb(243, 200, 255) 0%, rgb(191, 191, 255) 100%);
}
a {
color: #7874ff;
transition: color 0.2s;
}
a:hover {
color: #de7cff;
transition: color 0.2s;
}
h1 {
font-family: "Satisfy", serif;
font-size: 46px;
font-weight: normal;
margin-left: 40px;
margin-bottom: 10px;
display: inline-block;
position: relative;
}
h1 span {
background: linear-gradient(#d7d5ff, #d7d5ff) 0 80%/100% 20px no-repeat;
height: 15px;
}
/* ---------------------------------------------------------------------------------- &FORMS ---- */
.form__fieldset {
width: 60%;
margin: 30px auto;
border: 1px solid #7874ff;
padding: 20px 40px;
text-align: center;
}
.form__label, .form__btns {
display: block;
margin-top: 20px;
margin-bottom: 5px;
}
.form__label:first-of-type, .form__btns:first-of-type {
margin-top: 0;
}
.form__input {
border: 1px solid #7874ff;
background-color: #e4e3ff;
border-color: #7874ff;
background-color: #e4e3ff;
transition: background-color 0.4s, border-color 0.4s;
}
.form__input:hover {
background-color: #f8e5ff;
border-color: #de7cff;
transition: background-color 0.4s, border-color 0.4s;
}
.form__input:focus {
background-color: #f8e5ff;
border-color: #de7cff;
transition: background-color 0.4s, border-color 0.4s;
}
.form__btns:first-of-type {
margin-top: 20px;
}
.form__error {
color: #e20000;
}
html, body {
width: 100%;
height: 100%;
}
body {
display: flex;
align-items: center;
justify-content: center;
}
.l-container {
width: 80%;
height: 90%;
margin: 0 auto;
background-color: #f8f8ff;
border: 1px solid #7874ff;
}
.l-nav {
height: 7%;
display: flex;
align-items: stretch;
border-bottom: 1px solid #7874ff;
}
.l-nav__tab {
flex-grow: 1;
border-right: 1px solid #7874ff;
padding: 10px;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
}
.l-nav__tab:last-child {
border-right: none;
}
.l-main {
padding: 10px 40px;
}
.error {
background-color: #87ff5f;
border: 1px solid #30be00;
padding: 10px;
width: 60%;
margin: 10px auto;
}