@tailwind base; @tailwind components; @tailwind utilities; /* Regular woff-files for regular font variants curerently Instead we can use the Graphite versions of the font @font-face { font-family: 'Biolinum'; src: url('/fonts/LinBiolinum_R_G.ttf') format('truetype'); font-display: swap; font-weight: normal; font-style: normal; } @font-face { font-family: 'Libertine'; src: url('/fonts/LinLibertine_R_G.ttf') format('truetype'); font-display: swap; font-weight: normal; font-style: normal; } */ @font-face { font-family: "Biolinum"; src: url("../fonts/LinBiolinum_R.woff") format("woff"); font-display: swap; font-weight: normal; font-style: normal; } @font-face { font-family: "Libertine"; src: url("../fonts/LinLibertine_R.woff") format("woff"); font-display: swap; font-weight: normal; font-style: normal; } @font-face { font-family: "Biolinum"; src: url("../fonts/LinBiolinum_RI.woff") format("woff"); font-display: swap; font-weight: normal; font-style: italic; } @font-face { font-family: "Biolinum"; src: url("../fonts/LinBiolinum_RB.woff") format("woff"); font-display: swap; font-weight: bold; font-style: normal; } @font-face { font-family: "Libertine"; src: url("../fonts/LinLibertine_RI.woff") format("woff"); font-display: swap; font-weight: normal; font-style: italic; } @font-face { font-family: "Libertine"; src: url("../fonts/LinLibertine_RB.woff") format("woff"); font-display: swap; font-weight: bold; font-style: normal; } @font-face { font-family: "Playfair"; src: url("../fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype"); font-display: swap; font-weight: normal; font-style: normal; } @layer components { * { @apply transition-colors duration-100 } /* TODO: check what can be inlined (eg. used once in the code, has no double paths etc...) */ /* Everything related to theme color */ body { @apply text-black dark:text-white dark:bg-gray-800 dark:bg-none } .ha-topnav-dropdown .ha-topnav-dropdown-content { @apply bg-slate-50 shadow-md border-slate-400 border-b } .ha-topnav-dropdown .ha-topnav-dropdown-content a:hover { @apply bg-slate-100 } .ha-topnav a { @apply text-slate-700 hover:text-slate-900 } .ha-topnav a.active { @apply desktop:border-b-4 desktop:border-slate-200 dark:border-slate-700 dark:font-bold } .ha-topnav.ha-topnav-collapsed .ha-topnav-dropdown .ha-topnav-dropdown-content { @apply shadow-none desktop:shadow-md desktop:border-b } .ha-menusymbol svg { @apply text-black stroke-black } .ha-footer .ha-footertext { @apply bg-slate-50 text-black dark:bg-slate-700 dark:text-white } .ha-footer .ha-themetoggles { @apply bg-slate-200 dark:bg-slate-800 transition-colors duration-300 shadow-inner } .ha-footer .ha-themetoggles #ha-toggledark:checked ~ .ha-themetoggleslider { @apply bg-slate-200 transition-colors duration-300 } .ha-footer .ha-themetoggles #ha-togglebright:checked ~ .ha-themetoggleslider { @apply bg-slate-50 transition-colors duration-300 } .ha-static { @apply bg-slate-50 dark:bg-gray-900 } .ha-static h3 { @apply text-hamannHighlight dark:text-white dark:font-bold } .ha-static table th { @apply text-hamannHighlight dark:text-white dark:font-bold } .ha-static table tr:nth-child(even) { @apply bg-slate-200 dark:bg-slate-700 } .ha-register .ha-register-head, .ha-register .ha-register-body { @apply bg-slate-50 dark:bg-slate-900 dark:text-slate-50 dark:shadow-xl } .ha-register .ha-register-head { @apply border-b-2 border-slate-200 } .ha-register .ha-register-head .ha-register-nav a { @apply text-slate-700 hover:text-slate-900 dark:text-white dark:hover:text-gray-300 } .ha-register .ha-register-head .ha-register-nav a.active { @apply border-b-2 border-slate-200 dark:!text-gray-200 dark:font-bold } .ha-register .ha-neuzeit .ha-register-body .ha-commenthead .ha-letlinks, .ha-register .ha-forschung .ha-register-body .ha-commenthead .ha-letlinks { @apply desktop:bg-slate-50 dark:bg-slate-900 dark:text-slate-50 } .ha-register .ha-neuzeit .ha-register-body .ha-commenthead .ha-letlinks::before, .ha-register .ha-forschung .ha-register-body .ha-commenthead .ha-letlinks::before { @apply bg-slate-400 dark:bg-slate-500 } .ha-register .ha-register-body .ha-commenthead .ha-letlinks.ha-expanded-box { @apply shadow-md dark:shadow-lg } .ha-register .ha-btn-collapsed-box { @apply hidden desktop:block absolute -top-[0.15rem] cursor-pointer } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks .ha-hkb { @apply text-slate-900 dark:text-white } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks a { @apply hover:text-slate-900 dark:hover:text-gray-200 no-underline hover:underline } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks { @apply text-slate-600 dark:text-white } .ha-letterhead .ha-metadata .ha-tooltiptext { @apply bg-slate-100 shadow } .ha-tooltip .ha-tooltiptext::after { @apply border-t-slate-600 border-l-transparent border-r-transparent border-b-transparent } .ha-letterhead .ha-metadata .ha-metadataupperrow .ha-pill { @apply bg-slate-100 shadow dark:bg-gray-700 } .ha-letterhead .ha-metadata .ha-metadataupperrow .ha-pill .ha-cross::before { @apply border-b-2 border-gray-600 dark:border-gray-200 } .ha-letterheader { @apply bg-slate-50 dark:bg-slate-900 dark:text-slate-50 border-slate-300 dark:border-slate-50 border-b-2 dark:shadow-xl } .ha-letterheader .ha-lettertabs a { @apply text-slate-700 hover:text-slate-900 dark:text-white dark:hover:text-gray-200 } .ha-letterheader .ha-lettertabs a.active { @apply border-b-[3px] border-slate-300 dark:border-slate-50 text-hamannHighlight dark:!text-gray-200 dark:font-bold } .ha-letterheader .ha-lettermetalinks { @apply border-b-2 border-slate-200 } .ha-letterheader .ha-lettermetalinks a { @apply text-slate-700 hover:text-slate-900 dark:text-white dark:hover:text-gray-200 } .ha-letterbody { @apply bg-slate-50 dark:bg-slate-900 dark:shadow-xl } .ha-lettertext { @apply bg-slate-50 dark:bg-slate-900 sm:border-l-2 sm:dark:border-none } .ha-marginals { @apply bg-slate-50 dark:bg-slate-900 } .ha-additions { @apply hidden bg-slate-50 dark:bg-slate-900 } .ha-additions .ha-edits .ha-editentries table tr:nth-child(even) { @apply bg-slate-100 dark:bg-slate-900 } .ha-linecount.ha-firstline { @apply sm:bg-slate-100 sm:dark:bg-gray-700 shadow } .ha-linecount .ha-zhpage, .ha-linecount .ha-zhline { @apply sm:bg-slate-50 sm:dark:bg-slate-900 } .ha-tradzhtext .ha-marginal::before, .ha-lettertext .ha-marginal:before { @apply bg-slate-400 dark:bg-slate-500 } .ha-tradzhtext .ha-marginalbox, .ha-lettertext .ha-marginalbox { @apply bg-slate-50 dark:bg-slate-900 } .ha-tradzhtext .ha-marginalbox.ha-expanded-box .ha-marginallist, .ha-lettertext .ha-marginalbox.ha-expanded-box .ha-marginallist { @apply shadow-md dark:shadow-lg pb-1 bg-slate-100 dark:bg-slate-600 } .ha-tradzhtext .ha-btn-collapsed-box, .ha-lettertext .ha-btn-collapsed-box { @apply text-slate-700 hover:text-slate-900 dark:text-white dark:hover:text-gray-200 } .ha-added, .ha-added *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal *, .ha-marginal, .ha-btn-collapsed-box) { @apply bg-slate-300 dark:bg-slate-600 } .ha-note, .ha-note *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal *, .ha-marginal, .ha-btn-collapsed-box) { @apply text-slate-700 dark:text-slate-500 } .ha-ful, .ha-ful *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal *, .ha-marginal, .ha-btn-collapsed-box) { @apply border-black dark:border-white } .ha-tul, .ha-tul *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal *, .ha-marginal, .ha-btn-collapsed-box) { @apply border-black dark:border-white } .ha-diagdel::before { @apply border-black dark:border-white } .ha-lineline { @apply border-black dark:border-white } .active { @apply !text-hamannHighlight dark:!text-black } .active:hover { @apply !text-hamannHighlight dark:!text-gray-800 } /* Classes */ body { @apply text-base desktop:text-lg w-full h-full; } .ha-topnav { @apply flex desktop:grow-0 desktop:shrink-0 md:text-lg 2xl:text-xl desktop:place-self-end xl:mb-1; } .ha-topnav a { @apply hidden desktop:inline-block mr-6 2xl:mr-7 } .ha-topnav a:last-child { @apply mr-0; } .ha-topnav-dropdown { @apply hidden desktop:relative desktop:inline-block; } .ha-topnav-dropdown:hover .ha-topnav-dropdown-content { @apply desktop:block; } .ha-topnav-dropdown .ha-topnav-dropdown-content { @apply hidden mr-6 pt-1 right-0 desktop:absolute min-w-[130px] z-50; } .ha-topnav-dropdown .ha-topnav-dropdown-content a { @apply pl-2 pr-3 py-2 block mr-0; } .ha-topnav-dropdown .ha-topnav-dropdown-content .active { @apply border-none } /* Classes for the footer */ .ha-footer { @apply font-serif; } .ha-footer .ha-footertext { @apply p-2 px-4 mx-auto max-w-screen-desktop text-right text-sm } .ha-footer a { @apply underline decoration-dotted hover:decoration-solid } .ha-footer .ha-themetoggles { @apply whitespace-nowrap relative px-0.5 rounded-3xl h-4 w-[34px] } .ha-footer .ha-themetoggles * { @apply float-left } .ha-footer .ha-themetoggles input[type="radio"] { @apply hidden } .ha-footer .ha-themetoggles label { @apply z-10 block w-[11px] h-[11px] my-[3px] mx-[2px] rounded-3xl cursor-pointer text-center } .ha-footer .ha-themetoggles .ha-themetoggleslider { @apply w-[11px] h-[11px] absolute top-[3px] rounded-3xl transition-all duration-100 ease-in-out shadow-md } .ha-footer .ha-themetoggles #ha-toggledark:checked ~ .ha-themetoggleslider { @apply left-1 } .ha-footer .ha-themetoggles #ha-togglebright:checked ~ .ha-themetoggleslider { @apply left-[19px] } /* Classes for static pages */ .ha-static { @apply w-full py-12 px-12 md:px-16 hyphenate font-serif } .ha-static h1 { @apply font-bold text-xl desktop:font-normal desktop:text-4xl mb-6 } .ha-static h2 { @apply my-3 mt-4 text-lg desktop:text-2xl } .ha-static h3 { @apply mt-4 mb-2 } .ha-static table { @apply my-3 w-full; } .ha-static table th { @apply pl-2 pr-2 desktop:pr-4 text-left font-normal } .ha-static table tr td { @apply pl-2 pr-2 desktop:pr-4 align-top desktop:whitespace-nowrap; } .ha-static table tr td:last-child { @apply desktop:whitespace-normal } .ha-static p { @apply my-3 } .ha-static a { @apply underline decoration-dotted } .ha-static a:hover { @apply underline decoration-solid } .ha-static .ha-footnote { @apply relative text-sm desktop:text-base } .ha-static .ha-footnote .ha-footnote-ref { @apply inline-block absolute text-right w-8 -left-10 } /* Classes for register pages */ .ha-register { @apply w-full font-serif numeric-mediaeval } .ha-register .ha-register-head, .ha-register .ha-register-body { @apply pt-9 md:pt-12 px-9 md:px-16 } .ha-register .ha-register-head { @apply rounded-t-sm } .ha-register .ha-register-head h1 { @apply font-bold text-xl desktop:font-normal desktop:text-4xl mb-6 } .ha-register .ha-register-head .ha-register-nav { @apply font-sans } .ha-register .ha-register-head .ha-register-nav a { @apply inline-block px-1 mr-1 md:mr-3 } .ha-register .ha-register-head .ha-register-nav a:first { @apply pl-0 } .ha-register .ha-register-head .ha-register-nav .ha-register-left-nav { @apply inline-block } .ha-register .ha-register-head .ha-register-nav .ha-register-right-nav { @apply inline-block } .ha-register .ha-register-body { @apply md:pr-96 pb-9 md:pb-12 rounded-b-sm } .ha-register .ha-register-body .ha-comment { @apply block mb-9 md:mb-12 } .ha-register .ha-register-body .ha-comment a { @apply underline decoration-dotted hover:decoration-solid } .ha-register .ha-register-body .ha-comment .ha-headcomment { @apply desktop:relative block } .ha-register .ha-register-body .ha-comment .ha-subcomment { @apply desktop:relative block ml-8 mt-2 } .ha-register .ha-register-body .ha-comment .ha-commenthead { @apply block } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-lemma { @apply inline font-bold } .ha-register .ha-forschung .ha-register-body .ha-comment .ha-commenthead .ha-lemma { @apply inline font-normal; } .ha-register .ha-forschung .ha-register-body .ha-comment { @apply mb-4 md:mb-6 -indent-4 pl-4 } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks { @apply inline-block font-normal text-xs md:text-sm leading-snug font-sans caps-allpetite ml-2 } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks::before { @apply absolute top-[0.1rem] bottom-[0.1rem] left-0 w-0.5 content-[''] } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks .ha-hkb { @apply inline } .ha-register .ha-neuzeit .ha-register-body .ha-headcomment .ha-commenthead .ha-letlinks, .ha-register .ha-forschung .ha-register-body .ha-headcomment .ha-commenthead .ha-letlinks { @apply desktop:left-[48rem] } .ha-register .ha-neuzeit .ha-register-body .ha-subcomment .ha-commenthead .ha-letlinks, .ha-register .ha-forschung .ha-register-body .ha-subcomment .ha-commenthead .ha-letlinks { @apply desktop:left-[46rem] } .ha-register .ha-bibel .ha-register-body .ha-commenthead .ha-lemma a { @apply pl-2 } .ha-register .ha-bibel .ha-register-body .ha-commenthead .ha-lemma svg { @apply inline } .ha-register .ha-neuzeit .ha-register-body .ha-commenthead .ha-letlinks, .ha-register .ha-forschung .ha-register-body .ha-commenthead .ha-letlinks { @apply desktop:indent-0 desktop:top-0 desktop:w-80 desktop:block desktop:absolute pl-2 } .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks a { @apply hover:text-slate-900 } /* Classes for MetaData View */ .ha-letterhead { @apply flex flex-row } .ha-letterhead .ha-letternumber { @apply flex text-5xl desktop:font-normal desktop:text-6xl mr-4 desktop:mr-6 } .ha-letterhead .ha-letternumber .ha-letternumberinline { @apply inline align-middle leading-none } .ha-letterhead .ha-metadata { @apply flex self-end grow shrink-0 } .ha-letterhead .ha-metadata .ha-metadatarows { @apply flex flex-col } .ha-letterhead .ha-metadata .ha-metadataupperrow { @apply flex flex-row leading-snug } .strikethrough { @apply line-through } .ha-letterhead .ha-metadata .ha-metadatarows .ha-metadataupperrow .ha-metadatadate { @apply flex caps-petite numeric-mediaeval } .ha-letterhead .ha-metadata .ha-tooltip { @apply self-center cursor-default inline-block relative } .ha-letterhead .ha-metadata .ha-tooltiptext { @apply rounded text-sm px-1 py-0.5 absolute z-10 text-center } .ha-letterhead .ha-metadata .ha-tooltiptext::after { @apply absolute top-full left-1/2 } .ha-letterhead .ha-metadata .ha-metadataupperrow .ha-pill { @apply text-xs rounded px-2 ml-2 py-[0.1rem] } .ha-letterhead .ha-metadata .ha-metadataupperrow .ha-pill .ha-cross { @apply relative inline-block } .ha-letterhead .ha-metadata .ha-metadataupperrow .ha-pill .ha-cross::before, .ha-letterhead .ha-metadata .ha-metadataupperrow .ha-pill .ha-cross::after { @apply w-full h-0 absolute right-0 top-1/2 } .ha-letterhead .ha-metadata .ha-metadatarows .hametadatapersons { @apply flex leading-snug } /* Classes for Upload View */ .ha-adminuploadfields { @apply flex flex-row flex-wrap gap-x-4 gap-y-4 } .ha-adminuploadfields .ha-uploadfield { @apply block shrink-0 grow bg-slate-50 rounded shadow basis-64 max-w-xs } .ha-adminuploadfields .ha-uploadfield:hover { @apply brightness-110 } .ha-adminuploadfields .ha-uploadfield.active { @apply !text-black shadow-red-100 } .ha-adminuploadfields .ha-uploadfield .ha-uploadfieldname { @apply px-3 pt-2 pb-1 } .ha-adminuploadfields .ha-uploadusedfiles { @apply text-sm whitespace-nowrap overflow-hidden text-ellipsis w-auto bg-slate-200 border-t border-slate-300 bg-opacity-30 px-2 py-0.5 } .ha-adminuploadfields .ha-uploadusedfiles.ha-uploadusedfilesnotfound { @apply bg-slate-500 border-slate-500 } .ha-adminuploadfields .ha-uploadpublishforms { @apply flex flex-row gap-x-4 grow } .ha-adminuploadfields .ha-uploadform { @apply bg-slate-50 rounded shadow grow relative } .ha-adminuploadfields .ha-uploadform .ha-uploadtext { @apply text-center } .ha-adminuploadfields .ha-uploadform .ha-lds-ellipsis { @apply left-1/2 -ml-[20px] } .ha-adminuploadfields .ha-uploadform .ha-uploadfilelabel { @apply inline-block px-2 py-1 pt-2 cursor-pointer w-full h-full } .ha-adminuploadfields .ha-uploadform .ha-uploadmessage { @apply text-sm bg-slate-700 bg-opacity-30 px-1 rounded-sm } .ha-adminuploadfields .ha-publishform { @apply bg-slate-50 rounded shadow grow relative } .ha-adminuploadfields .ha-publishform .ha-lds-ellipsis { @apply left-1/2 -ml-[20px] } .ha-adminuploadfields .ha-publishform .ha-publishfilelabel { @apply inline-block px-2 py-1 pt-2 cursor-pointer w-full h-full } .ha-adminuploadfields .ha-publishform .ha-publishmessage { @apply text-sm bg-slate-700 bg-opacity-30 px-1 rounded-sm } .ha-uploadheader { @apply bg-slate-50 w-full mt-4 px-16 pt-12 pb-8 flex flex-row } .ha-uploadheader h1 { @apply text-5xl } .ha-uploadheader .ha-usedfilesheader { @apply flex } .ha-uploadheader .ha-usedfilesheaderlist { @apply flex flex-row flex-wrap ml-6 gap-x-2 gap-y-1 self-end content-end mb-1 } .ha-uploadheader .ha-usedfilesheaderlist .ha-usedfilesheaderfile { @apply text-sm px-2 bg-slate-700 bg-opacity-30 rounded } .ha-uploadheader .ha-usedfilesheaderlist .ha-availablefilechooser { @apply text-sm pr-1 bg-slate-700 bg-opacity-50 rounded } .ha-uploadheader .ha-usedfilesheaderlist .ha-availablefilechooser .ha-loadotherfilesbtn { @apply inline-block } .ha-uploadcontainer { @apply w-full bg-slate-50 flex flex-col gap-y-2 h-full } .ha-uploadcontainer .ha-errorswarnings { @apply flex flex-row gap-x-2 } .ha-uploadcontainer .ha-errorswarnings .ha-criticalerrors, .ha-uploadcontainer .ha-errorswarnings .ha-warnings { @apply basis-1/2 min-w-[40%] min-h-[400px] overflow-x-hidden overflow-y-scroll grow shrink } .ha-uploadcontainer .ha-errorswarnings .ha-criticalerrors { @apply bg-red-200 } .ha-uploadcontainer .ha-errorswarnings .ha-warnings { @apply bg-orange-200 } .ha-uploadcontainer .ha-crossfilechecking { @apply w-full bg-cyan-200 grow shrink-0 h-full min-h-[400px] } /* Classes for Letter View */ .ha-letterheader { @apply rounded-t-sm pt-8 md:pt-12 px-6 md:px-16 } .ha-letterheader .ha-letterheadernav { @apply mt-9 flex grow } .ha-letterheader .ha-lettertabs { @apply flex grow } .ha-letterheader .ha-lettertabs a { @apply inline-block px-1 mr-1 md:mr-3 cursor-pointer } .ha-letterheader .ha-lettertabs .ha-marginalsbtn { @apply md:hidden; } .ha-letterheader .ha-lettertabs a.active { @apply pointer-events-none } .ha-letterheader .ha-lettertabs a:first { @apply pl-0 } .ha-letterheader .ha-lettermetalinks { @apply self-end } .ha-letterheader .ha-lettermetalinks a { @apply self-end caps-petite } .ha-letterheader .ha-lettermetalinks .ha-hkb { @apply inline-block caps-allpetite } .ha-letterbody { @apply flex flex-row flex-nowrap rounded-b-sm } .ha-lettertext { @apply max-w-[38rem] desktop:max-w-[45rem] sm:shrink-0 ml-4 sm:ml-12 px-4 pt-4 pb-8 relative flow-root font-serif leading-[1.48] numeric-mediaeval } .ha-marginals { @apply hidden max-w-3xl ml-4 md:ml-12 px-4 py-4 relative leading-[1.48] numeric-mediaeval } .ha-marginals table td { @apply align-text-top } .ha-marginals .ha-marginalfromto { @apply whitespace-nowrap text-sm font-semibold pr-4 } .ha-marginals .ha-marginaltext .ha-bzg { @apply inline } .ha-marginals .ha-marginaltext a { @apply underline decoration-dotted hover:decoration-solid } .ha-additions .ha-tradition div { @apply inline } .ha-additions .ha-tradition { @apply max-w-4xl } .ha-additions { @apply ml-4 md:ml-12 px-4 pt-4 pb-4 relative font-serif leading-[1.48] numeric-mediaeval } .ha-additions .ha-app { @apply !block font-bold pt-6 } .ha-additions .ha-app + br { @apply hidden } .ha-additions .ha-tradition .ha-app:first-child { @apply pt-0 } .ha-additions .ha-tradition { @apply hyphenate } .ha-additions .ha-tradition .ha-tradzhtext { @apply !flow-root font-serif relative w-fit -ml-4 pl-4 unhyphenate } .ha-additions .ha-tradition a { @apply !underline decoration-dotted hover:decoration-solid } .ha-additions .ha-hands { @apply pt-6 } .ha-additions .ha-hands .ha-handstitle { @apply font-bold } .ha-additions .ha-hands .ha-handentries .ha-handfrom, .ha-additions .ha-hands .ha-handentries .ha-handto { @apply inline text-sm font-semibold whitespace-nowrap } .ha-additions .ha-hands .ha-handentries .ha-handperson { @apply inline pl-4 whitespace-nowrap } .ha-additions .ha-edits .ha-editstitle { @apply font-bold } .ha-additions .ha-edits .ha-editentries .ha-editfromto { @apply whitespace-nowrap } .ha-additions .ha-edits .ha-editentries .ha-editfrom, .ha-additions .ha-edits .ha-editentries .ha-editto { @apply inline text-sm font-semibold whitespace-nowrap } .ha-additions .ha-edits .ha-editentries .ha-editreference { @apply whitespace-nowrap } .ha-additions .ha-edits .ha-editentries .ha-editreference div { @apply inline } .ha-additions .ha-edits { @apply pt-6 max-w-4xl } .ha-additions .ha-edits .ha-editstitle { @apply font-bold } .ha-additions .ha-edits .ha-editsinfo { @apply pb-4 hyphenate } .ha-additions .ha-edits .ha-editentries tr td { @apply align-text-top } .ha-additions .ha-edits .ha-editentries .ha-editreas div { @apply inline font-sans } .ha-additions .ha-edits .ha-editentries .ha-editfromto { @apply pr-1 pl-1 } .ha-additions .ha-edits .ha-editentries .ha-editreference { @apply border-r-2 pl-1 pr-3 text-sm } .ha-additions .ha-edits .ha-editentries .ha-editreference br { @apply hidden } .ha-additions .ha-edits .ha-editentries .ha-editreas { @apply pl-3 w-full } .ha-additions .ha-edits .ha-editentries .ha-editreas .ha-zh * { @apply !font-serif } .hide { @apply hidden } .ha-lettertext div { @apply inline } .ha-linecount.ha-firstline { @apply hidden sm:inline-block rounded px-1 sm:pb-1 caps-allpetite normal-nums whitespace-nowrap } .ha-linecount { @apply sm:absolute sm:right-full sm:mr-2 sm:text-right text-xs sm:mt-1 font-sans select-none } .ha-linecount .ha-zhline { @apply hidden sm:inline } .ha-linecount .ha-zhpage { @apply inline-block sm:inline; } .ha-linecount .ha-zhpage, .ha-linecount .ha-zhline { @apply px-1 sm:pb-1 caps-allpetite normal-nums } .ha-linecount .ha-hiddenlinecount { @apply !hidden } .ha-tradzhtext .ha-marginal::before, .ha-lettertext .ha-marginal::before { @apply absolute top-[0.1rem] bottom-[0.1rem] left-0 w-0.5 content-[''] } .ha-tradzhtext .ha-marginalbox, .ha-lettertext .ha-marginalbox { @apply hidden pl-2 md:block absolute left-full ml-6 mt-1 w-[16rem] desktop:w-[24rem] text-sm leading-tight rounded-sm font-sans } .ha-tradzhtext .ha-marginalbox .ha-marginallist, .ha-lettertext .ha-marginalbox .ha-marginallist { @apply text-sm leading-tight flex flex-wrap gap-x-6 pr-1 } .ha-tradzhtext .ha-marginalbox .ha-marginallist .ha-marginal, .ha-lettertext .ha-marginalbox .ha-marginallist .ha-marginal { @apply pl-2 inline relative } .ha-tradzhtext .ha-marginalbox .ha-marginallist .ha-marginal a, .ha-lettertext .ha-marginalbox .ha-marginallist .ha-marginal a { @apply !underline decoration-dotted hover:decoration-solid } .ha-tradzhtext .ha-marginalbox .ha-marginallist .ha-marginal, .ha-lettertext .ha-marginalbox .ha-marginallist .ha-marginal, .ha-tradzhtext .ha-marginalbox .ha-marginallist .ha-marginal *, .ha-lettertext .ha-marginalbox .ha-marginallist .ha-marginal * { @apply min-h-0 min-w-0 overflow-ellipsis overflow-hidden } .ha-tradzhtext .ha-btn-collapsed-box, .ha-lettertext .ha-btn-collapsed-box { @apply absolute left-full ml-4 hidden md:block cursor-pointer leading-none mt-0.5 } .ha-minwidth .ha-tradzhtext, .ha-lettertext.ha-minwidth { @apply min-w-[38rem] desktop:min-w-[55rem] } .ha-minwidth .ha-tradzhtext .ha-alignright, .ha-lettertext.ha-minwidth .ha-alignright { @apply float-right mr-[20%] } .ha-lettertext.ha-minwidth .ha-aligncenter { @apply absolute left-1/3 whitespace-nowrap -translate-x-1/2 } /* Classes from the General parser */ /* Classes from .NET */ .ha-zhbreak { @apply hidden sm:inline } .ha-up { @apply -top-3 relative } .ha-bzg { @apply !font-serif !text-xs !font-semibold } .ha-text { @apply inline } .ha-title { @apply inline italic } .ha-insertedlemma { @apply inline } .ha-serif { @apply font-serif } .ha-aq, .ha-aq *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) { @apply font-sans } .ha-ul, .ha-ul *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) { @apply underline } .ha-del, .ha-del *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-diagdel, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) { @apply inline line-through } .ha-hand, .ha-hand *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) { @apply font-classy text-[0.9rem] } .ha-added, .ha-added *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) { @apply px-1 rounded-sm } .ha-note, .ha-note *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) { @apply italic } .ha-emph *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal, .ha-marginal *, .ha-btn-collapsed-box) { @apply italic } .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 { @apply numeric-normal relative text-xs leading-none align-baseline -top-[0.3em] } .ha-sub { @apply relative text-xs leading-none align-baseline -bottom-[0.25em] } .ha-ful, .ha-ful *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal *, .ha-marginal, .ha-btn-collapsed-box) { @apply inline border-b pb-[2px] } .ha-dul, .ha-dul *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal *, .ha-marginal, .ha-btn-collapsed-box) { @apply underline decoration-double } .ha-tul, .ha-tul *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal *, .ha-marginal, .ha-btn-collapsed-box) { @apply underline border-b-[3px] border-double } .up { @apply relative -top[0.5em] } .ha-alignright { @apply float-right } .ha-aligncenter { @apply absolute left-1/2 whitespace-nowrap -translate-x-1/2 } .ha-lineline { @apply border-t w-1/3 mx-40 mt-[0.6rem] absolute } .ha-sal { @apply inline-block ml-6 } /* Classes for indents */ .ha-indent-1 { @apply pl-2 sm:pl-4 } .ha-indent-2 { @apply pl-4 sm:pl-8 } .ha-indent-3 { @apply pl-6 sm:pl-12 } .ha-indent-4 { @apply pl-8 sm:pl-16 } .ha-indent-5 { @apply pl-10 sm:pl-20 } .ha-indent-6 { @apply pl-20 sm:pl-44 } .ha-indent-7 { @apply pl-32 sm:pl-64 } /* Classes from Javascript */ .active { @apply pointer-events-none } .ha-topnav a.active { @apply underline underline-offset-2 desktop:no-underline } .ha-topnav.ha-topnav-collapsed { @apply block w-full h-full mt-4 text-base desktop:flex desktop:w-fit desktop:mt-0 md:text-lg 2xl:text-xl } .ha-topnav.ha-topnav-collapsed a { @apply block py-1 w-full text-left clear-both desktop:inline-block desktop:py-0 desktop:w-fit } .ha-topnav.ha-topnav-collapsed .ha-topnav-dropdown { @apply block desktop:inline-block } .ha-topnav.ha-topnav-collapsed .ha-topnav-dropdown:hover .ha-topnav-dropdown-content { @apply desktop:block } .ha-topnav.ha-topnav-collapsed .ha-topnav-dropdown .ha-topnav-dropdown-content { @apply block shadow-none border-none pt-0 desktop:hidden desktop:pt-2 } .ha-topnav.ha-topnav-collapsed .ha-topnav-dropdown .ha-topnav-dropdown-content a { @apply py-1 desktop:py-2 } .ha-register .ha-headcomment .ha-btn-collapsed-box { @apply left-[47.6rem] } .ha-register .ha-subcomment .ha-btn-collapsed-box { @apply left-[45.6rem] } .ha-register .ha-btn-collapsed-box { @apply hidden desktop:block absolute -top-[0.15rem] cursor-pointer } .ha-collapsed-box, .ha-collapsed-box * { @apply z-0 overflow-hidden min-w-0 min-h-0 overflow-ellipsis cursor-default } .ha-expanded-box { @apply pb-1 z-[1000] !h-auto !max-h-screen } } /* Content */ .ha-lettertext .ha-marginalbox:before { content: ""; } .ha-lettertext .ha-marginalbox .ha-marginal::after { content: ""; } .ha-lettertext .ha-marginalbox .ha-marginal:last-of-type::after { content: ""; } .ha-nr::before { content: " \200E\25E6"; } .ha-nr::after { content: " \200E\25E6"; } .ha-added::before { content: ""; } .ha-added::after { content: ""; } .ha-note::before { content: ""; } .ha-note::after { content: ""; } .ha-bzg::after { content: "]"; } .ha-additions .ha-edits .ha-editentries tr td:nth-of-type(2)::after { content: ""; } /* Not implemented in tailwindcss */ * { text-decoration-skip-ink: all; } body { background-image: url("../img/subtlenet2.png"); background-repeat: repeat; } .ha-tradzhtext .ha-marginalbox.ha-collapsed-box .ha-marginallist .ha-marginal, .ha-lettertext .ha-marginalbox.ha-collapsed-box .ha-marginallist .ha-marginal { display: -webkit-inline-box; -webkit-box-orient: vertical; } .ha-diagdel { text-decoration: none !important; text-decoration-line: none !important; position: relative; display: inline-block !important; } .ha-diagdel::before, .ha-diagdel::after { content: ""; width: 100%; height: 0%; position: absolute; right: 0; bottom: 1.4ex; } .ha-diagdel::before { border-width: 1px; border-style: solid; -webkit-transform: skewY(-36deg); transform: skewY(-36deg); } .ha-del .ha-del, .ha-del .ha-del *:not(.ha-linecount *, .ha-linecount, .ha-marginalbox *, .ha-marginalbox, .ha-marginal *, .ha-marginal, .ha-btn-collapsed-box) { -moz-text-decoration-style: double; -webkit-text-decoration-style: double !important; text-decoration-thickness: 1px; text-decoration-style: double; } .ha-del .ha-del .ha-ul, .ha-ul .ha-del .ha-del, .ha-del .ha-ul .ha-del { text-decoration: line-through underline; -moz-text-decoration-style: double; -webkit-text-decoration-style: double !important; text-decoration-thickness: 1px; text-decoration-style: double; } .ha-del .ha-ul, .ha-ul .ha-del { text-decoration: line-through underline; text-decoration-thickness: 1px; text-decoration-skip-ink: auto; -webkit-text-decoration-skip-ink: auto; } .hyphenate { hyphens: auto; } .unhyphenate { hyphens: none; } .numeric-mediaeval { font-variant-numeric: oldstyle-nums; } .numeric-normal { font-variant-numeric: normal; } .caps-allpetite { font-variant-caps: all-petite-caps; } .caps-petite { font-variant-caps: petite-caps; } .caps-normal { font-variant-caps: normal; } .break-inside-avoid { break-inside: avoid; } /* Symbols, Icons, Drawings, Tooltips */ .ha-menu-arrowsymbol::after { display: inline-block; margin-left: 0.2em; vertical-align: 0.2em; content: ""; border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; } .ha-menusymbol { border-radius: 4px; } .ha-menusymbol svg { width: 24px; height: 24px; stroke-width: 2; stroke-linecap: round; stroke-linejoin: miter; fill: none; } .ha-tooltip .ha-tooltiptext { white-space: nowrap; visibility: hidden; min-width: 160px; bottom: 155%; left: 50%; margin-left: -80px; opacity: 0; transition: opacity 0.3s; } .ha-tooltip .ha-tooltiptext::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; /* border-color: rgb(226 232 240 / var(--tw-bg-opacity)) transparent transparent transparent; */ } .ha-tooltip:hover .ha-tooltiptext { visibility: visible; opacity: 1; } .ha-open-btn-collapsed-box::before { content: "\200E+"; font-weight: 900; } .ha-close-btn-collapsed-box::before { content: "\200E\00D7"; font-weight: 900; } .ha-uploadheader .ha-usedfilesheaderlist .ha-plussign { content: "\200E+ "; font-weight: bold; display: inline-block; background-color: lightslategray; padding-left: 0.25rem; padding-right: 0.25rem; } /* Tooltip text */ .ha-uploadform .ha-uploadmessage { visibility: visible; text-align: center; padding: 5px 0; border-radius: 6px; /* Position the tooltip text - see examples below! */ position: absolute; z-index: 1; margin-top: 0.5rem; width: 360px; top: 100%; left: 50%; margin-left: -180px; /* Use half of the width (120/2 = 60), to center the tooltip */ opacity: 0; transition: opacity 1s; } .ha-uploadform .ha-uploadmessage::after { content: " "; position: absolute; bottom: 100%; /* At the top of the tooltip */ left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: transparent transparent grey transparent; } .ha-lds-ellipsis { display: none; position: absolute; bottom: 20px; } .ha-lds-ellipsis div { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #000; animation-timing-function: cubic-bezier(0, 1, 1, 0); } .ha-lds-ellipsis div:nth-child(1) { left: 6px; animation: ha-lds-ellipsis1 0.6s infinite; } .ha-lds-ellipsis div:nth-child(2) { left: 4px; animation: ha-lds-ellipsis2 0.6s infinite; } .ha-lds-ellipsis div:nth-child(3) { left: 16px; animation: ha-lds-ellipsis2 0.6s infinite; } .ha-lds-ellipsis div:nth-child(4) { left: 30px; animation: ha-lds-ellipsis3 0.6s infinite; } @keyframes ha-lds-ellipsis1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes ha-lds-ellipsis3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @keyframes ha-lds-ellipsis2 { 0% { transform: translate(0, 0); } 100% { transform: translate(16px, 0); } } .ha-cross::before, .ha-cross::after { content: ""; } .ha-cross::before { -webkit-transform: skewY(-27deg); transform: skewY(-27deg); } /* Classes for tables */ .ha-table { overflow: hidden; white-space: nowrap; font-variant-numeric: tabular-nums !important; } .ha-hatab-0-2 { display: inline; position: static; min-width: 50%; } .ha-hatab-1-2 { display: inline-block; position: absolute; left: 50%; min-width: 50%; } .ha-hatab-0-3 { display: inline; position: static; min-width: 33.333%; } .ha-hatab-1-3 { display: inline-block; position: absolute; left: 33%; min-width: 33.333%; } .ha-hatab-2-3 { display: inline-block; position: absolute; left: 66%; min-width: 33.333%; } .ha-hatab-0-4 { display: inline; position: static; min-width: 25%; } .ha-hatab-1-4 { display: inline-block; position: absolute; left: 25%; min-width: 25%; } .ha-hatab-2-4 { display: inline-block; position: absolute; left: 50%; min-width: 25%; } .ha-hatab-3-4 { display: inline-block; position: absolute; left: 75%; min-width: 25%; } .ha-hatab-0-5 { display: inline; position: static; min-width: 20%; } .ha-hatab-1-5 { display: inline-block; position: absolute; left: 20%; min-width: 20%; } .ha-hatab-2-5 { display: inline-block; position: absolute; left: 40%; min-width: 20%; } .ha-hatab-3-5 { display: inline-block; position: absolute; left: 60%; min-width: 20%; } .ha-hatab-4-5 { display: inline-block; position: absolute; left: 80%; min-width: 20%; } .ha-hatab-0-6 { display: inline; position: static; min-width: 16.667%; } .ha-hatab-1-6 { display: inline-block; position: absolute; left: 16.667%; min-width: 16.667%; } .ha-hatab-2-6 { display: inline-block; position: absolute; left: 33.333%; min-width: 16.667%; } .ha-hatab-3-6 { display: inline-block; position: absolute; left: 50%; min-width: 16.667%; } .ha-hatab-4-6 { display: inline-block; position: absolute; left: 66.667%; min-width: 16.667%; } .ha-hatab-5-6 { display: inline-block; position: absolute; left: 83.333%; min-width: 16.667%; } .ha-hatab-0-7 { display: inline; position: static; min-width: 14.286%; } .ha-hatab-1-7 { display: inline-block; position: absolute; left: 14.286%; min-width: 14.286%; } .ha-hatab-2-7 { display: inline-block; position: absolute; left: 28.571%; min-width: 14.286%; } .ha-hatab-3-7 { display: inline-block; position: absolute; left: 42.857%; min-width: 14.286%; } .ha-hatab-4-7 { display: inline-block; position: absolute; left: 57.143%; min-width: 14.286%; } .ha-hatab-5-7 { display: inline-block; position: absolute; left: 71.429%; min-width: 14.286%; } .ha-hatab-6-7 { display: inline-block; position: absolute; left: 85.714%; min-width: 14.286%; } .ha-hatab-0-8 { display: inline; position: static; min-width: 12.5%; } .ha-hatab-1-8 { display: inline-block; position: absolute; left: 12.5%; min-width: 12.5%; } .ha-hatab-2-8 { display: inline-block; position: absolute; left: 25%; min-width: 12.5%; } .ha-hatab-3-8 { display: inline-block; position: absolute; left: 37.5%; min-width: 12.5%; } .ha-hatab-4-8 { display: inline-block; position: absolute; left: 50%; min-width: 12.5%; } .ha-hatab-5-8 { display: inline-block; position: absolute; left: 62.5%; min-width: 12.5%; } .ha-hatab-6-8 { display: inline-block; position: absolute; left: 75%; min-width: 12.5%; } .ha-hatab-7-8 { display: inline-block; position: absolute; left: 87.5%; min-width: 12.5%; } .ha-hatab-0-9 { display: inline; position: static; min-width: 11.111%; } .ha-hatab-1-9 { display: inline-block; position: absolute; left: 11.111%; min-width: 11.111%; } .ha-hatab-2-9 { display: inline-block; position: absolute; left: 22.222%; min-width: 11.111%; } .ha-hatab-3-9 { display: inline-block; position: absolute; left: 33.333%; min-width: 11.111%; } .ha-hatab-4-9 { display: inline-block; position: absolute; left: 44.444%; min-width: 11.111%; } .ha-hatab-5-9 { display: inline-block; position: absolute; left: 55.555%; min-width: 11.111%; } .ha-hatab-6-9 { display: inline-block; position: absolute; left: 66.666%; min-width: 11.111%; } .ha-hatab-7-9 { display: inline-block; position: absolute; left: 77.777%; min-width: 11.111%; } .ha-hatab-8-9 { display: inline-block; position: absolute; left: 88.888%; min-width: 11.111%; } .ha-hatab-0-10 { display: inline-block; position: absolute; min-width: 10%; } .ha-hatab-1-10 { display: inline-block; position: absolute; left: 10%; min-width: 10%; } .ha-hatab-2-10 { display: inline-block; position: absolute; left: 20%; min-width: 10%; } .ha-hatab-3-10 { display: inline-block; position: absolute; left: 30%; min-width: 10%; } .ha-hatab-4-10 { display: inline-block; position: absolute; left: 40%; min-width: 10%; } .ha-hatab-5-10 { display: inline-block; position: absolute; left: 50%; min-width: 10%; } .ha-hatab-6-10 { display: inline-block; position: absolute; left: 60%; min-width: 10%; } .ha-hatab-7-10 { display: inline-block; position: absolute; left: 70%; min-width: 10%; } .ha-hatab-8-10 { display: inline-block; position: absolute; left: 80%; min-width: 10%; } .ha-hatab-9-10 { display: inline-block; position: absolute; left: 90%; min-width: 10%; } .ha-hatab-0-11 { display: inline-block; position: absolute; min-width: 9.091%; } .ha-hatab-1-11 { display: inline-block; position: absolute; left: 9.091%; min-width: 9.091%; } .ha-hatab-2-11 { display: inline-block; position: absolute; left: 18.182%; min-width: 9.091%; } .ha-hatab-3-11 { display: inline-block; position: absolute; left: 27.273%; min-width: 9.091%; } .ha-hatab-4-11 { display: inline-block; position: absolute; left: 36.364%; min-width: 9.091%; } .ha-hatab-5-11 { display: inline-block; position: absolute; left: 45.455%; min-width: 9.091%; } .ha-hatab-6-11 { display: inline-block; position: absolute; left: 54.545%; min-width: 9.091%; } .ha-hatab-7-11 { display: inline-block; position: absolute; left: 63.636%; min-width: 9.091%; } .ha-hatab-8-11 { display: inline-block; position: absolute; left: 72.727%; min-width: 9.091%; } .ha-hatab-9-11 { display: inline-block; position: absolute; left: 81.818%; min-width: 9.091%; } .ha-hatab-10-11 { display: inline-block; position: absolute; left: 90.909%; min-width: 9.091%; } .ha-hatab-0-12 { display: inline-block; position: absolute; min-width: 8.333%; } .ha-hatab-1-12 { display: inline-block; position: absolute; left: 8.333%; min-width: 8.333%; } .ha-hatab-2-12 { display: inline-block; position: absolute; left: 16.666%; min-width: 8.333%; } .ha-hatab-3-12 { display: inline-block; position: absolute; left: 25%; min-width: 8.333%; } .ha-hatab-4-12 { display: inline-block; position: absolute; left: 33.333%; min-width: 8.333%; } .ha-hatab-5-12 { display: inline-block; position: absolute; left: 41.666%; min-width: 8.333%; } .ha-hatab-6-12 { display: inline-block; position: absolute; left: 50%; min-width: 8.333%; } .ha-hatab-7-12 { display: inline-block; position: absolute; left: 58.333%; min-width: 8.333%; } .ha-hatab-8-12 { display: inline-block; position: absolute; left: 66.666%; min-width: 8.333%; } .ha-hatab-9-12 { display: inline-block; position: absolute; left: 75%; min-width: 8.333%; } .ha-hatab-10-12 { display: inline-block; position: absolute; left: 83.333%; min-width: 8.333%; } .ha-hatab-11-12 { display: inline-block; position: absolute; left: 91.666%; min-width: 8.333%; }