Update style.css

This commit is contained in:
Michi 2022-05-29 11:43:51 +02:00 committed by GitHub
parent 96ecf161ad
commit c65b09c7e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@ body{
overflow-x: hidden; overflow-x: hidden;
--theme1: #3498db; --theme1: #3498db;
--theme2: #2980b9; --theme2: #2980b9;
--red: #e74c3c;
--background: #181818; --background: #181818;
--color: #fff; --color: #fff;
--margin: 15px; --margin: 15px;
@ -182,6 +183,7 @@ body{
#aboutText, #aboutImg{ #aboutText, #aboutImg{
width: 100%; width: 100%;
height: auto; height: auto;
text-align: justify;
} }
#aboutImg img{ #aboutImg img{
@ -517,6 +519,27 @@ body{
border: 2px dotted; border: 2px dotted;
} }
@keyframes shake{
0%{
transform: translate(0, 0);
}
15%{
transform: translate(1rem, 0);
}
35%{
transform: translate(-1rem, 0);
}
55%{
transform: translate(1rem, 0);
}
80%{
transform: translate(-1rem, 0);
}
10%{
transform: translate(0, 0);
}
}
/* Footer & imprint */ /* Footer & imprint */
#footer{ #footer{
margin: 0; margin: 0;
@ -628,6 +651,11 @@ body{
} }
@media screen and (max-width:640px){ @media screen and (max-width:640px){
/* General */
.inner-width p{
margin: auto 10px;
}
/* Navbar */ /* Navbar */
#navbar-links{ #navbar-links{
display: none; display: none;