mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Unterstützung von Übersetzungen + Dark Mode
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@layer components {
|
||||
/* COLORS */
|
||||
.ha-footer .ha-footertext {
|
||||
@apply bg-slate-50 text-hamannSlate-900 dark:bg-slate-700 dark:text-white
|
||||
@apply bg-slate-50 text-hamannSlate-900 dark:bg-slate-900 dark:text-white
|
||||
}
|
||||
|
||||
.ha-footer .ha-themetoggles {
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
/* STYLES */
|
||||
.ha-footer {
|
||||
@apply font-serif;
|
||||
@apply font-sans !text-xs;
|
||||
}
|
||||
|
||||
.ha-footer .ha-footertext {
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
@layer components {
|
||||
/* COLORS */
|
||||
.ha-topnav-dropdown .ha-topnav-dropdown-content {
|
||||
@apply bg-slate-50 shadow-md border-slate-400 border-b
|
||||
@apply bg-slate-50 shadow-md border-slate-400 border-b dark:bg-black
|
||||
}
|
||||
|
||||
.ha-topnav-dropdown .ha-topnav-dropdown-content a:hover {
|
||||
@apply bg-slate-100
|
||||
@apply bg-slate-100 dark:bg-black
|
||||
}
|
||||
|
||||
.ha-topnav a {
|
||||
@apply text-slate-700 hover:text-slate-900 desktop:border-b-4 desktop:border-transparent
|
||||
@apply text-slate-700 dark:text-slate-100 dark:hover:text-slate-50 hover:text-slate-900 desktop:border-b-4 desktop:border-transparent
|
||||
}
|
||||
|
||||
.ha-topnav a.active {
|
||||
@apply desktop:border-b-4 desktop:border-slate-200 dark:border-slate-700 dark:font-bold
|
||||
@apply desktop:border-b-4 desktop:border-slate-200 dark:border-none dark:font-bold dark:!text-slate-100
|
||||
}
|
||||
|
||||
.ha-topnav.ha-topnav-collapsed
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
@layer components {
|
||||
/* THEME OPTIONS */
|
||||
.ha-index {
|
||||
@apply bg-slate-50 dark:bg-slate-900
|
||||
@apply bg-slate-50 dark:bg-gray-900
|
||||
}
|
||||
|
||||
.ha-index .ha-indexbody .ha-letterlist .ha-letterlistentry .ha-letterlistsearchresults .ha-letterlistsearchresult:nth-child(even) {
|
||||
@apply bg-slate-100 dark:bg-slate-900
|
||||
@apply bg-slate-100
|
||||
}
|
||||
|
||||
.ha-index .ha-indexbody .ha-letterlist .ha-letterlistentry .ha-letterlistsearchresults .ha-letterlistsearchresult:nth-child(odd) {
|
||||
@apply bg-slate-50 dark:bg-slate-900
|
||||
@apply bg-slate-50
|
||||
}
|
||||
|
||||
.ha-index .ha-indexbody .ha-letterlist .ha-letterlistentry {
|
||||
@@ -33,7 +33,11 @@
|
||||
}
|
||||
|
||||
.ha-index .ha-indexbody .ha-filterlist .ha-personfilter .ha-personlist a:nth-child(odd) {
|
||||
@apply bg-slate-100 dark:bg-zinc-900
|
||||
@apply bg-slate-100 dark:bg-gray-800
|
||||
}
|
||||
|
||||
.ha-index .ha-activefilterinfo {
|
||||
@apply bg-slate-200 dark:bg-black
|
||||
}
|
||||
|
||||
/* NON THEME RULES */
|
||||
@@ -62,7 +66,7 @@
|
||||
}
|
||||
|
||||
.ha-index .ha-comment {
|
||||
@apply font-serif hyphenate px-9 md:px-16 py-3 pb-12 border-l-2
|
||||
@apply font-serif hyphenate px-9 md:px-16 py-3 pb-12
|
||||
}
|
||||
|
||||
.ha-index .ha-comment .ha-commentmetatext {
|
||||
@@ -70,11 +74,11 @@
|
||||
}
|
||||
|
||||
.ha-index .ha-comment .ha-commentmetatext a {
|
||||
@apply float-right bg-slate-200 text-sm inline-block px-2 rounded
|
||||
@apply float-right bg-slate-200 dark:bg-black text-sm inline-block px-2 rounded
|
||||
}
|
||||
|
||||
.ha-index .ha-comment .ha-lemma {
|
||||
@apply font-bold font-bold text-2xl desktop:font-normal desktop:text-5xl mb-3 inline-block font-serif
|
||||
@apply font-bold text-2xl desktop:font-normal desktop:text-5xl mb-3 inline-block font-serif
|
||||
}
|
||||
|
||||
.ha-index .ha-comment .ha-entry {
|
||||
@@ -163,7 +167,7 @@
|
||||
}
|
||||
|
||||
.ha-index .ha-indexbody .ha-filterlist .ha-activefilterinfo {
|
||||
@apply font-sans text-sm bg-slate-200 px-1 rounded mt-1
|
||||
@apply font-sans text-sm px-1 rounded mt-1
|
||||
}
|
||||
|
||||
.ha-index .ha-indexbody .ha-filterlist .ha-reversefilter {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@layer components {
|
||||
/* COLORS */
|
||||
.ha-tooltiptext {
|
||||
@apply shadow-sm bg-slate-50 border-hamannSlate-900 text-hamannSlate-900 border dark:border-none dark:shadow dark:bg-slate-800
|
||||
@apply shadow-sm bg-slate-50 border-hamannSlate-900 text-hamannSlate-900 dark:text-slate-100 border dark:border-none dark:shadow dark:bg-slate-800
|
||||
}
|
||||
|
||||
.ha-tooltip .ha-tooltiptext::after {
|
||||
@@ -9,7 +9,7 @@
|
||||
}
|
||||
|
||||
.ha-pill {
|
||||
@apply rounded bg-gray-200 text-gray-600
|
||||
@apply rounded bg-gray-200 text-gray-600 dark:bg-black shadow dark:text-gray-200
|
||||
}
|
||||
|
||||
/* .ha-pill {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -122,7 +122,7 @@
|
||||
}
|
||||
|
||||
.ha-search .ha-searchhead .ha-reversefilter {
|
||||
@apply inline-block text-right decoration-dotted underline hover:decoration-solid
|
||||
@apply inline-block text-right decoration-dotted underline hover:decoration-solid dark:bg-black
|
||||
}
|
||||
|
||||
.ha-search .ha-searchhead .ha-searchfilter .ha-alternativesearches a {
|
||||
|
||||
Reference in New Issue
Block a user