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

366 lines
6.3 KiB
CSS
Raw Permalink Normal View History

2020-05-04 12:35:27 +02:00
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;
}
2020-05-25 12:02:04 +02:00
@media (hover: none) and (pointer: coarse) {
body {
font-size: 2em;
}
}
2020-05-11 10:51:30 +02:00
body {
background: linear-gradient(-45deg, #ee7752, #23a6d5);
2020-05-11 12:10:22 +02:00
background-size: 100%;
2020-05-11 10:51:30 +02:00
}
2020-05-04 12:35:27 +02:00
.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;
}
2020-05-11 10:51:30 +02:00
/*
.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;
}
2020-05-04 12:35:27 +02:00
2020-05-11 10:51:30 +02:00
.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;
}
*/
2020-05-04 12:35:27 +02:00
.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{
2020-05-18 13:07:53 +02:00
display: none;
2020-05-04 12:35:27 +02:00
}
h2#cookie_text{
text-align: center;
font-size: 2.5vw;
2020-05-11 12:10:22 +02:00
}
#result_mail a {
color: #001bff;
cursor: pointer;
}
2020-05-18 12:03:20 +02:00
.green:before{
content: '✅ ';
margin-right: 3vw;
}
.red{
background: rgba(252, 214, 214, 0.54);
border: 0.2vw solid red;
}
.red:before {
content: '❌ ';
margin-right: 3vw;
}
.green {
background: rgba(218, 252, 214, 0.53);
border: 0.2vw solid green;
}
div#result_password ul{
padding : 0vw 15vw;
list-style: none;
}
div#result_password li{
padding: 0.75vw;
}
div#result_password p{
text-align: center;
}
div#result_password h1{
padding: 2vh 0;
}
2020-05-25 12:02:04 +02:00
div#result_mail h1{
padding:2vh 0;
width:70%;
display: block;
margin: auto;
}
div#result_mail ul{
padding : 0vw 15vw;
list-style: none;
}
div#result_password li{
padding: 0.75vw;
}
.warning:before{
content: '⚠ ';
margin-right: 3vw;
}
.warning{
background: rgba(252, 214, 214, 0.54);
border: 0.2vw solid red;
margin-bottom: 0.5vh;
}
div.container#result_mail h2 {
position: relative;
top: 300px;
}
div.container#result_mail p {
text-align: center;
font-weight: bold;
font-size: xx-large;
}
2020-05-18 12:03:20 +02:00
.arrowdown{
cursor: pointer;
width: 10%;
display: block;
margin: auto;
animation: animationFrames linear 2s;
animation-iteration-count: infinite;
transform-origin: 50% 50%;
-webkit-animation: animationFrames linear 2s;
-webkit-animation-iteration-count: infinite;
-webkit-transform-origin: 50% 50%;
-moz-animation: animationFrames linear 2s;
-moz-animation-iteration-count: infinite;
-moz-transform-origin: 50% 50%;
-o-animation: animationFrames linear 2s;
-o-animation-iteration-count: infinite;
-o-transform-origin: 50% 50%;
-ms-animation: animationFrames linear 2s;
-ms-animation-iteration-count: infinite;
-ms-transform-origin: 50% 50%;
}
@keyframes animationFrames{
0% {
transform: translate(-1px,1px) ;
}
50% {
transform: translate(-1px,16px) ;
}
100% {
transform: translate(-1px,0px) ;
}
}
@-moz-keyframes animationFrames{
0% {
-moz-transform: translate(-1px,1px) ;
}
50% {
-moz-transform: translate(-1px,16px) ;
}
100% {
-moz-transform: translate(-1px,0px) ;
}
}
@-webkit-keyframes animationFrames {
0% {
-webkit-transform: translate(-1px,1px) ;
}
50% {
-webkit-transform: translate(-1px,16px) ;
}
100% {
-webkit-transform: translate(-1px,0px) ;
}
}
@-o-keyframes animationFrames {
0% {
-o-transform: translate(-1px,1px) ;
}
50% {
-o-transform: translate(-1px,16px) ;
}
100% {
-o-transform: translate(-1px,0px) ;
}
}
@-ms-keyframes animationFrames {
0% {
-ms-transform: translate(-1px,1px) ;
}
50% {
-ms-transform: translate(-1px,16px) ;
}
100% {
-ms-transform: translate(-1px,0px) ;
}
}
div.mainflex{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
div.mainflex div{
width: 20%;
}
div.mainflex div img{
width: 30%;
display: block;
margin: auto;
}
div.mainflex div p{
text-align: center;
}
div.mainflex div img:hover{
width: 35%;
transition-duration: 1s;
}