Merge pull request #218 from IBCornelsen/UMBE

updateUpdate
This commit is contained in:
UMBENOMENA
2024-12-14 02:59:05 +01:00
committed by GitHub
2 changed files with 98 additions and 146 deletions

View File

@@ -2,9 +2,9 @@
import { PRICES } from "#lib/constants";
</script>
<div id ="cardVApromo" class=" box card">
<div id="card-VA-promo" class=" box card bg-white px-6 py-4 mb-5">
<div id="card-VA-promo" class="box card">
<div class="grid">
<h2>Verbrauchsausweis Wohngebäude</h2>
<hr class="mb-4" />
@@ -27,7 +27,7 @@
</div>
</div>
</div>
<style lang="scss">
</style>

View File

@@ -1,26 +1,29 @@
/*@import url('https://fonts.googleapis.com/css2?family=Abel:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,400&display=swap');*/
@font-face {
font-family: "Heron";
font-family: 'Heron';
font-weight: 400;
font-style: normal;
font-display: swap;
src: url("/fonts/HeronSans-Light.woff2") format("woff2");
}
font-display:swap;
src: url("/fonts/HeronSans-Light.woff2") format('woff2');
}
@font-face {
font-family: "Heron";
font-family: 'Heron';
font-weight: 700;
font-style: normal;
font-display: swap;
src: url("/fonts/HeronSans-Regular.woff2") format("woff2");
}
font-display:swap;
src: url("/fonts/HeronSans-Regular.woff2") format('woff2');
}
@font-face {
font-family: "Antique Olive Compact bold";
@font-face {
font-family: 'Antique Olive Compact bold';
font-weight: 700;
font-style: normal;
font-display: swap;
src: url("/fonts/Antique Olive Std Compact.woff2") format("woff2");
}
font-display:swap;
src: url("/fonts/Antique Olive Std Compact.woff2") format('woff2');
}
* {
font-weight: 400;
@@ -28,70 +31,51 @@
font-family: "Heron";
}
.promo1 {
.promo1{
font-weight: 700;
box-sizing: border-box;
font-family: "Antique Olive Compact bold";
text-shadow: 2px 2px 8px #222;
}
.promo {
font-weight: 700;
box-sizing: border-box;
font-family: "Antique Olive Compact bold";
}
.promo{
font-weight: 700;
box-sizing: border-box;
font-family: "Antique Olive Compact bold";
.promo{
font-weight: 700;
box-sizing: border-box;
font-family: "Antique Olive Compact bold";
}
body{
@apply bg-[url('/images/pattern.png')] bg-repeat bg-fixed max-w-[1920px] mx-auto border-gray-200 border-[1px] min-w-[320px]
@apply bg-[url('/images/pattern.png')] bg-repeat bg-fixed max-w-[1920px] mx-auto border-gray-200 border-[1px] min-w-[320px]
}
.button {
@apply w-full h-[38px] px-4 py-2 bg-secondary ring-2 ring-secondary/25 rounded-none xs:rounded-md text-white text-nowrap
hover:bg-gradient-to-br from-secondary to-secondary-grad hover:shadow-lg transition-all hover:no-underline hover:ring-2 hover:ring-primary;
hover:bg-gradient-to-br from-secondary to-secondary-grad hover:shadow-lg transition-all hover:no-underline hover:ring-2 hover:ring-primary
}
input[type="text"],
input[type="number"],
input[type="password"],
select {
@apply min-h-[38px] ring-1 ring-black/15 rounded-sm;
}
input[type="checkbox"] {
@apply inline-block;
}
radio {
@apply accent-primary;
}
input[type="text"], input[type="number"], input[type="password"], select{
@apply min-h-[38px] ring-1 ring-black/15 rounded-sm}
input[type="checkbox"]{@apply inline-block}
radio{@apply accent-primary}
/*ARTICLE*/
article {
@apply w-full relative bg-white px-0 py-0;
hr {
@apply mb-4 mt-4;
}
hr {@apply mb-4 mt-4;}
h1 {
@apply text-4xl font-normal mb-2;
}
h2 {
@apply text-2xl font-normal mb-2;
}
h3 {
@apply text-xl font-normal mb-2;
}
a {
@apply text-blue-700 font-medium text-lg;
}
h1 {@apply text-4xl font-normal mb-2;}
h2 {@apply text-2xl font-normal mb-2;}
h3 {@apply text-xl font-normal mb-2;}
a {@apply text-blue-700 font-medium text-lg;}
}
/*SIDEBARS*/
@@ -99,23 +83,20 @@ article {
/*BOXES*/
.box{
@apply rounded-lg
lg:shadow-box lg:ring-1 lg:ring-gray-300
xl:rounded-xl;
xl:rounded-xl
}
.card {
h2 {
@apply text-lg font-bold text-box-heading leading-6;
}
hr {
@apply my-2;
}
p {
@apply text-lg;
}
a {
@apply text-lg;
}
.card:not(:last-child){@apply mb-5}
.card{@apply bg-white px-6 py-4;
h2 {@apply text-lg font-bold text-box-heading leading-6}
hr {@apply my-0}
p {@apply text-lg}
a {@apply text-lg}
}
@@ -123,106 +104,77 @@ article {
/*NAVIGATION*/
.nav-element {
@apply relative block cursor-pointer;
.nav-element{@apply relative block cursor-pointer}
.nav-element:not(:first-child){@apply border-gray-200 border-t-[1px]}
.no-dropdown, .no-dropdown:hover{@apply text-black no-underline}
.nav-element:hover > .nav-element-child{
@apply !bg-primary !text-white cursor-pointer
}
.nav-element:not(:first-child) {
@apply border-gray-200 border-t-[1px];
.nav-element:hover > .nav-element-child .no-dropdown{
@apply !bg-primary !text-white cursor-pointer
}
.no-dropdown,
.no-dropdown:hover {
@apply text-black no-underline;
.nav-element:hover > .dropdown-content{
@apply lg:visible lg:opacity-100 lg:block lg:ml-[calc(100%+2px)]
}
.nav-element:hover > .nav-element-child {
@apply !bg-primary !text-white cursor-pointer;
.nav-element:hover:first-child > .nav-element-child{
@apply !rounded-none
lg:!rounded-tl-xl lg:!rounded-tr-none
}
.nav-element:hover > .nav-element-child .no-dropdown {
@apply !bg-primary !text-white cursor-pointer;
.nav-element:hover:last-child > .nav-element-child{
@apply !rounded-none
xl:!rounded-b-xl
}
.nav-element:hover > .dropdown-content {
@apply lg:visible lg:opacity-100 lg:block lg:ml-[calc(100%+2px)];
.nav-element-child{
@apply px-4 py-2 w-full justify-start text-sm bg-white flex !no-underline text-black
xl:text-lg
}
.nav-element:hover:first-child > .nav-element-child {
@apply !rounded-none
lg:!rounded-tl-xl lg:!rounded-tr-none;
}
.nav-element:hover:last-child > .nav-element-child {
@apply !rounded-none
xl:!rounded-b-xl;
}
.nav-element-child {
@apply px-4 py-2 w-full justify-start text-sm bg-white flex !no-underline text-black
xl:text-lg;
}
.dropdown-content {
@apply !relative z-[1] !p-0 !scale-100 hidden
.dropdown-content{
@apply !relative z-[1] !p-0 !scale-100 hidden
lg:!absolute lg:min-w-max lg:p-2 lg:shadow-lg lg:!top-0 lg:ring-gray-300 lg:ring-1;
li {@apply text-sm bg-white flex
xl:text-lg}
li {
@apply text-sm bg-white flex
xl:text-lg;
}
li a {@apply w-full text-sm px-4 py-2 rounded-none no-underline hover:text-white hover:bg-gradient-to-br from-secondary to-secondary-grad
lg:px-4 bg-[#efefef] text-black lg:hover:bg-secondary
xl:text-lg}
li a {
@apply w-full text-sm px-4 py-2 rounded-none no-underline hover:text-white hover:bg-gradient-to-br from-secondary to-secondary-grad
lg:px-4 bg-[#efefef] text-black lg:hover:bg-secondary
xl:text-lg;
}
li:not(:first-child) {
@apply !border-gray-200 !border-t-[1px];
}
li:not(:first-child) {@apply !border-gray-200 !border-t-[1px]}
}
.verbrauchsausweis li:nth-child(5),
.bedarfsausweis li:nth-child(5) {
@apply !border-primary !border-t-[1px];
.verbrauchsausweis li:nth-child(5), .bedarfsausweis li:nth-child(5){
@apply !border-primary !border-t-[1px]
}
#hamburger {
#hamburger{
@apply my-1;
span {
@apply block h-[3px] w-6 bg-white !transition-all;
}
span:nth-child(2) {
@apply my-1;
}
span {@apply block h-[3px] w-6 bg-white !transition-all}
span:nth-child(2) {@apply my-1}
}
.hamburger-swing-0 {
@apply origin-left rotate-45 -translate-y-[1.5px] !transition-all duration-500;
}
.hamburger-swing-1 {
@apply origin-center opacity-0 !transition-all;
}
.hamburger-swing-2 {
@apply origin-left -rotate-45 translate-y-[1.5px] !transition-all duration-500;
}
.hamburger-swing-0{@apply origin-left rotate-45 -translate-y-[1.5px] !transition-all duration-500}
.hamburger-swing-1{@apply origin-center opacity-0 !transition-all}
.hamburger-swing-2{@apply origin-left -rotate-45 translate-y-[1.5px] !transition-all duration-500}
.show-dropdown-content{@apply block !visible !opacity-100 lg:!invisible}
.dd-symbol{ @apply absolute right-[20px] rotate-0 transition-all duration-300 origin-center md:transition-none}
.dd-symbol-clone{ @apply absolute right-[20px] lg:text-primary}
.rotate-symbol{@apply rotate-[90deg] transition-all duration-300 origin-center lg:rotate-0 md:transition-none}
.show-dropdown-content {
@apply block !visible !opacity-100 lg:!invisible;
}
.dd-symbol {
@apply absolute right-[20px] rotate-0 transition-all duration-300 origin-center md:transition-none;
}
.dd-symbol-clone {
@apply absolute right-[20px] lg:text-primary;
}
.rotate-symbol {
@apply rotate-[90deg] transition-all duration-300 origin-center lg:rotate-0 md:transition-none;
}
/*NAVIGATION-ANIMATION*/
/*SIDEBAR-RIGHT*/
/*FOOTER*/
/*FOOTER*/