Merge pull request #66 from jane-alesi/main-mkdocs
Fix/64 logo navi fehlt bei mobile ansicht auf ipad bspw quer (#3)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
name: Preview Deployment (Fix)
|
name: Preview Deployment (Fix)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch: # Ermöglicht manuelles Starten
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'blog/**'
|
- 'blog/**'
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
name: Preview Deployment
|
name: Preview Deployment
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch: # Ermöglicht manuelles Starten
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'feature/**' # Triggers only on pushes to branches containing '/'
|
- 'feature/**' # Triggers only on pushes to branches containing '/'
|
||||||
|
|||||||
@@ -5,3 +5,4 @@
|
|||||||
/package-lock.json
|
/package-lock.json
|
||||||
# Add readme.md to ensure case sensitivity is enforced
|
# Add readme.md to ensure case sensitivity is enforced
|
||||||
# This commit includes an attempt to delete readme.md
|
# This commit includes an attempt to delete readme.md
|
||||||
|
/docs/assets/css/custom.css.map
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ html {
|
|||||||
font-size: 100% !important;
|
font-size: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Schriftart auf "Assistant" setzen
|
|
||||||
:root {
|
:root {
|
||||||
--md-text-font: "Assistant";
|
--md-text-font: "Assistant";
|
||||||
--md-code-font: "Assistant";
|
--md-code-font: "Assistant";
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
}
|
}
|
||||||
&:after {
|
&:after {
|
||||||
content: "\f002";
|
content: "\f002";
|
||||||
font-family: 'Font Awesome 6 Pro';
|
font-family: 'Font Awesome 6 Pro', sans-serif;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
@@ -94,3 +94,73 @@
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Fix for iPad and tablet devices in landscape orientation
|
||||||
|
@media (min-width: 768px) and (max-width: 1220px) {
|
||||||
|
// Ensure logo is visible
|
||||||
|
.md-header__button.md-logo {
|
||||||
|
display: block !important;
|
||||||
|
visibility: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-header__mobile-logo{
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make sure navigation elements remain visible
|
||||||
|
.md-header-nav,
|
||||||
|
.md-header__inner,
|
||||||
|
.md-tabs,
|
||||||
|
.md-header__title,
|
||||||
|
.md-tabs__list {
|
||||||
|
display: flex !important;
|
||||||
|
visibility: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-header{
|
||||||
|
.md-grid{
|
||||||
|
padding: 0 6rem !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Ensure proper layout and spacing
|
||||||
|
.md-header__inner {
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 0 0.2rem;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make navigation width match content width
|
||||||
|
.md-tabs {
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Adjust font sizes for better fit in this viewport range
|
||||||
|
.md-header__title {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-tabs__link {
|
||||||
|
font-size: 0.7rem;
|
||||||
|
padding: 0.5rem 0.5rem 0.5rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-header__button.md-logo {
|
||||||
|
padding: 2.2rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hide hamburger menu for this range to prevent conflicts
|
||||||
|
.md-header__button[for="__drawer"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body .md-grid .md-content {
|
||||||
|
padding: 0 4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user