Update style.css

This commit is contained in:
Michi 2022-05-30 18:41:11 +02:00 committed by GitHub
parent 0af2d19c14
commit 8d9429ced4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@ body{
--padding: 15px; --padding: 15px;
--borderRadius: 12px; --borderRadius: 12px;
--font: "open sans", sans-serif; --font: "open sans", sans-serif;
--transition: all 300ms linear;
} }
#content{ #content{
@ -192,6 +193,31 @@ body{
user-select: none; user-select: none;
} }
#aboutSocial a{
color: #fff;
margin: 10px;
font-size: 26px;
transition: var(--transition);
outline: none;
}
#aboutSocial a:hover{
color: var(--theme1);
text-decoration: none !important;
}
#aboutSocial a:hover:nth-child(1){ color: #8a3ab9; }
#aboutSocial a:hover:nth-child(2){ color: #1DA1F2; }
#aboutSocial a:hover:nth-child(3){ color: #4267B2; }
#aboutSocial a:hover:nth-child(4){ color: #f1c40f; }
#aboutSocial a:hover:nth-child(5){ color: #1DB954; }
#aboutSocial a:hover:nth-child(6){ color: #0072b1; }
/* Socialmedia Section */ /* Socialmedia Section */
#socialmedia{ #socialmedia{
margin: auto; margin: auto;
@ -413,6 +439,49 @@ body{
background: var(--theme1); background: var(--theme1);
} }
/* FAQ Section */
#faq{
margin: 0;
}
.faqObject{
width: calc(100% - 30px);
height: auto;
background: var(--theme1);
color: #fff;
margin: 15px;
/*padding: 5px 15px;*/
padding: 0 0 5px 0;
border-radius: 8px;
position: relative;
text-align: justify;
user-select: none;
}
.faqObject i{
font-size: 24px;
margin: 15px;
display: inline-flex;
transform: rotate(0deg);
transition: var(--transition);
}
.faqObject h3{
display: inline-flex;
width: 80%;
margin: 0 15px;
}
.faqObject p{
margin: 15px;
user-select: text;
}
.faqAnswer{
display: none;
padding: 0 15px 15px 5px;
}
/* Contact Section */ /* Contact Section */
#contact input{ #contact input{
width: calc(100% - 20px); width: calc(100% - 20px);
@ -598,6 +667,10 @@ body{
} }
/* Section defaults */ /* Section defaults */
.section{
margin: 15px 0;
}
.sectionTitle{ .sectionTitle{
color: var(--color); color: var(--color);
font-size: 2rem; font-size: 2rem;
@ -739,6 +812,16 @@ body{
padding-top: 0; padding-top: 0;
} }
/* FAQ Section */
.faqObject{
padding: 0 0 15px 0;
}
.faqObject h3{
width: 70%;
margin: auto 5px auto 10px;
}
/* Contact Section */ /* Contact Section */
#contact input, #contact textarea, #contactNames input, #contactNames input:nth-child(1){ #contact input, #contact textarea, #contactNames input, #contactNames input:nth-child(1){
margin: 10px; margin: 10px;