Common.css: Difference between revisions
From Illustrations in German Translations of Mark Twain's Works
No edit summary |
No edit summary |
||
| (80 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
@import url('https://cdn.datatables.net/searchbuilder/1.6.0/css/searchBuilder.dataTables.min.css'); | @import url('https://cdn.datatables.net/searchbuilder/1.6.0/css/searchBuilder.dataTables.min.css'); | ||
/* Ausklapp-Menublock */ | |||
.ausklapp-menublock { | .ausklapp-menublock { | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
padding: 1em; | padding: 1em; | ||
background-color: # | background-color: #A6A276; | ||
color: black; | |||
max-width: 500px; | max-width: 500px; | ||
border-radius: 6px; | border-radius: 6px; | ||
font-family: "Roboto", sans-serif; | |||
flex: 1; | |||
} | } | ||
/* Hauptbuttons */ | |||
.ausklapp-button { | .ausklapp-button { | ||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
width: 50%; | |||
margin: 0.5em 0; /* nur vertikaler Abstand, keine auto-Margins */ | |||
padding: 0.5em 1em; | |||
background-color: #FFF2E6; | |||
color: #000; | |||
border: 1px solid #999; | |||
border-radius: 6px; | |||
font-weight: bold; | |||
text-align: left; | |||
cursor: pointer; | |||
white-space: nowrap; | |||
box-sizing: border-box; | |||
} | } | ||
.ausklapp-button:not(.sub):hover, | |||
.ausklapp-button:not(.sub):focus, | |||
.ausklapp-button:not(.sub):active { | |||
background-color: #F2E0CC; /* leicht dunklerer Sandton */ | |||
color: #000; /* Schriftfarbe schwarz */ | |||
outline: none; /* entfernt blaue Browser-Outline */ | |||
} | |||
/* Sub-Buttons */ | |||
.ausklapp-button.sub { | |||
width: 45%; | |||
margin-left: 2em; | |||
font-size: 90%; | |||
} | } | ||
.ausklapp-button. | /* Link-Icons */ | ||
.ausklapp-button .link-icon { | |||
margin-left: 0.5em; | |||
color: #000; | |||
font-size: 0.9em; | |||
flex-shrink: 0; /* verhindert, dass Pfeil umbricht */ | |||
} | } | ||
/* Ausklapp-Inhalt */ | |||
.ausklapp-inhalt { | .ausklapp-inhalt { | ||
display: none; | display: none; | ||
| Line 52: | Line 73: | ||
margin: 0.3em 0; | margin: 0.3em 0; | ||
text-decoration: none; | text-decoration: none; | ||
color: # | color: #000; /* schwarze Schrift für Links */ | ||
} | } | ||
| Line 59: | Line 80: | ||
} | } | ||
/* Linkpfeil-Symbole in Links */ | |||
/* Linkpfeil-Symbole */ | |||
.link-icon { | .link-icon { | ||
color: # | color: #000; /* Pfeile schwarz */ | ||
flex-shrink: 0; /* verhindern Zeilenumbruch */ | |||
} | } | ||
/* Allgemeines Styling für die Tabelle */ | /* Allgemeines Styling für die Tabelle */ | ||
| Line 546: | Line 522: | ||
} | } | ||
/* | /*Blasenoptik auf main page*/ | ||
.page-Main_Page #content { | |||
border-radius: | .page-Main_Page .bubble { | ||
border-radius: 30px; | |||
overflow: hidden; | |||
background-color: rgba(255, 242, 230, 0.93); | |||
padding: 20px; | |||
box-shadow: 0 5px 15px rgba(0,0,0,0.1); | |||
} | |||
.page-Main_Page #page-content > .row { | |||
background: transparent; /* Hintergrund unsichtbar, Container bleibt */ | |||
} | |||
.page-Main_Page #firstHeading { | |||
display: none; | |||
} | |||
.page-Main_Page #footer { | |||
display: none; | |||
} | |||
.no-break { | |||
white-space: nowrap; | |||
} | |||
.page-Main_Page .bubble h1 { | |||
text-align: center; | |||
font-size: 2.5rem; | |||
line-height: 1.2; | |||
margin: 0; | |||
/* elegante Schrift */ | |||
font-family: "Georgia", "Times New Roman", serif; | |||
/* optional: etwas luftiger */ | |||
letter-spacing: 0.5px; | |||
/* Farbe der Überschrift */ | |||
color: #008CBA; | |||
} | |||
.page-Overview #page-content > .row { | |||
/* leicht transparenter Hintergrund in Farbe #FFF2E6 */ | |||
background: rgba(255, 242, 230, 0.93); | |||
/* abgerundete Ecken */ | |||
border-radius: 15px; /* optional: anpassen */ | |||
} | |||
.page-Overview > #page-content > .row:first-child { | |||
display: none; | |||
} | |||
/* Blasenoptik für Überschriften/Header */ | |||
/* Wiki-interne Überschrift auf allen Seiten ausblenden */ | |||
#firstHeading { | |||
display: none; | |||
} | |||
/* Seitenkopf-Bubble: erbt .bubble, erweitert es spezifisch */ | |||
.bubble--seitenkopf { | |||
background-color: transparent; | background-color: transparent; | ||
text-align: center; | |||
} | |||
.bubble--seitenkopf .seitenkopf-titel { | |||
text-align: center; | |||
font-size: 2.5rem; | |||
line-height: 1.2; | |||
margin: 0; | |||
font-family: "Georgia", "Times New Roman", serif; | |||
letter-spacing: 0.5px; | |||
color: #008CBA; | |||
white-space: normal; /* Standardverhalten, Umbrüche via no-break steuerbar */ | |||
} | |||
/* Fette Teilüberschriften auf Project */ | |||
.page-Project h3, | |||
.page-Project h4, | |||
.page-Project h5 { | |||
font-weight: bold; | |||
} | |||
/* Layout: Sidebar + Content nebeneinander auf Project*/ | |||
.project-layout { | |||
display: flex; | |||
align-items: flex-start; | |||
gap: 2rem; | |||
} | |||
/* Sticky Sidebar */ | |||
.project-toc { | |||
position: sticky; | |||
top: 2rem; | |||
min-width: 300px; | |||
max-width: 333px; | |||
background-color: rgba(255, 242, 230, 0.93); | |||
border-radius: 12px; | |||
padding: 1rem 1.2rem; | |||
box-shadow: 0 3px 10px rgba(0,0,0,0.08); | |||
flex-shrink: 0; | |||
} | |||
.project-toc__title { | |||
font-weight: bold; | |||
font-size: 0.95rem; | |||
color: #008CBA; | |||
margin: 0 0 0.6rem 0; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
} | |||
.project-toc ul { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.project-toc li { | |||
margin: 0.4rem 0; | |||
} | } | ||
/* | .project-toc a { | ||
. | color: #444; | ||
text-decoration: none; | |||
font-size: 0.9rem; | |||
line-height: 1.4; | |||
display: block; | |||
transition: color 0.2s; | |||
} | |||
.project-toc a:hover { | |||
color: #008CBA; | |||
} | |||
/* Hauptinhalt nimmt restliche Breite */ | |||
.project-content { | |||
flex: 1; | |||
min-width: 0; /* verhindert Overflow bei langen Wörtern */ | |||
} | |||
.anchor-hidden { | |||
display: block; | |||
height: 0; | |||
visibility: hidden; | |||
} | |||
.project-layout { | |||
display: flex; | |||
align-items: flex-start; | |||
gap: 2rem; | |||
margin-left: -25%; /* schiebt alles – TOC und Text – nach links */ | |||
} | |||
/* Styling "Guide" */ | |||
.guide-blockquote { | |||
border-left: 3px solid #008CBA; | |||
margin: 1rem 0 1rem 1.5rem; | |||
padding: 0.6rem 1rem; | |||
background-color: rgba(255, 242, 230, 0.5); | |||
border-radius: 0 8px 8px 0; | |||
} | |||
.guide-abbrev-table td, | |||
.guide-tag-table td { | |||
padding: 0.2rem 1rem 0.2rem 0; | |||
vertical-align: top; | |||
} | |||
.guide-abbrev-table code, | |||
.guide-tag-table code { | |||
font-size: 0.9rem; | |||
} | |||
.guide-tag-table { | |||
width: auto; | |||
border-collapse: collapse; | |||
} | |||
.guide-tag-table td:first-child { | |||
padding-right: 0.5rem; | |||
white-space: nowrap; | |||
} | |||
.guide-tag-table td:last-child { | |||
white-space: nowrap; | |||
} | |||
.project-toc ul ul { | |||
margin-left: 0.5rem; | |||
padding-left: 0.1rem; | |||
} | |||
.project-toc { | |||
border: 1px solid #008CBA; | |||
border-radius: 8px; | |||
background-color: #F4FAFD; | |||
} | |||
/* BIB TEST */ | |||
body { | |||
font-family: Arial, sans-serif; | |||
background: #FFF2E6; | |||
} | |||
.bib-controls, .bib-tag-controls { | |||
margin: 1rem 0; | |||
} | |||
/* BASE STATE (nicht aktiv) */ | |||
.view-btn { | |||
background: #fff; | |||
color: #008CBA; | |||
border: 1px solid #008CBA; | |||
padding: 6px 12px; | |||
border-radius: 6px; | |||
cursor: pointer; | |||
font-size: 0.9rem; | |||
transition: all 0.2s ease; | |||
} | |||
/* HOVER */ | |||
.view-btn:hover { | |||
background: #008CBA; | |||
color: #fff; | |||
} | |||
/* ACTIVE STATE */ | |||
.view-btn.active { | |||
background: #008CBA; | |||
color: #fff; | |||
} | |||
.tag-filter { | |||
display: inline-block; | |||
margin: 0.2rem; | |||
padding: 0.3rem 0.6rem; | |||
border-radius: 15px; | |||
border: 1px solid #008CBA; | |||
background: #EAF4F8; | |||
cursor: pointer; | |||
} | |||
/* BASE STATE (inaktiv) */ | |||
.tag { | |||
display: inline-block; | |||
background: #fff; | |||
color: #008CBA; | |||
border: 1px solid #008CBA; | |||
padding: 4px 10px; | |||
margin: 3px 4px 3px 0; | |||
border-radius: 999px; | |||
font-size: 0.85rem; | |||
cursor: pointer; | |||
user-select: none; | |||
transition: all 0.2s ease; | |||
} | |||
/* HOVER */ | |||
.tag:hover { | |||
background: #e6f6fb; | |||
} | |||
/* ACTIVE STATE */ | |||
.tag.active { | |||
background: #008CBA; | |||
color: #fff; | |||
border-color: #008CBA; | |||
} | |||
.bibliography { | |||
display: flex; | |||
flex-direction: column; | |||
gap: 1rem; | |||
} | |||
.bib-entry { | |||
background: #F4FAFD; | |||
border: 1px solid #008CBA; | |||
padding: 1rem; | |||
border-radius: 8px; | |||
} | |||
.hidden { | |||
display: none; | |||
} | |||
.abstract { | |||
margin-top: 0.8rem; | |||
padding-top: 0.6rem; | |||
border-top: 1px solid rgba(0,0,0,0.1); | |||
} | |||
.expand-btn { | |||
margin-top: 0.6rem; | |||
background: #008CBA; | |||
color: white; | |||
border: none; | |||
padding: 0.4rem 0.7rem; | |||
border-radius: 6px; | |||
cursor: pointer; | |||
} | |||
.hidden { | |||
display: none; | |||
} | |||
/* Network Container MUSS relative sein */ | |||
.network { | |||
position: relative; | |||
width: 100%; | |||
height: 800px; | |||
border: 1px solid #008CBA; | |||
background: rgba(255, 242, 230, 0.3); | |||
overflow: hidden; | |||
} | |||
/* Nodes müssen absolut sein */ | |||
.node { | |||
position: absolute; | |||
padding: 6px 10px; | |||
background: white; | |||
border: 1px solid #ccc; | |||
border-radius: 8px; | |||
font-size: 12px; | |||
cursor: pointer; | |||
white-space: nowrap; | |||
} | |||
.node.tag { | |||
background: #008CBA; | |||
color: white; | |||
} | |||
.node.highlight { | |||
border: 2px solid #008CBA; | |||
} | |||
/* edges sichtbar machen */ | |||
.edge { | |||
position: absolute; | |||
height: 1px; | |||
background: rgba(0,0,0,0.25); | |||
transform-origin: 0 0; | |||
pointer-events: none; | |||
} | |||
/* Bibliography Styling - Grid Layout */ | |||
#listView.bibliography { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 12px; | |||
font-size: 12px; | |||
margin-top: 1rem; | |||
} | |||
.bib-entry { | |||
border: 1px solid #ddd; | |||
padding: 12px; | |||
background: white; | |||
border-radius: 4px; | |||
display: flex; | |||
flex-direction: column; | |||
height: 100%; | |||
} | |||
.bib-entry h3 { | |||
margin: 0 0 0.5rem 0; | |||
font-size: 13px; | |||
line-height: 1.3; | |||
font-weight: normal; | |||
} | |||
.bib-entry .bib-tags { | |||
margin: 0.5rem 0; | |||
flex-grow: 1; | |||
} | |||
.bib-entry .short-abstract { | |||
font-size: 11px; | |||
margin: 0.5rem 0; | |||
line-height: 1.4; | |||
color: #666; | |||
} | |||
.bib-entry .expand-btn { | |||
font-size: 11px; | |||
padding: 4px 8px; | |||
margin-top: auto; | |||
background-color: #2b6cb0; | |||
color: white; | |||
border: none; | |||
border-radius: 3px; | |||
cursor: pointer; | |||
} | |||
.bib-entry .expand-btn:hover { | |||
background-color: #1f4f7f; | |||
} | |||
.bib-entry .abstract { | |||
font-size: 11px; | |||
margin-top: 0.5rem; | |||
padding: 0.5rem; | |||
background-color: #f9f9f9; | |||
border-left: 2px solid #2b6cb0; | |||
line-height: 1.4; | |||
} | |||
.bib-entry .abstract.hidden { | |||
display: none; | |||
} | |||
/* Tag Styling */ | |||
.bib-entry .bib-tags { | |||
margin: 0.5rem 0; | |||
flex-grow: 1; | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 4px; | |||
} | |||
.bib-entry .bib-tags .tag { | |||
display: inline-block; | |||
padding: 2px 6px; | |||
border-radius: 12px; | |||
border: 1px solid #2b6cb0; | |||
color: #2b6cb0; | |||
cursor: pointer; | |||
font-size: 10px; | |||
background: white; | |||
transition: all 0.2s ease; | |||
white-space: nowrap; | |||
margin: 0; | |||
} | |||
.bib-entry .bib-tags .tag:hover { | |||
background-color: #f0f5fb; | |||
} | |||
.bib-entry .bib-tags .tag.active { | |||
background-color: #2b6cb0; | |||
color: white; | |||
} | |||
/* Responsive */ | |||
@media (max-width: 1200px) { | |||
#listView.bibliography { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
} | |||
@media (max-width: 768px) { | |||
#listView.bibliography { | |||
grid-template-columns: 1fr; | |||
} | |||
} | |||
/* URL/Link in Bibliography Entries - komprimiert */ | |||
.bib-entry h3 a { | |||
font-size: 0; | |||
text-decoration: none; | |||
} | |||
.bib-entry h3 a::before { | |||
content: " 🔗"; | |||
font-size: 12px; | |||
cursor: pointer; | |||
display: inline-block; | |||
margin-left: 4px; | |||
} | |||
.bib-entry h3 a:hover::before { | |||
opacity: 0.6; | |||
} | |||
.bib-entry .abstract { | |||
font-size: 10px; | |||
margin-top: 0.5rem; | |||
padding: 0.6rem; | |||
background-color: transparent; | background-color: transparent; | ||
border-left: 2px solid #2b6cb0; | |||
line-height: 1.4; | |||
color: #666; | |||
} | |||
.bib-entry .abstract p { | |||
margin: 0; | |||
font-size: 12px; | |||
} | |||
.bib-entry .abstract.hidden { | |||
display: none; | |||
} | |||
#tagBar .tag { | |||
display: inline-block; | |||
padding: 5px 10px; | |||
border-radius: 16px; | |||
border: 1px solid #2b6cb0; | |||
color: #2b6cb0; | |||
cursor: pointer; | |||
font-size: 12px; | |||
background: white; | |||
transition: all 0.2s ease; | |||
white-space: nowrap; | |||
} | |||
#tagBar .tag { | |||
display: inline-block; | |||
padding: 5px 10px; | |||
border-radius: 16px; | |||
border: 1px solid #2b6cb0; | |||
color: #2b6cb0; | |||
cursor: pointer; | |||
font-size: 12px; | |||
background: white; | |||
transition: all 0.2s ease; | |||
white-space: nowrap; | |||
} | |||
#tagBar .tag:hover { | |||
background-color: #f0f5fb; | |||
} | |||
#tagBar .tag.active { | |||
background-color: #2b6cb0; | |||
color: white; | |||
border-color: #2b6cb0; | |||
} | } | ||
/* | #tagBar .tag.inactive { | ||
. | background-color: white; | ||
color: #2b6cb0; | |||
} | |||
.bib-entry .bib-tags { | |||
margin: 0.5rem 0; | |||
flex-grow: 1; | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 4px; | |||
align-items: flex-start; | |||
} | |||
.bib-entry .bib-tags .tag { | |||
display: inline-block; | |||
padding: 2px 6px; | |||
border-radius: 12px; | |||
border: 1px solid #2b6cb0; | |||
color: #2b6cb0; | |||
cursor: pointer; | |||
font-size: 10px; | |||
background: white; | |||
transition: all 0.2s ease; | |||
white-space: nowrap; | |||
margin: 0; | |||
flex-shrink: 0; /* Verhindert Streckung */ | |||
width: auto; /* Macht Tags so breit wie Inhalt */ | |||
} | |||
.bib-search-container { | |||
margin-bottom: 1.5rem; | |||
display: flex; | |||
justify-content: center; | |||
} | |||
.bib-search-input { | |||
width: 100%; | |||
max-width: 500px; | |||
padding: 10px 12px; | |||
font-size: 14px; | |||
border: 1px solid #2b6cb0; | |||
border-radius: 4px; | |||
box-sizing: border-box; | |||
} | |||
.bib-search-input:focus { | |||
outline: none; | |||
border-color: #2b6cb0; | |||
box-shadow: 0 0 4px rgba(43, 108, 176, 0.3); | |||
} | |||
.bib-search-input::placeholder { | |||
color: #999; | |||
} | } | ||
Latest revision as of 14:28, 12 May 2026
/* CSS placed here will be applied to all skins */
/* Importiere die DataTables und Swiper Styles */
@import url('https://unpkg.com/swiper/swiper-bundle.min.css');
@import url('https://cdn.datatables.net/1.13.6/css/jquery.dataTables.min.css');
@import url('https://cdn.datatables.net/datetime/1.5.1/css/dataTables.dateTime.min.css');
@import url('https://cdn.datatables.net/searchbuilder/1.6.0/css/searchBuilder.dataTables.min.css');
/* Ausklapp-Menublock */
.ausklapp-menublock {
border: 1px solid #ccc;
padding: 1em;
background-color: #A6A276;
color: black;
max-width: 500px;
border-radius: 6px;
font-family: "Roboto", sans-serif;
flex: 1;
}
/* Hauptbuttons */
.ausklapp-button {
display: flex;
align-items: center;
justify-content: space-between;
width: 50%;
margin: 0.5em 0; /* nur vertikaler Abstand, keine auto-Margins */
padding: 0.5em 1em;
background-color: #FFF2E6;
color: #000;
border: 1px solid #999;
border-radius: 6px;
font-weight: bold;
text-align: left;
cursor: pointer;
white-space: nowrap;
box-sizing: border-box;
}
.ausklapp-button:not(.sub):hover,
.ausklapp-button:not(.sub):focus,
.ausklapp-button:not(.sub):active {
background-color: #F2E0CC; /* leicht dunklerer Sandton */
color: #000; /* Schriftfarbe schwarz */
outline: none; /* entfernt blaue Browser-Outline */
}
/* Sub-Buttons */
.ausklapp-button.sub {
width: 45%;
margin-left: 2em;
font-size: 90%;
}
/* Link-Icons */
.ausklapp-button .link-icon {
margin-left: 0.5em;
color: #000;
font-size: 0.9em;
flex-shrink: 0; /* verhindert, dass Pfeil umbricht */
}
/* Ausklapp-Inhalt */
.ausklapp-inhalt {
display: none;
margin-left: 1em;
}
.ausklapp-inhalt.sub {
margin-left: 2em;
}
.ausklapp-inhalt a {
display: block;
margin: 0.3em 0;
text-decoration: none;
color: #000; /* schwarze Schrift für Links */
}
.ausklapp-inhalt a:hover {
text-decoration: underline;
}
/* Linkpfeil-Symbole in Links */
.link-icon {
color: #000; /* Pfeile schwarz */
flex-shrink: 0; /* verhindern Zeilenumbruch */
}
/* Allgemeines Styling für die Tabelle */
/* #catalog {
/* width: 100%;
/* table-layout: auto !important; /* Flexibel für DataTables und schmalere Spalten */
/* border-collapse: collapse; /* Entfernt unnötige Ränder */
/*
/* Spaltenbreiten anpassen und Schmaler machen */
#catalog th, #catalog td {
padding: 1px 4px;
line-height: 1.2; /* kleinere Zeilenhöhe */
text-align: left; /* Standardtextausrichtung für alle Zellen */
}
#catalog th:nth-child(1), #catalog td:nth-child(1) {
width: 11%; /* Book */
}
#catalog th:nth-child(2), #catalog td:nth-child(2) {
width: 4%; /* Year */
text-align: center; /* Jahr zentrieren */
}
#catalog th:nth-child(3), #catalog td:nth-child(3) {
width: 7%; /* Illustrator */
}
#catalog th:nth-child(4), #catalog td:nth-child(4) {
width: 5%; /* Chpt in Orig */
text-align: center;
}
#catalog th:nth-child(5), #catalog td:nth-child(5) {
width: 5%; /* Chpt in this Ed. */
text-align: center;
}
#catalog th:nth-child(6), #catalog td:nth-child(6) {
width: 5%; /* Ill. in Chpt. */
text-align: center;
}
#catalog th:nth-child(7), #catalog td:nth-child(7) {
width: 12%; /* Illustration Title */
text-align: center;
}
#catalog th:nth-child(8), #catalog td:nth-child(8) {
width: 11%; /* Tags */
text-align: center;
}
#catalog th:nth-child(9), #catalog td:nth-child(9) {
width: 8%; /* ID */
}
/* Entferne horizontales Scrollen und passe das Design an */
#catalog_wrapper {
overflow-x: hidden; /* Kein horizontales Scrollen */
}
/* Optional: Passe den Abstand der Spalten an */
#catalog th, #catalog td {
padding: 1px 1px;
}
/* DataTables Filter-Box und Pagination nach oben verschieben */
#catalog_filter {
margin-bottom: -2px;
margin-top: -18px;
margin-right: 5px;
float: right;
}
#catalog_length {
float: left; /* Zeige X Einträge nach rechts verschieben */
}
#catalog_length select {
padding-right: 20px;
padding-left: 10px;
}
/* Verhindert, dass die DataTable das Layout stört */
.dataTables_wrapper {
width: 140%;
overflow: visible; /* Entfernt das äußere Scrollen */
}
/* Kompaktere Zeilen für DataTables */
#catalog.dataTable tbody td,
#catalog.dataTable thead th {
padding: 3px 8px !important;
line-height: 1.2 !important;
height: auto !important;
vertical-align: middle !important;
}
/* Eingabefelder in DataTables-Kopfzeile sauber einpassen */
#catalog thead input {
box-sizing: border-box; /* verhindert, dass padding + border die Größe aufblähen */
width: 100%; /* volle Breite der Zelle */
height: 100%; /* passt sich der Zellenhöhe an */
padding: 4px; /* kleiner Innenabstand */
margin: 0; /* verhindert vertikales Überlappen */
font-size: 13px; /* kleiner und lesbarer */
border: 1px solid #ccc; /* optisch passend zur Tabelle */
}
#image-hover-preview {
pointer-events: none;
}
#image-hover-preview img {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
border-radius: 8px;
}
#galleryContainer {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 20px;
}
#galleryContainer img {
max-width: 200px;
margin: 10px;
cursor: pointer;
}
.mw-gallery-slideshow {
max-width: 600px;
margin: 0 auto;
}
.mw-gallery-slideshow .mw-gallery-slideshow-image img {
max-height: 400px;
object-fit: contain;
}
.slideshow-box {
flex: 1 1 45%; /* Flexibel, aber max. zwei pro Zeile */
min-width: 300px; /* Verhindert Schrumpfen */
max-width: 600px; /* Optional: sonst wird’s zu breit */
box-sizing: border-box;
}
.slideshow-box {
display: flex;
flex-direction: column;
align-items: center; /* Zentriert Inhalte (inkl. Überschrift) */
width: 320px; /* gleiche Breite wie Slideshow, anpassen falls nötig */
}
.slideshow-box h3 {
text-align: center;
margin-bottom: 0.5em;
font-size: 1.2em;
}
/* Comparison slide show boxes */
.slideshow-row {
display: flex;
flex-direction: row;
justify-content: center;
gap: 120px;
flex-wrap: nowrap; /* verhindert Umbruch */
}
.slideshow-box {
width: 48%; /* jeweils etwa die Hälfte */
min-width: 350px;
background-color: #f9f9f9;
border: 1px solid #ccc;
padding: 20px;
box-sizing: border-box;
}
.slideshow-container {
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
height: 450px;
overflow: hidden;
}
.slideshow-container img {
max-height: 100%;
max-width: 100%;
object-fit: contain;
transition: all 0.3s ease-in-out;
background: white;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
border-radius: 8px;
}
.slideshow-container button {
background-color: #006699;
color: white;
border: none;
font-size: 24px;
padding: 10px 16px;
cursor: pointer;
border-radius: 6px;
}
.slideshow-container button:hover {
background-color: #004466;
}
.gallery-button-wrapper {
text-align: center;
margin-top: 15px;
}
.gallery-button-wrapper button {
background-color: #444;
color: white;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 6px;
cursor: pointer;
}
.gallery-button-wrapper button:hover {
background-color: #222;
}
.gallery-button-row {
display: flex;
justify-content: center;
align-items: center;
gap: 20px; /* Abstand zwischen den Buttons */
margin-top: 10px;
}
.gallery-button-row button {
background-color: #008CBA;
color: white;
padding: 10px 18px;
font-size: 16px;
border: none;
border-radius: 6px;
cursor: pointer;
min-width: 40px;
}
.gallery-button-row button:hover {
background-color: #222;
}
.slideshow-grid {
display: grid;
grid-template-columns: repeat(3, 1fr); /* jetzt 3 Spalten */
gap: 20px;
}
/* Media Info Adjustments */
.mediainfo-box {
background:#f9f9f9;
border:1px solid #ddd;
padding:0.5em 0.8em;
border-radius:4px;
}
.mediainfo-tag {
background:#eee;
border-radius:3px;
padding:2px 6px;
margin-right:4px;
font-size:0.85em;
display:inline-block;
}
.references p {
margin: 0 0 0.5em 0;
padding-left: 1.5em;
text-indent: -1.5em;
line-height: 1.5;
color: #555555; /* helles Dunkelgrau */
}
.references a {
color: #555555;
text-decoration: underline; /* optional */
}
/* Chart-Container */
.chart-container {
width: 100%;
max-width: 900px; /* optional */
height: 600px; /* gewünschte Höhe */
margin: auto;
}
#lineChart {
width: 100% !important;
height: 100% !important;
}
/* Optional: Hover-Effekt für Linienpunkte */
.line-hover {
border-width: 3px;
}
.all-files-table img {
max-height: 100px;
width: auto;
}
.all-files-table td {
vertical-align: middle;
}
/* Allgemeines Styling für die Tabelle */
/* #catalog {
/* width: 100%;
/* table-layout: auto !important; /* Flexibel für DataTables und schmalere Spalten */
/* border-collapse: collapse; /* Entfernt unnötige Ränder */
/*
/* Spaltenbreiten anpassen und Schmaler machen */
#catalogDPL th, #catalogDPL td {
padding: 1px 4px;
line-height: 1.2; /* kleinere Zeilenhöhe */
text-align: left; /* Standardtextausrichtung für alle Zellen */
}
#catalogDPL th:nth-child(1), #catalogDPL td:nth-child(1) {
width: 11%; /* Book */
}
#catalogDPL th:nth-child(2), #catalogDPL td:nth-child(2) {
width: 4%; /* Year */
text-align: center; /* Jahr zentrieren */
}
#catalogDPL th:nth-child(3), #catalogDPL td:nth-child(3) {
width: 7%; /* Illustrator */
}
#catalogDPL th:nth-child(4), #catalogDPL td:nth-child(4) {
width: 5%; /* Chpt in Orig */
text-align: center;
}
#catalogDPL th:nth-child(5), #catalogDPL td:nth-child(5) {
width: 5%; /* Chpt in this Ed. */
text-align: center;
}
#catalogDPL th:nth-child(6), #catalogDPL td:nth-child(6) {
width: 5%; /* Ill. in Chpt. */
text-align: center;
}
#catalogDPL th:nth-child(7), #catalogDPL td:nth-child(7) {
width: 12%; /* Illustration Title */
text-align: center;
}
#catalogDPL th:nth-child(8), #catalogDPL td:nth-child(8) {
width: 11%; /* Tags */
text-align: center;
}
#catalogDPL th:nth-child(9), #catalogDPL td:nth-child(9) {
width: 8%; /* ID */
}
/* Entferne horizontales Scrollen und passe das Design an */
#catalogDPL_wrapper {
overflow-x: hidden; /* Kein horizontales Scrollen */
}
/* Optional: Passe den Abstand der Spalten an */
#catalogDPL th, #catalogDPL td {
padding: 1px 1px;
}
/* DataTables Filter-Box und Pagination nach oben verschieben */
#catalogDPL_filter {
margin-bottom: -2px;
margin-top: -18px;
margin-right: 5px;
float: right;
}
#catalogDPL_length {
float: left; /* Zeige X Einträge nach rechts verschieben */
}
#catalogDPL_length select {
padding-right: 20px;
padding-left: 10px;
}
/* Verhindert, dass die DataTable das Layout stört */
.dataTables_wrapper {
width: 140%;
overflow: visible; /* Entfernt das äußere Scrollen */
}
/* Kompaktere Zeilen für DataTables */
#catalogDPL.dataTable tbody td,
#catalogDPL.dataTable thead th {
padding: 3px 8px !important;
line-height: 1.2 !important;
height: auto !important;
vertical-align: middle !important;
}
/* Eingabefelder in DataTables-Kopfzeile sauber einpassen */
#catalogDPL thead input {
box-sizing: border-box; /* verhindert, dass padding + border die Größe aufblähen */
width: 100%; /* volle Breite der Zelle */
height: 100%; /* passt sich der Zellenhöhe an */
padding: 4px; /* kleiner Innenabstand */
margin: 0; /* verhindert vertikales Überlappen */
font-size: 13px; /* kleiner und lesbarer */
border: 1px solid #ccc; /* optisch passend zur Tabelle */
}
/*Blasenoptik auf main page*/
.page-Main_Page .bubble {
border-radius: 30px;
overflow: hidden;
background-color: rgba(255, 242, 230, 0.93);
padding: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.page-Main_Page #page-content > .row {
background: transparent; /* Hintergrund unsichtbar, Container bleibt */
}
.page-Main_Page #firstHeading {
display: none;
}
.page-Main_Page #footer {
display: none;
}
.no-break {
white-space: nowrap;
}
.page-Main_Page .bubble h1 {
text-align: center;
font-size: 2.5rem;
line-height: 1.2;
margin: 0;
/* elegante Schrift */
font-family: "Georgia", "Times New Roman", serif;
/* optional: etwas luftiger */
letter-spacing: 0.5px;
/* Farbe der Überschrift */
color: #008CBA;
}
.page-Overview #page-content > .row {
/* leicht transparenter Hintergrund in Farbe #FFF2E6 */
background: rgba(255, 242, 230, 0.93);
/* abgerundete Ecken */
border-radius: 15px; /* optional: anpassen */
}
.page-Overview > #page-content > .row:first-child {
display: none;
}
/* Blasenoptik für Überschriften/Header */
/* Wiki-interne Überschrift auf allen Seiten ausblenden */
#firstHeading {
display: none;
}
/* Seitenkopf-Bubble: erbt .bubble, erweitert es spezifisch */
.bubble--seitenkopf {
background-color: transparent;
text-align: center;
}
.bubble--seitenkopf .seitenkopf-titel {
text-align: center;
font-size: 2.5rem;
line-height: 1.2;
margin: 0;
font-family: "Georgia", "Times New Roman", serif;
letter-spacing: 0.5px;
color: #008CBA;
white-space: normal; /* Standardverhalten, Umbrüche via no-break steuerbar */
}
/* Fette Teilüberschriften auf Project */
.page-Project h3,
.page-Project h4,
.page-Project h5 {
font-weight: bold;
}
/* Layout: Sidebar + Content nebeneinander auf Project*/
.project-layout {
display: flex;
align-items: flex-start;
gap: 2rem;
}
/* Sticky Sidebar */
.project-toc {
position: sticky;
top: 2rem;
min-width: 300px;
max-width: 333px;
background-color: rgba(255, 242, 230, 0.93);
border-radius: 12px;
padding: 1rem 1.2rem;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
flex-shrink: 0;
}
.project-toc__title {
font-weight: bold;
font-size: 0.95rem;
color: #008CBA;
margin: 0 0 0.6rem 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.project-toc ul {
list-style: none;
margin: 0;
padding: 0;
}
.project-toc li {
margin: 0.4rem 0;
}
.project-toc a {
color: #444;
text-decoration: none;
font-size: 0.9rem;
line-height: 1.4;
display: block;
transition: color 0.2s;
}
.project-toc a:hover {
color: #008CBA;
}
/* Hauptinhalt nimmt restliche Breite */
.project-content {
flex: 1;
min-width: 0; /* verhindert Overflow bei langen Wörtern */
}
.anchor-hidden {
display: block;
height: 0;
visibility: hidden;
}
.project-layout {
display: flex;
align-items: flex-start;
gap: 2rem;
margin-left: -25%; /* schiebt alles – TOC und Text – nach links */
}
/* Styling "Guide" */
.guide-blockquote {
border-left: 3px solid #008CBA;
margin: 1rem 0 1rem 1.5rem;
padding: 0.6rem 1rem;
background-color: rgba(255, 242, 230, 0.5);
border-radius: 0 8px 8px 0;
}
.guide-abbrev-table td,
.guide-tag-table td {
padding: 0.2rem 1rem 0.2rem 0;
vertical-align: top;
}
.guide-abbrev-table code,
.guide-tag-table code {
font-size: 0.9rem;
}
.guide-tag-table {
width: auto;
border-collapse: collapse;
}
.guide-tag-table td:first-child {
padding-right: 0.5rem;
white-space: nowrap;
}
.guide-tag-table td:last-child {
white-space: nowrap;
}
.project-toc ul ul {
margin-left: 0.5rem;
padding-left: 0.1rem;
}
.project-toc {
border: 1px solid #008CBA;
border-radius: 8px;
background-color: #F4FAFD;
}
/* BIB TEST */
body {
font-family: Arial, sans-serif;
background: #FFF2E6;
}
.bib-controls, .bib-tag-controls {
margin: 1rem 0;
}
/* BASE STATE (nicht aktiv) */
.view-btn {
background: #fff;
color: #008CBA;
border: 1px solid #008CBA;
padding: 6px 12px;
border-radius: 6px;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.2s ease;
}
/* HOVER */
.view-btn:hover {
background: #008CBA;
color: #fff;
}
/* ACTIVE STATE */
.view-btn.active {
background: #008CBA;
color: #fff;
}
.tag-filter {
display: inline-block;
margin: 0.2rem;
padding: 0.3rem 0.6rem;
border-radius: 15px;
border: 1px solid #008CBA;
background: #EAF4F8;
cursor: pointer;
}
/* BASE STATE (inaktiv) */
.tag {
display: inline-block;
background: #fff;
color: #008CBA;
border: 1px solid #008CBA;
padding: 4px 10px;
margin: 3px 4px 3px 0;
border-radius: 999px;
font-size: 0.85rem;
cursor: pointer;
user-select: none;
transition: all 0.2s ease;
}
/* HOVER */
.tag:hover {
background: #e6f6fb;
}
/* ACTIVE STATE */
.tag.active {
background: #008CBA;
color: #fff;
border-color: #008CBA;
}
.bibliography {
display: flex;
flex-direction: column;
gap: 1rem;
}
.bib-entry {
background: #F4FAFD;
border: 1px solid #008CBA;
padding: 1rem;
border-radius: 8px;
}
.hidden {
display: none;
}
.abstract {
margin-top: 0.8rem;
padding-top: 0.6rem;
border-top: 1px solid rgba(0,0,0,0.1);
}
.expand-btn {
margin-top: 0.6rem;
background: #008CBA;
color: white;
border: none;
padding: 0.4rem 0.7rem;
border-radius: 6px;
cursor: pointer;
}
.hidden {
display: none;
}
/* Network Container MUSS relative sein */
.network {
position: relative;
width: 100%;
height: 800px;
border: 1px solid #008CBA;
background: rgba(255, 242, 230, 0.3);
overflow: hidden;
}
/* Nodes müssen absolut sein */
.node {
position: absolute;
padding: 6px 10px;
background: white;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 12px;
cursor: pointer;
white-space: nowrap;
}
.node.tag {
background: #008CBA;
color: white;
}
.node.highlight {
border: 2px solid #008CBA;
}
/* edges sichtbar machen */
.edge {
position: absolute;
height: 1px;
background: rgba(0,0,0,0.25);
transform-origin: 0 0;
pointer-events: none;
}
/* Bibliography Styling - Grid Layout */
#listView.bibliography {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
font-size: 12px;
margin-top: 1rem;
}
.bib-entry {
border: 1px solid #ddd;
padding: 12px;
background: white;
border-radius: 4px;
display: flex;
flex-direction: column;
height: 100%;
}
.bib-entry h3 {
margin: 0 0 0.5rem 0;
font-size: 13px;
line-height: 1.3;
font-weight: normal;
}
.bib-entry .bib-tags {
margin: 0.5rem 0;
flex-grow: 1;
}
.bib-entry .short-abstract {
font-size: 11px;
margin: 0.5rem 0;
line-height: 1.4;
color: #666;
}
.bib-entry .expand-btn {
font-size: 11px;
padding: 4px 8px;
margin-top: auto;
background-color: #2b6cb0;
color: white;
border: none;
border-radius: 3px;
cursor: pointer;
}
.bib-entry .expand-btn:hover {
background-color: #1f4f7f;
}
.bib-entry .abstract {
font-size: 11px;
margin-top: 0.5rem;
padding: 0.5rem;
background-color: #f9f9f9;
border-left: 2px solid #2b6cb0;
line-height: 1.4;
}
.bib-entry .abstract.hidden {
display: none;
}
/* Tag Styling */
.bib-entry .bib-tags {
margin: 0.5rem 0;
flex-grow: 1;
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.bib-entry .bib-tags .tag {
display: inline-block;
padding: 2px 6px;
border-radius: 12px;
border: 1px solid #2b6cb0;
color: #2b6cb0;
cursor: pointer;
font-size: 10px;
background: white;
transition: all 0.2s ease;
white-space: nowrap;
margin: 0;
}
.bib-entry .bib-tags .tag:hover {
background-color: #f0f5fb;
}
.bib-entry .bib-tags .tag.active {
background-color: #2b6cb0;
color: white;
}
/* Responsive */
@media (max-width: 1200px) {
#listView.bibliography {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
#listView.bibliography {
grid-template-columns: 1fr;
}
}
/* URL/Link in Bibliography Entries - komprimiert */
.bib-entry h3 a {
font-size: 0;
text-decoration: none;
}
.bib-entry h3 a::before {
content: " 🔗";
font-size: 12px;
cursor: pointer;
display: inline-block;
margin-left: 4px;
}
.bib-entry h3 a:hover::before {
opacity: 0.6;
}
.bib-entry .abstract {
font-size: 10px;
margin-top: 0.5rem;
padding: 0.6rem;
background-color: transparent;
border-left: 2px solid #2b6cb0;
line-height: 1.4;
color: #666;
}
.bib-entry .abstract p {
margin: 0;
font-size: 12px;
}
.bib-entry .abstract.hidden {
display: none;
}
#tagBar .tag {
display: inline-block;
padding: 5px 10px;
border-radius: 16px;
border: 1px solid #2b6cb0;
color: #2b6cb0;
cursor: pointer;
font-size: 12px;
background: white;
transition: all 0.2s ease;
white-space: nowrap;
}
#tagBar .tag {
display: inline-block;
padding: 5px 10px;
border-radius: 16px;
border: 1px solid #2b6cb0;
color: #2b6cb0;
cursor: pointer;
font-size: 12px;
background: white;
transition: all 0.2s ease;
white-space: nowrap;
}
#tagBar .tag:hover {
background-color: #f0f5fb;
}
#tagBar .tag.active {
background-color: #2b6cb0;
color: white;
border-color: #2b6cb0;
}
#tagBar .tag.inactive {
background-color: white;
color: #2b6cb0;
}
.bib-entry .bib-tags {
margin: 0.5rem 0;
flex-grow: 1;
display: flex;
flex-wrap: wrap;
gap: 4px;
align-items: flex-start;
}
.bib-entry .bib-tags .tag {
display: inline-block;
padding: 2px 6px;
border-radius: 12px;
border: 1px solid #2b6cb0;
color: #2b6cb0;
cursor: pointer;
font-size: 10px;
background: white;
transition: all 0.2s ease;
white-space: nowrap;
margin: 0;
flex-shrink: 0; /* Verhindert Streckung */
width: auto; /* Macht Tags so breit wie Inhalt */
}
.bib-search-container {
margin-bottom: 1.5rem;
display: flex;
justify-content: center;
}
.bib-search-input {
width: 100%;
max-width: 500px;
padding: 10px 12px;
font-size: 14px;
border: 1px solid #2b6cb0;
border-radius: 4px;
box-sizing: border-box;
}
.bib-search-input:focus {
outline: none;
border-color: #2b6cb0;
box-shadow: 0 0 4px rgba(43, 108, 176, 0.3);
}
.bib-search-input::placeholder {
color: #999;
}