mirror of
https://github.com/skoelle/moonweb-www.git
synced 2026-09-18 02:00:24 +00:00
header nearly ok
This commit is contained in:
@@ -13,8 +13,11 @@
|
|||||||
<body background="/assets/images/background.gif" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
|
<body background="/assets/images/background.gif" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
|
||||||
|
|
||||||
<div class="mobile-header">
|
<div class="mobile-header">
|
||||||
<img src="/assets/pageImage/{{ section }}.jpg" alt="{{ section }}" height="162" width="108" border="0" class="mobile-pageimage">
|
<img src="/assets/images/logomobile.gif" alt="M O O N W E B" class="mobile-logo">
|
||||||
|
<div class="mobile-nav-row">
|
||||||
{% include "nav.njk" %}
|
{% include "nav.njk" %}
|
||||||
|
<img src="/assets/pageImage/{{ section }}.jpg" alt="{{ section }}" border="0" class="mobile-pageimage">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" width="750" height="100%" class="layout-main"><tr><td valign="top" class="sidebar-left">
|
<table border="0" cellpadding="0" cellspacing="0" width="750" height="100%" class="layout-main"><tr><td valign="top" class="sidebar-left">
|
||||||
|
|||||||
@@ -86,14 +86,27 @@ strong { color:#BBCCEE; background-color:#334444; font-weight:normal;}
|
|||||||
|
|
||||||
/* Mobile Breakpoint: 768px */
|
/* Mobile Breakpoint: 768px */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
/* Mobile Header: Seite + Navigation nebeneinander */
|
/* Mobile Header: Logo oben skaliert, darunter Seite + Navigation */
|
||||||
.mobile-header {
|
.mobile-header {
|
||||||
display: flex !important;
|
display: block !important;
|
||||||
align-items: flex-start;
|
|
||||||
padding: 0 0 8px 0;
|
padding: 0 0 8px 0;
|
||||||
}
|
}
|
||||||
.mobile-header .mobile-pageimage {
|
.mobile-logo {
|
||||||
flex-shrink: 0;
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.mobile-nav-row {
|
||||||
|
display: flex !important;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
.mobile-nav-row .mobile-pageimage {
|
||||||
|
flex-shrink: 0 !important;
|
||||||
|
width: 108px !important;
|
||||||
|
height: 120px !important;
|
||||||
|
object-fit: cover !important;
|
||||||
|
object-position: top !important;
|
||||||
}
|
}
|
||||||
.mobile-header .nav-toggle {
|
.mobile-header .nav-toggle {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@@ -280,6 +293,10 @@ strong { color:#BBCCEE; background-color:#334444; font-weight:normal;}
|
|||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
img.mobile-pageimage {
|
||||||
|
height: 120px !important;
|
||||||
|
max-height: 120px !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Background: komplett aus */
|
/* Background: komplett aus */
|
||||||
body {
|
body {
|
||||||
|
|||||||
Reference in New Issue
Block a user