Update styles and fix hover border behavior
Added a border-radius reset for `.md-top` and adjusted button hover styles to ensure consistent border color behavior. Minor font adjustments in the related HTML file were also included.
This commit is contained in:
+9
-1
File diff suppressed because one or more lines are too long
+9
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -22,6 +22,15 @@
|
||||
font-display: swap;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
// Füge die Klasse 'home' zum Body hinzu, wenn es sich um die Startseite handelt
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const path = window.location.pathname;
|
||||
if (path === '/' || path === '/index.html' || path === '') {
|
||||
document.body.classList.add('home');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
@@ -29,19 +38,13 @@
|
||||
|
||||
<div class="md-footer-container">
|
||||
<div class="satag--custom-footer-column left">
|
||||
|
||||
|
||||
<div class="satag--footer-text">
|
||||
satware AG<br>
|
||||
Friedrich-Ebert-Str. 34<br>
|
||||
67549 Worms
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="satag--custom-footer-column right">
|
||||
|
||||
|
||||
<div class="satag--footer-text">
|
||||
<a href="tel:+496241987280" title="Rufen Sie uns jetzt an">06241 987280</a><br><a
|
||||
href="mailto:info@satware.com"
|
||||
@@ -63,11 +66,7 @@
|
||||
title="Zum YouTube Kanal der satware AG"><i
|
||||
class="fa-brands fa-youtube"></i></a>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="md-footer-custom-links">
|
||||
<a href="https://satware.com/custom/index/sCustom/1" title="Kontakt">Kontakt</a>
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -204,6 +204,9 @@ a.headerlink{
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.md-top{
|
||||
border-radius: 0;
|
||||
}
|
||||
// Buttons im CI-Design
|
||||
.md-button {
|
||||
|
||||
@@ -218,7 +221,7 @@ a.headerlink{
|
||||
@include transition;
|
||||
|
||||
&:hover{
|
||||
border-color: var(--md-primary-fg-color) !important;
|
||||
border-color: #8a44bd !important;
|
||||
transform: translateY(8px);
|
||||
@include transition;
|
||||
}
|
||||
@@ -282,7 +285,7 @@ a.headerlink{
|
||||
|
||||
&:hover {
|
||||
background-color: var(--md-primary-fg-color--light);
|
||||
border-color: var(--md-primary-fg-color--light);
|
||||
border-color: var(--md-primary-fg-color--light) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user