1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Internet_Security/public/css/main.css

175 lines
3 KiB
CSS

html{
margin: 0;
padding: 0;
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
}
body{
margin: 0;
padding: 0;
scroll-behavior: smooth;
font-family: 'Roboto', sans-serif;
}
body {
background: linear-gradient(-45deg, #ee7752, #23a6d5);
background-size: 100%;
}
.container{
width: 100%;
height: 100vh;
}
#main h1{
margin: 0;
padding: 0;
text-align: center;
font-size: 4vw;
padding: 25vh 0;
animation: fadeup 1s;
}
.container h1{
margin: 0;
padding: 0;
text-align: center;
font-size: 4vw;
padding: 15vh 0;
animation: fadeup 1s;
}
/*
.triangle-right {
width: 0;
height: 0;
border-top: 0px solid transparent;
border-left: 300px solid #0a89ac;
border-bottom: 130px solid transparent;
float: left;
animation : fade 0.5s;
}
.trapezoid {
border-bottom: 94px solid #e35d00;
border-left: 100px solid transparent;
border-right: 0px solid transparent;
height: 0;
width: 150px;
float: right;
animation : fade 0.5s;
}
*/
.container h2{
text-align: center;
animation: fade 2s;
font-size: 2vw;
}
@keyframes fade {
0%{opacity: 0}
100%{opacity: 1}
}
@keyframes fadeup {
0%{opacity: 0;margin-left: 10vw;}
100%{opacity: 1;margin-top: 0;}
}
label{
display: block;
text-align: center;
font-size: 2.5vw;
padding: 5vh 0;
animation: fadeup 2s;
}
input{
display: block;
margin: auto;
border-top: transparent;
border-left: transparent;
border-right: transparent;
text-align: center;
padding: 1vw;
background-color: transparent;
border-bottom: 0.2vw solid rgba(69, 69, 69, 0.87);
color: black;
width: 50%;
animation: fadewidth 2s;
box-shadow: 0 0 0 transparent;
-webkit-transition: box-shadow 0.5s;
transition: box-shadow 0.5s;
}
.error {
-webkit-animation: shake 0.2s ease-in-out 0s 2;
animation: shake 0.2s ease-in-out 0s 2;
box-shadow: 0 0 0.5em red;
}
input:hover{
border-bottom-right-radius: 20px;
transition-duration: 0.3s;
}
input:focus{
border-color: #057693;
transition-duration: 0.3s;
}
@keyframes fadewidth {
0%{width: 20%}
100%{width: 50%}
}
@-webkit-keyframes shake {
0% {
margin-left: auto;
margin-right: auto;
}
25% {
margin-left: 15vh;
margin-right: auto;
}
75% {
margin-left: auto;
margin-right: 15vh;
}
100% {
margin-left: auto;
margin-right: auto;
}
}
@keyframes shake {
0% {
margin-left: auto;
margin-right: auto;
}
25% {
margin-left: 15vh;
margin-right: auto;
}
75% {
margin-left: auto;
margin-right: 15vh;
}
100% {
margin-left: auto;
margin-right: auto;
}
}
.hide{
display : none;
}
h2#cookie_text{
text-align: center;
font-size: 2.5vw;
}
#result_mail a {
color: #001bff;
cursor: pointer;
}