refactor(styles): Improve formatting and readability
This commit is contained in:
parent
b1be0b761d
commit
0806c47e0e
1 changed files with 419 additions and 336 deletions
|
|
@ -1,11 +1,10 @@
|
||||||
|
|
||||||
/**************** Fonts ******************/
|
/**************** Fonts ******************/
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "MontserratVar";
|
font-family: 'MontserratVar';
|
||||||
src: url('../fonts/Montserrat-VariableFont_wght.ttf');
|
src: url('../fonts/Montserrat-VariableFont_wght.ttf');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "OpenSansVar";
|
font-family: 'OpenSansVar';
|
||||||
src: url('../fonts/OpenSans-VariableFont_wdth_wght.ttf');
|
src: url('../fonts/OpenSans-VariableFont_wdth_wght.ttf');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -15,21 +14,31 @@ a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: 0.3s ease-in-out;
|
transition: 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
.nav-link.active, a.nav-dropdown-link.active {
|
.nav-link.active,
|
||||||
|
a.nav-dropdown-link.active {
|
||||||
color: #a9cd2e;
|
color: #a9cd2e;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
h1, h2, .content h1, .content h2{
|
h1,
|
||||||
|
h2,
|
||||||
|
.content h1,
|
||||||
|
.content h2 {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
h4, .content h4 {
|
h4,
|
||||||
|
.content h4 {
|
||||||
color: #a9cd2e;
|
color: #a9cd2e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -66,15 +75,33 @@ p {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer,
|
||||||
footer, footer h1, footer h2, footer h3, footer h4, footer h5, footer h6, footer p, footer a {
|
footer h1,
|
||||||
|
footer h2,
|
||||||
|
footer h3,
|
||||||
|
footer h4,
|
||||||
|
footer h5,
|
||||||
|
footer h6,
|
||||||
|
footer p,
|
||||||
|
footer a {
|
||||||
color: white !important;
|
color: white !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content .light-text h2 , .content .light-text h1 , .content .light-text h3, .content .light-text p {
|
.content .light-text h2,
|
||||||
|
.content .light-text h1,
|
||||||
|
.content .light-text h3,
|
||||||
|
.content .light-text p {
|
||||||
color: white !important;
|
color: white !important;
|
||||||
}
|
}
|
||||||
.light-text, .light-text h1, .light-text h2, .light-text h3, .light-text h4, .light-text h5, .light-text h6, .light-text p, .light-text a {
|
.light-text,
|
||||||
|
.light-text h1,
|
||||||
|
.light-text h2,
|
||||||
|
.light-text h3,
|
||||||
|
.light-text h4,
|
||||||
|
.light-text h5,
|
||||||
|
.light-text h6,
|
||||||
|
.light-text p,
|
||||||
|
.light-text a {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -82,7 +109,6 @@ ol {
|
||||||
list-style: decimal;
|
list-style: decimal;
|
||||||
counter-reset: my-awesome-counter;
|
counter-reset: my-awesome-counter;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
@ -114,39 +140,86 @@ hr {
|
||||||
}
|
}
|
||||||
@media (max-width: 770px) {
|
@media (max-width: 770px) {
|
||||||
.btn {
|
.btn {
|
||||||
display:block
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.container {
|
.container {
|
||||||
max-width: 1750px;
|
max-width: 1750px;
|
||||||
}
|
}
|
||||||
@media (max-width: 1750px) {
|
@media (max-width: 1750px) {
|
||||||
.container {
|
.container:not(.navbar) {
|
||||||
padding-left: 80px;
|
padding-left: 80px;
|
||||||
padding-right: 80px;
|
padding-right: 80px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 1200px) {
|
@media (max-width: 1200px) {
|
||||||
.container {
|
.container:not(.navbar) {
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
padding-left: 80px;
|
padding-left: 80px;
|
||||||
padding-right: 80px;
|
padding-right: 80px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
.container:not(.navbar) {
|
||||||
|
padding: 15px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 640px) {
|
||||||
|
.hide-on-desktop {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
.hide-on-mobile {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.verua-slider h1 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
h1:not(.verua-slider h1) {
|
||||||
|
font-size: 2em !important;
|
||||||
|
}
|
||||||
|
.alert {
|
||||||
|
width: 95% !important;
|
||||||
|
}
|
||||||
|
.alert > div:nth-child(2) {
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
|
section {
|
||||||
|
background: transparent !important;
|
||||||
|
padding: 10px 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
section h1:not(.verua-slider h1) {
|
||||||
|
color: black !important;
|
||||||
|
text-shadow: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-height: 770px) {
|
||||||
|
section {
|
||||||
|
padding-top: 50px !important;
|
||||||
|
padding-bottom: 10px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
table .far {
|
table .far {
|
||||||
color: #333 !important;
|
color: #333 !important;
|
||||||
font-size: 18px !important;
|
font-size: 18px !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content thead, .content tr, .content td, .content th {
|
.content thead,
|
||||||
|
.content tr,
|
||||||
|
.content td,
|
||||||
|
.content th {
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
border: 0;
|
border: 0;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
// padding-left:0;
|
// padding-left:0;
|
||||||
}
|
}
|
||||||
.content thead strong, .content tr strong, .content td strong, .content th strong {
|
.content thead strong,
|
||||||
|
.content tr strong,
|
||||||
|
.content td strong,
|
||||||
|
.content th strong {
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
}
|
}
|
||||||
.content table {
|
.content table {
|
||||||
|
|
@ -168,13 +241,15 @@ form {
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #4B5563;
|
color: #4b5563;
|
||||||
}
|
}
|
||||||
|
|
||||||
form select, form input:not([type="checkbox"]), form textarea {
|
form select,
|
||||||
|
form input:not([type='checkbox']),
|
||||||
|
form textarea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
border: 1px solid #D1D5DB;
|
border: 1px solid #d1d5db;
|
||||||
border-radius: 0.375rem;
|
border-radius: 0.375rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -182,11 +257,12 @@ form {
|
||||||
form input:focus,
|
form input:focus,
|
||||||
form textarea:focus {
|
form textarea:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: #3B82F6;
|
border-color: #3b82f6;
|
||||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
form button, #notification {
|
form button,
|
||||||
|
#notification {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
margin-bottom: 10px !important;
|
margin-bottom: 10px !important;
|
||||||
|
|
@ -203,7 +279,7 @@ form .submitbutton {
|
||||||
}
|
}
|
||||||
|
|
||||||
form button:hover {
|
form button:hover {
|
||||||
background-color: #2563EB;
|
background-color: #2563eb;
|
||||||
}
|
}
|
||||||
|
|
||||||
form .submitbutton:hover {
|
form .submitbutton:hover {
|
||||||
|
|
@ -217,7 +293,9 @@ form .submitbutton:disabled {
|
||||||
.captcha-container {
|
.captcha-container {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
#captcha-response { display:none; }
|
#captcha-response {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.captcha-refresh {
|
.captcha-refresh {
|
||||||
background-color: white !important;
|
background-color: white !important;
|
||||||
color: black !important;
|
color: black !important;
|
||||||
|
|
@ -227,7 +305,8 @@ form .submitbutton:disabled {
|
||||||
color: black !important;
|
color: black !important;
|
||||||
border: 1px solid #000 !important;
|
border: 1px solid #000 !important;
|
||||||
}
|
}
|
||||||
.captcha-verify:hover, .captcha-refresh:hover {
|
.captcha-verify:hover,
|
||||||
|
.captcha-refresh:hover {
|
||||||
background-color: #ebebeb !important;
|
background-color: #ebebeb !important;
|
||||||
color: rgb(42, 42, 42) !important;
|
color: rgb(42, 42, 42) !important;
|
||||||
}
|
}
|
||||||
|
|
@ -271,7 +350,9 @@ form .submitbutton:disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Honeypot- und Validierungsfelder im Bestellformular
|
// Honeypot- und Validierungsfelder im Bestellformular
|
||||||
#verify_email, #age, #hobbies {
|
#verify_email,
|
||||||
|
#age,
|
||||||
|
#hobbies {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
|
|
@ -292,7 +373,6 @@ form .submitbutton:disabled {
|
||||||
animation: spin 1s linear infinite; /* Apply the spin animation */
|
animation: spin 1s linear infinite; /* Apply the spin animation */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**************** Component Styles ******************/
|
/**************** Component Styles ******************/
|
||||||
|
|
||||||
// Icons
|
// Icons
|
||||||
|
|
@ -300,8 +380,6 @@ form .submitbutton:disabled {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Verua Slider
|
// Verua Slider
|
||||||
|
|
||||||
@media (max-width: 1200px) {
|
@media (max-width: 1200px) {
|
||||||
|
|
@ -341,7 +419,8 @@ form .submitbutton:disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
.verua-slider-wrapper .verua-slider .slides:nth-child(1) {
|
.verua-slider-wrapper .verua-slider .slides:nth-child(1) {
|
||||||
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2339009/pexels-photo-2339009.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
|
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
|
||||||
|
url('https://images.pexels.com/photos/2339009/pexels-photo-2339009.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
@ -349,7 +428,8 @@ form .submitbutton:disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
.verua-slider-wrapper .verua-slider .slides:nth-child(2) {
|
.verua-slider-wrapper .verua-slider .slides:nth-child(2) {
|
||||||
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2303337/pexels-photo-2303337.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
|
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
|
||||||
|
url('https://images.pexels.com/photos/2303337/pexels-photo-2303337.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
@ -357,7 +437,8 @@ form .submitbutton:disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
.verua-slider-wrapper .verua-slider .slides:nth-child(3) {
|
.verua-slider-wrapper .verua-slider .slides:nth-child(3) {
|
||||||
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2346091/pexels-photo-2346091.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
|
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
|
||||||
|
url('https://images.pexels.com/photos/2346091/pexels-photo-2346091.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
@ -365,7 +446,8 @@ form .submitbutton:disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
.verua-slider-wrapper .verua-slider .slides:nth-child(4) {
|
.verua-slider-wrapper .verua-slider .slides:nth-child(4) {
|
||||||
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/1168764/pexels-photo-1168764.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
|
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
|
||||||
|
url('https://images.pexels.com/photos/1168764/pexels-photo-1168764.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
@ -373,7 +455,8 @@ form .submitbutton:disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
.verua-slider-wrapper .verua-slider .slides:nth-child(5) {
|
.verua-slider-wrapper .verua-slider .slides:nth-child(5) {
|
||||||
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2693529/pexels-photo-2693529.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
|
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
|
||||||
|
url('https://images.pexels.com/photos/2693529/pexels-photo-2693529.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
@ -381,7 +464,7 @@ form .submitbutton:disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
.verua-slider-wrapper .verua-slider .slides h1 {
|
.verua-slider-wrapper .verua-slider .slides h1 {
|
||||||
font-family: "MontserratVar" !important;
|
font-family: 'MontserratVar' !important;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: 0px 0.5px 12px rgba(0, 0, 0, 0.9);
|
text-shadow: 0px 0.5px 12px rgba(0, 0, 0, 0.9);
|
||||||
|
|
@ -487,5 +570,5 @@ form .submitbutton:disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
.verua-slider-wrapper a:hover {
|
.verua-slider-wrapper a:hover {
|
||||||
background: #017f
|
background: #017f;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue