mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-12-16 06:25:31 +00:00
New Font, Refactor of Layout, Expanded <link> Tags on search
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: "Biolinum";
|
||||
src: url("../fonts/LinBiolinum_R.woff") format("woff");
|
||||
src: url("../fonts/LinBiolinum_Rah.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: "Libertine";
|
||||
src: url("../fonts/LinLibertine_R.woff") format("woff");
|
||||
src: url("../fonts/LinLibertine_Rah.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: "Biolinum";
|
||||
src: url("../fonts/LinBiolinum_RI.woff") format("woff");
|
||||
src: url("../fonts/LinBiolinum_RIah.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: "Biolinum";
|
||||
src: url("../fonts/LinBiolinum_RB.woff") format("woff");
|
||||
src: url("../fonts/LinBiolinum_RBah.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: "Libertine";
|
||||
src: url("../fonts/LinLibertine_RI.woff") format("woff");
|
||||
src: url("../fonts/LinLibertine_RIah.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: "Libertine";
|
||||
src: url("../fonts/LinLibertine_RB.woff") format("woff");
|
||||
src: url("../fonts/LinLibertine_RZah.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -123,7 +123,7 @@
|
||||
}
|
||||
|
||||
.ha-search .ha-searchbody {
|
||||
@apply pt-4 md:pr-[29rem] pb-9 md:pb-12 rounded-b-sm
|
||||
@apply pt-4 md:pr-[24rem] pb-9 md:pb-12 rounded-b-sm
|
||||
}
|
||||
|
||||
.ha-search .ha-searchbody .ha-letterlist {
|
||||
|
||||
@@ -53,10 +53,6 @@
|
||||
@apply text-base desktop:text-lg w-full h-full;
|
||||
}
|
||||
|
||||
.active {
|
||||
@apply pointer-events-none
|
||||
}
|
||||
|
||||
.hide {
|
||||
@apply !hidden
|
||||
}
|
||||
@@ -123,19 +119,16 @@
|
||||
@apply italic
|
||||
}
|
||||
|
||||
.ha-sup,
|
||||
.ha-sup *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) {
|
||||
.ha-sup:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) {
|
||||
@apply relative -top-[0.3em] text-[80%]
|
||||
}
|
||||
|
||||
/* TODO: Something dooesnt work here */
|
||||
.ha-super,
|
||||
.ha-super *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) {
|
||||
@apply numeric-normal relative text-xs leading-none align-baseline -top-[0.3em]
|
||||
.ha-super:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) {
|
||||
@apply numeric-normal relative text-xs leading-none align-baseline -top-[0.3em] inline-block
|
||||
}
|
||||
|
||||
.ha-sub,
|
||||
.ha-sub *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) {
|
||||
.ha-sub:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) {
|
||||
@apply relative text-xs leading-none align-baseline -bottom-[0.25em]
|
||||
}
|
||||
|
||||
|
||||
BIN
HaWeb/wwwroot/fonts/LinBiolinum_Kah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinBiolinum_Kah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinBiolinum_RBah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinBiolinum_RBah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinBiolinum_RIah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinBiolinum_RIah.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinBiolinum_Rah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinBiolinum_Rah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_DRah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_DRah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_I.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_I.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_Mah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_Mah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_RBIah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_RBIah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_RBah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_RBah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_RIah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_RIah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_RZIah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_RZIah.ttf
Normal file
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_RZah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_RZah.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
HaWeb/wwwroot/fonts/LinLibertine_Rah.ttf
Normal file
BIN
HaWeb/wwwroot/fonts/LinLibertine_Rah.ttf
Normal file
Binary file not shown.
@@ -51,16 +51,28 @@ const markactive_menu = function (element) {
|
||||
var all_links = element.getElementsByTagName("a"),
|
||||
i = 0,
|
||||
len = all_links.length,
|
||||
marked = false,
|
||||
full_path = location.href.split("#")[0].toLowerCase(); //Ignore hashes
|
||||
full_path = full_path.split("?")[0];
|
||||
full_path = full_path.split("?")[0];
|
||||
|
||||
for (; i < len; i++) {
|
||||
if (all_links[i].parentNode.classList.contains("ha-topnav-dropdown")) {
|
||||
if (full_path.startsWith(all_links[i].href.toLowerCase())) {
|
||||
all_links[i].className += " active";
|
||||
all_links[i].className += " active pointer-events-none";
|
||||
marked = true;
|
||||
}
|
||||
} else {
|
||||
if (full_path == all_links[i].href.toLowerCase() || full_path == all_links[i].href.toLowerCase() + "/") {
|
||||
all_links[i].className += " active pointer-events-none";
|
||||
marked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
i = 0;
|
||||
if (marked === false) {
|
||||
for (; i < len; i++) {
|
||||
if (all_links[i].classList.contains("ha-active-default")) {
|
||||
all_links[i].className += " active";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user