neutral/public/stylesheets/style.css

282 lines
3.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
body {
padding: 2%;
background: linear-gradient(120deg, #323031 40%, rgba(241,0,0,1) 100%);
color: white;
font-size: 20px;
font-family: 'Roboto', sans-serif !important;
}
html {
min-height: 100%;
margin: 0;
}
/*Button*/
.btn {
background-color: transparent;
outline: none;
border-radius: 0.5vw;
border: 1px solid currentColor;
color: currentColor;
padding: 0.5vw;
transition: 0.2s;
cursor: pointer;
}
.btn span {
transition: 0.2s;
}
.btn:hover {
box-shadow: 0px 0px 10px currentColor;
background-color: currentColor;
}
.btn:hover span {
color: black
}
.btn:active {
box-shadow: 0px 0px 10px currentColor;
background-color: transparent;
}
.btn:active span {
color: white
}
.btn span a {
text-decoration: none;
}
/* Miniaturiez Button */
.min {
width: 40px !important;
height: 40px !important;
border-radius: 100% !important;
font-size: 1vw !important;
transition: 0.2s;
padding: 0 !important;
}
.min span {
font-size: 20px !important;
}
/*Colors*/
.red {
color: #f01000!important;
}
.blue {
color: rgb(66, 242, 255) !important;
}
.yellow {
color: rgb(255, 255, 27) !important;
}
.green {
color: rgb(64, 248, 64) !important;
}
/*Balise Properties*/
code {
background-color: #3D3B3C;
padding: 0.3vw;
border-radius: 0.5vw;
}
p {
margin-block-start: 0.5em !important;
margin-block-end: 0.5em !important;
}
a {
color: currentColor;
}
/*Lists*/
.center {
text-align: center !important;
}
.col {
display: flex;
flex-direction: column;
gap: 2vw;
}
@media (max-width: 500px) {
.row {
display: flex;
flex-direction: column;
gap: 2vw;
}
}
@media (min-width: 500px) {
.row {
display: flex;
flex-direction: row;
gap: 2vw;
}
}
/* Fields */
.field {
width: fit-content;
border-radius: 5px;
padding-bottom: 0.3vw;
padding-top: 0.3vw;
padding-left: 0.5vw;
border: 1px solid white;
background-color: transparent;
transition: 0.2s;
color: white;
}
.field:focus {
color: black;
outline: none;
background-color: white;
box-shadow: 0px 0px 8px #C1BDB3 ;
}
/* Logo */
@media (max-width: 640px) {
.logo {
font-family: 'Gunship', sans-serif;
text-shadow: 0px 0px 10px #ffffff;
font-size: 50px;
display: flex;
justify-content: center;
text-align: center;
flex-direction: column;
align-items: center;
}
.logo-img {
width: 70px;
margin-right: 10px;
}
}
@media (min-width: 640px) {
.logo {
font-family: 'Gunship', sans-serif;
text-shadow: 0px 0px 10px #ffffff;
font-size: 50px;
display: flex;
justify-content: center;
text-align: center;
align-items: center;
}
.logo-img {
width: 70px;
margin-right: 10px;
}
}
/* Form Box */
.form-box {
width: 500px;
height: 400px;
border-radius: 0.5vw;
display: flex;
padding: 2%;
flex-direction: column;
justify-content: space-between;
background-color: #605e5863;
}
.m-align {
margin-right: auto !important;
margin-left: auto !important;
}
.t-center {
text-align: center;
}
/* LOGIN Specs */
.LOG_btn {
margin-top: 2%;
margin-bottom: 2%;
}
.LOG_body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
padding: 0 !important;
margin: 0 !important;
}