This commit is contained in:
Simon Martens
2022-11-27 01:39:09 +01:00
parent 47f28ebb04
commit 9440c6eccf
7 changed files with 41 additions and 38 deletions

View File

@@ -56,7 +56,8 @@
<div class="ha-tab">
@foreach (var text in app.Item2)
{
<div class="ha-appcontainer">
var mw = (text.MinWidth) ? "ha-minwidth" : "";
<div class="ha-appcontainer ha-appcontainer-@text.Number @mw">
@if (app.Item2.Count > 1 && !String.IsNullOrWhiteSpace(text.ParsedText) && !String.IsNullOrWhiteSpace(text.Title) ) {
<h3>@text.Title</h3>
}
@@ -71,7 +72,8 @@
<div class="ha-tab ha-defaulttab">
@foreach (var text in Model.Texts.Where(x => x.Category == Model.DefaultCategory).First().Item2)
{
<div class="ha-appcontainer">
var mw = (text.MinWidth) ? "ha-minwidth" : "";
<div class="ha-appcontainer ha-appcontainer-@text.Number @mw">
@if (!String.IsNullOrWhiteSpace(text.ParsedText) && !String.IsNullOrWhiteSpace(text.Title) ) {
<h3>@text.Title</h3>
}

View File

@@ -9,25 +9,24 @@
<div class="ha-static">
<div class="ha-static-right-margin">
<h1>Kontakt</h1>
<table class="!w-full border shadow-sm dark:shadow-md dark:border-none">
<tbody>
<tr class="">
<td class="!p-2 !px-3">Theodor Springmann Stiftung <br>
<div class="flex flex-row gap-y-6 gap-x-6 shadow-sm border px-4 py-3 flex-wrap">
<div class="grow shrink-0" >
Theodor Springmann Stiftung <br>
Dr. Janina Reibold <br>
Hirschgasse 2 <br>
69120 Heidelberg <br>
Telefon: 06221 7259277 <br>
E-Mail: <a class="Emailhref" href="mailto:post@hamann-ausgabe">post@hamann-ausgabe</a></td>
<td class="!p-2 !px-3">Germanistisches Seminar der Universität Heidelberg <br>
E-Mail: <a class="Emailhref" href="mailto:post@hamann-ausgabe">post@hamann-ausgabe</a>
</div>
<div class="grow shrink-0">
Germanistisches Seminar der Universität Heidelberg <br>
Dr. Janina Reibold <br>
Hauptstraße 207209 <br>
69117 Heidelberg <br>
Telefon: 06221 543254 <br>
<a class="ExternerLink" href="https://www.gs.uni-heidelberg.de/personen/reibold.html" target="blank">www.gs.uni-heidelberg.de/personen/reibold.html</a></td>
</tr>
</tbody>
</table>
<a class="ExternerLink" href="https://www.gs.uni-heidelberg.de/personen/reibold.html" target="blank">www.gs.uni-heidelberg.de/personen/reibold.html</a>
</div>
</div>
<h3>Anmeldung zur regelmäßigen Mitteilung über den Stand der kommentierten Hamann-Ausgabe</h3>

View File

@@ -111,7 +111,7 @@
}
header .switchsites .switchsitesbtn .switchsitestext {
@apply block mb-0.5 mt-1 mr-2 ml-1
@apply block mb-0.5 mt-1 mr-2 ml-1 whitespace-nowrap
}
header .switchsites .switchsitesbtn .switchsitesarrow {

View File

@@ -25,7 +25,11 @@
}
.ha-text {
@apply bg-slate-50 dark:bg-slate-900 border-slate-200 sm:border-l-2 sm:dark:border-none
@apply bg-slate-50 dark:bg-slate-900 border-slate-200
}
.ha-appcontainer.ha-appcontainer-0 .ha-text {
@apply sm:border-l-2 sm:dark:border-none
}
.ha-marginals {
@@ -107,15 +111,15 @@
}
.ha-tab {
@apply max-w-[52rem] pt-2
@apply max-w-[52rem]
}
.ha-tab .ha-appcontainer {
@apply ml-6 md:ml-16 mb-4 pb-3 font-serif numeric-mediaeval
@apply ml-6 md:ml-16 font-serif numeric-mediaeval py-3
}
.ha-app {
.ha-appcontainer.ha-appcontainer-0 {
@apply py-0
}
.ha-appcontainer h3 {
@@ -127,7 +131,7 @@
}
.ha-textcontainer {
@apply flex -ml-6 -mt-2 -mb-3 md:-ml-16
@apply flex -ml-6 md:-ml-16
}
.ha-text {
@@ -273,20 +277,18 @@
.ha-defaulttab .ha-edits .ha-editentries .ha-editreas .ha-zh * {
@apply !font-serif
}
/*
.ha-minwidth .ha-tradzhtext,
.ha-lettertext.ha-minwidth {
.ha-minwidth .ha-text {
@apply min-w-[44rem] desktop:min-w-[52rem]
}
.ha-minwidth .ha-tradzhtext .ha-alignright,
.ha-lettertext.ha-minwidth .ha-alignright {
.ha-minwidth .ha-text .ha-alignright {
@apply float-right mr-[20%]
}
.ha-lettertext.ha-minwidth .ha-aligncenter {
.ha-minwidth .ha-aligncenter {
@apply absolute left-1/3 whitespace-nowrap -translate-x-1/2
} */
}
}
.ha-lettertext .ha-marginalbox:before {

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
@layer components {
/* COLORS */
body {
@apply text-black dark:text-white dark:bg-gray-800 dark:bg-none
@apply text-black dark:text-white dark:bg-gray-800 dark:bg-none overflow-x-hidden md:overflow-x-auto
}
.ha-added,

View File

@@ -18,7 +18,7 @@
/* STYLES */
.ha-static {
@apply w-full py-12 px-12 md:px-16 hyphenate font-serif
@apply w-full md:py-12 py-4 px-4 md:px-16 hyphenate font-serif
}
.ha-static .ha-static-right-margin {