mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Added HKW sites
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
.ha-topnav.ha-topnav-collapsed
|
||||
.ha-topnav-dropdown
|
||||
.ha-topnav-dropdown-content {
|
||||
@apply shadow-none desktop:shadow-md desktop:border-b
|
||||
@apply shadow-none desktop:shadow-md desktop:border-b
|
||||
}
|
||||
|
||||
.ha-menusymbol svg {
|
||||
@@ -48,11 +48,11 @@
|
||||
}
|
||||
|
||||
.ha-topnav-dropdown .ha-topnav-dropdown-content {
|
||||
@apply hidden mr-6 pt-1 right-0 desktop:absolute min-w-[130px] z-50;
|
||||
@apply hidden mr-6 pt-1 right-0 desktop:absolute min-w-[130px] z-50 whitespace-nowrap
|
||||
}
|
||||
|
||||
.ha-topnav-dropdown .ha-topnav-dropdown-content a {
|
||||
@apply pl-2 pr-3 py-2 block mr-0;
|
||||
@apply pl-2 pr-3 py-2 block mr-0 whitespace-nowrap
|
||||
}
|
||||
|
||||
.ha-topnav-dropdown .ha-topnav-dropdown-content .active {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -21,6 +21,10 @@
|
||||
@apply w-full py-12 px-12 md:px-16 hyphenate font-serif
|
||||
}
|
||||
|
||||
.ha-static .ha-static-right-margin {
|
||||
@apply md:pr-60 desktop:pr-80
|
||||
}
|
||||
|
||||
.ha-static h1 {
|
||||
@apply font-bold text-2xl desktop:font-normal desktop:text-5xl mb-9 unhyphenate
|
||||
}
|
||||
|
||||
BIN
HaWeb/wwwroot/img/Denkwuerdigkeiten.jpg
Normal file
BIN
HaWeb/wwwroot/img/Denkwuerdigkeiten.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 610 KiB |
BIN
HaWeb/wwwroot/img/FliegenderBrief.jpg
Normal file
BIN
HaWeb/wwwroot/img/FliegenderBrief.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 405 KiB |
@@ -266,27 +266,30 @@ const get_theme_settings = function (standard) {
|
||||
// Functions for scrolling
|
||||
const scrollFunction = function () {
|
||||
button = document.getElementById("ha-scrollbutton");
|
||||
if (document.body.scrollTop > 300 || document.documentElement.scrollTop > 300) {
|
||||
// button.style.display = "block";
|
||||
button.style.pointerEvents = "auto";
|
||||
button.style.opacity = "1";
|
||||
} else {
|
||||
// button.style.display = "none";
|
||||
button.style.pointerEvents = "none";
|
||||
button.style.opacity = "0";
|
||||
if (button !== null) {
|
||||
if (document.body.scrollTop > 300 || document.documentElement.scrollTop > 300) {
|
||||
// button.style.display = "block";
|
||||
button.style.pointerEvents = "auto";
|
||||
button.style.opacity = "1";
|
||||
} else {
|
||||
// button.style.display = "none";
|
||||
button.style.pointerEvents = "none";
|
||||
button.style.opacity = "0";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////////////// ONLOAD ////////////////////////////////////
|
||||
window.addEventListener("load", function () {
|
||||
// Scroll button
|
||||
scrollFunction();
|
||||
let scrollbutton = this.document.getElementById("ha-scrollbutton");
|
||||
scrollbutton.addEventListener("click", () => {
|
||||
document.body.scrollTop = 0; // For Safari
|
||||
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
||||
})
|
||||
this.window.addEventListener("scroll", scrollFunction);
|
||||
if(document.getElementById("ha-scrollbutton") !== null) {
|
||||
scrollFunction();
|
||||
document.getElementById("ha-scrollbutton").addEventListener("click", () => {
|
||||
document.body.scrollTop = 0; // For Safari
|
||||
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
||||
})
|
||||
window.addEventListener("scroll", scrollFunction);
|
||||
}
|
||||
|
||||
// Menu: Show / Hide Buttons for mobile View
|
||||
if (
|
||||
@@ -302,11 +305,11 @@ window.addEventListener("load", function () {
|
||||
}
|
||||
|
||||
// Menu / Register / Search View: Mark active link
|
||||
if (document.getElementById("ha-topnav") != null)
|
||||
if (document.getElementById("ha-topnav") !== null)
|
||||
markactive_startswith(document.getElementById("ha-topnav"));
|
||||
if (document.getElementById("ha-register-nav") != null)
|
||||
if (document.getElementById("ha-register-nav") !== null)
|
||||
markactive_exact(document.getElementById("ha-register-nav"));
|
||||
if (this.document.getElementById("ha-adminuploadfields") != null)
|
||||
if (this.document.getElementById("ha-adminuploadfields") !== null)
|
||||
markactive_exact(document.getElementById("ha-adminuploadfields"));
|
||||
|
||||
// Letter / Register View: Collapse all unfit boxes + resize observer
|
||||
|
||||
Reference in New Issue
Block a user