feat: Implement DNS function placeholder and enhance main page styling for improved layout
This commit is contained in:
@@ -17,7 +17,7 @@ def add_dns(name: str, port: int) -> bool:
|
|||||||
- bool (True if adding of the Subdomain is active)
|
- bool (True if adding of the Subdomain is active)
|
||||||
"""
|
"""
|
||||||
# This is a placeholder function, as the actual implementation would depend on the DNS provider and how the DNS records are managed.
|
# This is a placeholder function, as the actual implementation would depend on the DNS provider and how the DNS records are managed.
|
||||||
pass
|
return False
|
||||||
|
|
||||||
def clear_special(var_:str) -> str:
|
def clear_special(var_:str) -> str:
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -227,6 +227,37 @@
|
|||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-viewport {
|
||||||
|
--home-zoom: 1;
|
||||||
|
position: relative;
|
||||||
|
transform-origin: top center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 981px) {
|
||||||
|
.home-viewport {
|
||||||
|
--home-zoom: 1.2;
|
||||||
|
width: calc(100% / var(--home-zoom));
|
||||||
|
margin-inline: auto;
|
||||||
|
transform: scale(var(--home-zoom));
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero {
|
||||||
|
min-height: min(76vh, 860px);
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero p {
|
||||||
|
max-width: 56ch;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section,
|
||||||
|
.testimonials,
|
||||||
|
.contact,
|
||||||
|
.primary-focus {
|
||||||
|
margin-top: 2.35rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.section h2 {
|
.section h2 {
|
||||||
font-size: clamp(1.45rem, 3vw, 2.3rem);
|
font-size: clamp(1.45rem, 3vw, 2.3rem);
|
||||||
margin-bottom: 0.4rem;
|
margin-bottom: 0.4rem;
|
||||||
@@ -631,6 +662,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<div class="home-viewport">
|
||||||
<header class="hero" id="top" aria-label="Seitenstart">
|
<header class="hero" id="top" aria-label="Seitenstart">
|
||||||
<div>
|
<div>
|
||||||
<span class="eyebrow">Lehrmittelverwaltungssoftware für Schulen</span>
|
<span class="eyebrow">Lehrmittelverwaltungssoftware für Schulen</span>
|
||||||
@@ -872,6 +904,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<a class="btn btn-secondary" href="{{ url_for('kontakt') }}">Beratungstermin vereinbaren</a>
|
<a class="btn btn-secondary" href="{{ url_for('kontakt') }}">Beratungstermin vereinbaren</a>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const revealItems = document.querySelectorAll('.reveal-on-scroll');
|
const revealItems = document.querySelectorAll('.reveal-on-scroll');
|
||||||
|
|||||||
Reference in New Issue
Block a user