Add new documentation pages and update blog styling

This commit introduces three new documentation files: `anwendungen.md` for AI solution use cases, `stylesheets/modules/blog.scss` for blog-specific styling, and `datenschutz.md` for the privacy policy. Additionally, it enhances blog author and sidebar styling for consistency and readability.
This commit is contained in:
tfw
2025-05-16 16:54:01 +02:00
parent a34275a7e9
commit 738c1867fb
77 changed files with 983 additions and 856 deletions
File diff suppressed because one or more lines are too long
+1
View File
@@ -30,6 +30,7 @@
@import "modules/lightbox";
@import "modules/blog";
//Responsive Design
@import "responsive/medium";
@import "responsive/mobile";
+51
View File
@@ -0,0 +1,51 @@
// Blog styling
// Author styling in blog posts
.md-post__authors.md-typeset {
font-size: 1.3rem; // Match the general text size of the website
// General author styling
.md-author {
img {
// Make the author image significantly larger
width: 3.5rem; // Much larger than default
height: 3.5rem; // Maintain aspect ratio
border-radius: 50%; // Keep the circular shape
}
}
// Long author format (used in blog post sidebar)
.md-author--long {
img {
width: 4rem; // Even larger for the long format
height: 4rem; // Maintain aspect ratio
}
}
// Author profile description
.md-profile__description {
font-size: 1.3rem; // Match the general text size of the website
line-height: 1.6; // Improve readability
}
// Profile container
.md-profile.md-post__profile {
margin-bottom: 1rem; // Add some spacing between multiple authors
}
}
// Blog sidebar styling - make all text in the sidebar 80% of the normal size
.md-sidebar__inner.md-post {
font-size: 80%; // Set font size to 80% of the parent element
// Ensure all child elements inherit the font size
* {
font-size: inherit;
}
// Override specific font sizes that were previously set
.md-post__authors.md-typeset,
.md-profile__description {
font-size: inherit;
}
}
+17 -14
View File
@@ -1,13 +1,12 @@
/*
* Cookie Consent Styling
* Position the cookie consent container at the top of the website, 20px from the top edge
* Position the cookie consent container in the center of the viewport
*/
.satag--cookie-consent-container {
position: fixed !important;
top: 20px !important;
top: 50% !important;
left: 50% !important;
transform: translateX(-50%) !important;
z-index: 9999 !important; /* Ensure it appears above other content */
width: auto !important;
height: auto !important;
@@ -22,11 +21,11 @@
[id*="usercentrics"],
.uc-banner-content,
.uc-container,
#uc-center-container,
[class*="banner"],
[class*="consent"],
[class*="cookie"] {
top: 20px !important;
top: 50% !important;
left: 50% !important;
bottom: auto !important;
position: fixed !important;
z-index: 9999 !important;
@@ -34,17 +33,18 @@
/* Specific targeting for the center container */
#uc-center-container {
position: absolute !important;
top: 40px !important;
position: fixed !important;
top: 50% !important;
left: 50% !important;
margin: 0 auto !important;
text-align: left !important;
left: 35% !important;
}
[id*="center-container"]:not(#uc-center-container),
[class*="center-container"] {
top: 0 !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
position: fixed !important;
}
/*
@@ -61,15 +61,18 @@
border-bottom: 0 !important;
max-height: 100vh !important;
max-width: 625px !important;
top: 0 !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
position: fixed !important;
}
}
/* Additional styling to ensure the cookie consent is at the top */
/* Additional styling to ensure the cookie consent is centered */
body iframe[id^="usercentrics-"],
body [class*="usercentrics"],
body [id*="usercentrics"] {
top: 20px !important;
top: 50% !important;
left: 50% !important;
bottom: auto !important;
position: fixed !important;
}
@@ -19,7 +19,11 @@
width: 325px; // Größeres Logo (Standardwert ist 40px)
height: auto;
}
}
// Mobile logo ausblenden in Desktop-Ansicht
.md-header__mobile-logo {
display: none; // Wird in der mobilen Ansicht überschrieben
}
// Navigationsleiste anpassen
+1
View File
@@ -71,6 +71,7 @@
display: flex;
max-width: 1200px;
margin: 0 auto;
padding-top: 2rem;
flex-wrap: wrap; // Erlaubt Umbruch bei kleinen Bildschirmen
.satag--home-companies-logo{
+8
View File
@@ -119,6 +119,14 @@
}
}
// Hide Impressum and Datenschutz from navigation (top tabs and sidebar)
.md-tabs__link[href^="/impressum/"],
.md-tabs__link[href^="/datenschutzerklaerung/"],
.md-nav__link[href^="/impressum/"],
.md-nav__link[href^="/datenschutzerklaerung/"] {
display: none;
}
// Content inner margin
.md-content__inner {
margin: 0 0 1.2rem;
+148 -56
View File
@@ -3,20 +3,32 @@
max-width: 1200px;
margin: 0 auto;
padding-top: 4rem;
overflow-x: hidden; // Prevent horizontal scrolling
box-sizing: border-box; // Include padding in width calculation
width: 100%;
h2 {
text-align: left;
margin-bottom: 3rem;
margin-top: 0;
}
*, *:before, *:after {
box-sizing: inherit; // Ensure all children inherit box-sizing
}
}
.satag--home-testimonials {
display: flex;
flex-direction: column;
gap: 2rem;
//gap: 2rem;
gap: 0;
width: 100%;
max-width: 100%;
overflow-x: hidden; // Prevent horizontal scrolling
min-height: 25rem;
@media (min-width: 768px) {
@media (min-width: 1201px) {
flex-direction: row;
align-items: flex-start;
}
@@ -28,12 +40,12 @@
position: relative;
min-height: 250px;
@media (min-width: 768px) {
@media (min-width: 1201px) {
flex: 0 0 60%;
}
@media (max-width: 767px) {
min-height: 400px; // Mehr Platz für den Text auf mobilen Geräten
@media (max-width: 1200px) {
min-height: 20rem; // Mehr Platz für den Text auf mobilen Geräten
}
}
@@ -58,10 +70,18 @@
border-left: none !important;
padding-left: 0 !important;
@media (max-width: 1200px) {
font-size: 1.1rem;
line-height: 1.6;
margin-top: 70px; // Platz für das Logo über dem Text
}
@media (max-width: 767px) {
font-size: 1rem; // Etwas kleinere Schrift auf mobilen Geräten
line-height: 1.5;
margin-top: 70px; // Platz für das Logo über dem Text
}
}
}
@@ -69,9 +89,10 @@
.satag--home-testimonial-author {
margin-top: 1rem;
@media (max-width: 767px) {
margin-top: 1.5rem; // Mehr Abstand nach oben auf mobilen Geräten
margin-bottom: 2rem; // Mehr Abstand nach unten auf mobilen Geräten
@media (max-width: 1200px) {
margin-top: 1.5rem; // Mehr Abstand nach oben auf Tablets und mobilen Geräten
margin-bottom: 2rem; // Mehr Abstand nach unten auf Tablets und mobilen Geräten
}
}
@@ -79,22 +100,26 @@
max-width: 120px !important;
filter: grayscale(1);
@media (max-width: 767px) {
@media (max-width: 1200px) {
display: none;
position: absolute;
top: 0;
left: 0;
max-width: 80px !important; // Kleineres Logo
max-width: 100px !important; // Kleineres Logo
margin-bottom: 1rem;
}
@media (max-width: 767px) {
max-width: 80px !important; // Noch kleineres Logo für mobile Geräte
}
}
.satag--home-testimonial-name {
font-weight: bold;
margin-bottom: 0.25rem;
@media (max-width: 767px) {
font-size: 1.2rem; // Größerer Name auf mobilen Geräten
@media (max-width: 1200px) {
font-size: 1.2rem;
margin-bottom: 0.1rem;
}
}
@@ -103,60 +128,61 @@
font-size: 0.9rem;
color: #666;
@media (max-width: 767px) {
font-size: 1rem; // Etwas größerer Titel auf mobilen Geräten
margin-top: 0; // Kein negativer Abstand mehr
@media (max-width: 1200px) {
font-size: 1rem;
margin-top: 0;
}
}
// Bilder-Container (rechts)
.satag--home-testimonials-images {
display: flex;
gap: 1rem;
gap: 0.5rem; // Increased gap for better spacing between larger images
justify-content: center;
max-width: 100%;
width: 100%;
overflow: hidden; // Ensure no overflow
@media (min-width: 768px) {
flex: 0 0 40%;
@media (min-width: 1201px) {
flex: 0 0 40%; // Increased from 35% to 40% to accommodate larger images
justify-content: flex-end;
}
@media (max-width: 767px) {
flex-wrap: nowrap; // Keine Umbrüche, damit die Bilder horizontal scrollbar sind
overflow-x: auto; // Horizontales Scrollen ermöglichen
-webkit-overflow-scrolling: touch; // Für besseres Scrolling auf iOS
scrollbar-width: none; // Firefox: Scrollbar ausblenden
-ms-overflow-style: none; // IE/Edge: Scrollbar ausblenden
padding-bottom: 1rem; // Platz für die Scrollbar
margin-top: 1rem; // Weniger Abstand nach oben
justify-content: flex-start; // Links ausrichten
// Webkit: Scrollbar ausblenden
&::-webkit-scrollbar {
display: none;
}
@media (max-width: 1200px) {
display: flex;
flex-wrap: wrap; // Allow wrapping to create grid-like layout
overflow-x: hidden; // Prevent horizontal scrolling
padding-bottom: 1rem;
margin-top: 1rem;
justify-content: center; // Center on smaller screens
gap: 0.5rem; // Add gap between grid items
}
}
.satag--home-testimonial-image-wrapper {
position: relative;
width: 180px;
height: 340px;
width: 130px; // Increased width for desktop
height: auto; // Further reduced height for desktop
overflow: hidden;
cursor: pointer;
opacity: 0.6;
transition: all 0.3s ease;
border: 1px solid transparent;
border-radius: 0;
border-color: var(--md-primary-fg-color--dark);
border-radius: 10px; // Add rounded corners
box-sizing: border-box; // Include border in width calculation
flex: 0 0 auto; // Prevent flex items from growing or shrinking
margin: 0.5rem; // Add more space between images
img {
filter: grayscale(1);
max-width: 100%; // Ensure image doesn't exceed container width
}
&.active {
opacity: 1;
border-color: var(--md-primary-fg-color, #9c27b0);
transform: scale(1.05);
transform: scale(1.01); // Subtle scale for visibility without overflow
transform-origin: center; // Ensure scaling happens from center
img {
filter: grayscale(0);
}
@@ -166,15 +192,35 @@
opacity: 0.8;
}
@media (max-width: 1200px) {
width: 80px; // Further reduced width for tablets
height: auto; // Further reduced height for tablets
margin: 0; // Remove margin as we're using gap in the parent
transform-origin: center; // Ensure scaling happens from center
flex: 0 0 calc(33.333% - 0.5rem); // Create a 3-column grid layout
max-width: calc(33.333% - 0.5rem); // Ensure consistent sizing
display: flex; // Make it a flex container
justify-content: center; // Center content horizontally
align-items: center; // Center content vertically
}
@media (max-width: 767px) {
width: 120px; // Etwas größer als zuvor
height: 180px; // Etwas größer als zuvor
flex: 0 0 auto; // Verhindert Schrumpfen
margin-right: 0.5rem; // Abstand zwischen den Bildern
width: 70px; // Further reduced width for mobile
height: auto; // Further reduced height for mobile
margin: 0; // Remove margin as we're using gap in the parent
flex: 0 0 calc(50% - 0.5rem); // Create a 2-column grid layout for smaller screens
max-width: calc(50% - 0.5rem); // Ensure consistent sizing
}
@media (max-width: 480px) {
width: 60px; // Further reduced width for very small screens
height: auto; // Further reduced height for very small screens
//flex: 0 0 calc(50% - 0.5rem); // Maintain 2-column grid layout for very small screens
//max-width: calc(50% - 0.5rem); // Ensure consistent sizing
flex: 0 0 calc(35% - 1rem);
max-width: calc(35% - 1rem);
&:last-child {
margin-right: 1rem; // Extra Platz am Ende für besseres Scrollen
}
}
}
@@ -182,9 +228,11 @@
width: 100%;
height: 100%;
object-fit: cover;
max-width: 100%; // Ensure image doesn't exceed container width
}
.satag--home-testimonial-logo {
display: none;
position: absolute;
bottom: 30px;
left: 50%;
@@ -195,13 +243,30 @@
padding: 5px;
width: 40px;
height: 40px;
display: flex;
//display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
box-sizing: border-box; // Include padding in width calculation
overflow: hidden; // Prevent content from extending beyond container
img {
max-width: 60px;
max-width: 100%; // Ensure image doesn't exceed container width
width: auto;
height: auto;
}
@media (max-width: 1200px) {
bottom: 20px;
width: 35px;
height: 35px;
background: rgba(0, 0, 0, 0.3);
img {
max-width: 100%;
width: auto;
height: auto;
}
}
@media (max-width: 767px) {
@@ -211,28 +276,55 @@
background: rgba(0, 0, 0, 0.5); // Halbdurchsichtiger Hintergrund für bessere Sichtbarkeit
img {
max-width: 40px;
max-width: 100%;
width: auto;
height: auto;
}
}
}
// Responsive Anpassungen
@media (max-width: 767px) {
// Verbessertes Layout für mobile Geräte
@media (max-width: 1200px) {
// Verbessertes Layout für Tablets und mobile Geräte
.satag--home-testimonials-container {
h2 {
margin-bottom: 1.5rem;
font-size: 1.5rem;
}
}
}
// Entfernung der Scrollklasse für die Bilder
.satag--home-testimonials-images.scroll {
scrollbar-width: none;
-ms-overflow-style: none;
// iPad specific adjustments (both portrait and landscape)
@media only screen and (min-width: 768px) and (max-width: 1200px) {
.satag--home-testimonials {
overflow-x: hidden;
}
&::-webkit-scrollbar {
display: none;
.satag--home-testimonials-images {
width: 100%;
max-width: 100%;
flex-wrap: wrap; // Allow wrapping to create grid-like layout
justify-content: center;
overflow-x: hidden;
gap: 0.2rem; // Even smaller gap for iPad
}
.satag--home-testimonial-image-wrapper {
margin: 0; // Remove margin as we're using gap in the parent
}
}
@media (max-width: 767px) {
// Zusätzliche Anpassungen für kleinere mobile Geräte
.satag--home-testimonials-container {
h2 {
font-size: 1.4rem;
}
}
}
@media (max-width: 480px){
.satag--home-testimonials-text-container {
min-height: 35rem;
}
}
+36 -4
View File
@@ -128,13 +128,12 @@ a.headerlink {
visibility: visible !important;
opacity: 0 !important; // Start with opacity 0
transition: opacity 0.3s ease !important; // Add transition for fade effect
transition-delay: 1.5s !important; // 1.5 second delay before showing
// Style the tooltip content
.md-tooltip__inner {
font-size: 1.04rem !important; // 80% of normal font size (1.3rem)
padding: 0.8rem !important;
margin-top: 0.5rem !important; // Add top spacing
//margin-top: 0.5rem !important; // Add top spacing
background-color: rgba(0, 0, 0, 0.9) !important;
border-radius: 4px !important;
color: white !important;
@@ -166,12 +165,11 @@ a.headerlink {
[class*="tooltip"]:before,
[class*="tooltip"]:after {
font-size: 1.04rem !important; // 80% of normal font size (1.3rem)
margin-top: 0.5rem !important; // Add top spacing
//margin-top: 0.5rem !important; // Add top spacing
visibility: visible !important;
z-index: 9999 !important;
pointer-events: auto !important;
transition: opacity 0.3s ease !important; // Add transition for fade effect
transition-delay: 1.5s !important; // 1.5 second delay before showing
opacity: 0 !important; // Start with opacity 0
}
@@ -228,6 +226,40 @@ a.headerlink {
transition-delay: 0s !important; // Remove delay when showing
}
// Direct link tooltip handling - ensure tooltips appear when hovering directly on links
a[title] {
position: relative !important; // Ensure the link is a positioning context for the tooltip
}
a[title]::after {
content: attr(title);
position: absolute;
z-index: 999 !important;
display: block !important;
visibility: hidden !important; // Start hidden
opacity: 0 !important; // Start with opacity 0
background-color: rgba(0, 0, 0, 0.9) !important;
color: white !important;
padding: 0.8rem !important;
border-radius: 4px !important;
font-size: 1.04rem !important;
max-width: 300px !important;
white-space: normal !important;
//margin-top: 0.5rem !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
pointer-events: none !important;
left: 0 !important; // Position at the left edge of the link
//bottom: 100% !important; // Position above the link
transform: translateY(-5px) !important; // Small offset for better appearance
transition: opacity 0.3s ease, visibility 0.3s ease !important; // Smooth transition
}
a[title]:hover::after,
a[title]:focus::after {
visibility: visible !important; // Show on hover/focus
opacity: 1 !important; // Full opacity on hover/focus
}
// Hide tooltip when triggered by the logo
.md-header__button.md-logo:hover + .md-tooltip,
.md-header__button.md-logo:focus + .md-tooltip,
+1 -1
View File
@@ -4,7 +4,7 @@
#nextcloud-form {
width: 100%;
border: none;
min-height: 3500px;
min-height: 3600px;
transition: height .3s ease;
color-scheme: dark;
+13 -1
View File
@@ -23,6 +23,17 @@
font-size: 2rem;
}
}
}
@media (max-width: 1199px) and (min-width: 769px) {
body{
.satag--home-landing .satag--home-companies{
padding: 4rem 6rem;
}
}
}
@@ -63,7 +74,8 @@
margin-left: -50vw !important;
margin-right: -50vw !important;
.satag--home-companies-logo-container{
.satag--home-companies-logo--container{
.satag--home-companies-logo{
img {
float: none !important;
+26
View File
@@ -1,3 +1,29 @@
@media (max-width: 768px) {
.md-nav--primary .md-nav__title{
padding: 3rem 1rem !important;
img{
margin-top: -1.7rem !important;
}
}
/* Hide desktop logo in mobile view */
.md-header__button.md-logo {
display: none;
}
/* Show and style mobile logo */
.md-header__mobile-logo {
display: flex;
align-items: center;
margin-left: 0.5rem;
img {
height: 1.8rem;
width: auto;
}
}
}
@media (max-width: 479px) {
html, body {
overflow-x: hidden;