mirror of
https://github.com/skoelle/moonweb-www.git
synced 2026-09-18 02:00:24 +00:00
first steps
This commit is contained in:
@@ -11,7 +11,13 @@
|
|||||||
<link rel="icon" href="/assets/images/favicon.ico">
|
<link rel="icon" href="/assets/images/favicon.ico">
|
||||||
</head>
|
</head>
|
||||||
<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">
|
||||||
<table border="0" cellpadding="0" cellspacing="0" width="750" height="100%"><tr><td valign="top">
|
|
||||||
|
<div class="mobile-header">
|
||||||
|
<img src="/assets/pageImage/{{ section }}.jpg" alt="{{ section }}" height="162" width="108" border="0" class="mobile-pageimage">
|
||||||
|
{% include "nav.njk" %}
|
||||||
|
</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="108">
|
<table border="0" cellpadding="0" cellspacing="0" width="108">
|
||||||
<tr><td>
|
<tr><td>
|
||||||
@@ -23,8 +29,8 @@
|
|||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</td><td valign="top">
|
</td><td valign="top" class="content-area">
|
||||||
<img src="/assets/images/pixel-white.gif" height="10" width="400"><br>
|
<img src="/assets/images/pixel-white.gif" height="10" width="400" class="spacer"><br>
|
||||||
<table border="0" cellpadding="10" cellspacing="0" width="492"><tr><td>
|
<table border="0" cellpadding="10" cellspacing="0" width="492"><tr><td>
|
||||||
|
|
||||||
<h1>{{ pageTitle | default("The " + section) }}</h1>
|
<h1>{{ pageTitle | default("The " + section) }}</h1>
|
||||||
@@ -32,7 +38,7 @@
|
|||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
|
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
</td><td valign="top">
|
</td><td valign="top" class="sidebar-right">
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" width="150">
|
<table border="0" cellpadding="0" cellspacing="0" width="150">
|
||||||
<tr height="20"><td> </td></tr>
|
<tr height="20"><td> </td></tr>
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
<table border="0" cellpadding="0" cellspacing="0">
|
<details class="nav-toggle" open>
|
||||||
|
<summary class="nav-toggle-button">Menu</summary>
|
||||||
|
<table border="0" cellpadding="0" cellspacing="0" class="nav-table">
|
||||||
{% for group in nav %}
|
{% for group in nav %}
|
||||||
<tr><td>
|
<tr><td>
|
||||||
{% for item in group %}
|
{% for item in group %}
|
||||||
@@ -8,7 +10,8 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</td></tr>
|
</td></tr>
|
||||||
{% if not loop.last %}
|
{% if not loop.last %}
|
||||||
<tr><td><img src="/assets/images/pixel-white.gif" width="76" height="15" border="0" alt=""></td></tr>
|
<tr><td><img src="/assets/images/pixel-white.gif" width="76" height="15" border="0" alt="" class="nav-spacer"></td></tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
</details>
|
||||||
|
|||||||
@@ -58,3 +58,250 @@ a.quicknav:visited { font-weight:normal; text-decoration:none; background-color:
|
|||||||
a.quicknav:active { font-weight:normal; text-decoration:none; background-color:#DDDDDD; width:85px; padding-right:5px; font-family: sans-serif, Arial, sans-serif; font-size:8pt; color:#AA2233; }
|
a.quicknav:active { font-weight:normal; text-decoration:none; background-color:#DDDDDD; width:85px; padding-right:5px; font-family: sans-serif, Arial, sans-serif; font-size:8pt; color:#AA2233; }
|
||||||
a.quicknav:hover { font-weight:normal; text-decoration:none; background-color:#CCCCCC; width:85px; padding-right:5px; font-family: sans-serif, Arial, sans-serif; font-size:8pt; color:#AA2233; }
|
a.quicknav:hover { font-weight:normal; text-decoration:none; background-color:#CCCCCC; width:85px; padding-right:5px; font-family: sans-serif, Arial, sans-serif; font-size:8pt; color:#AA2233; }
|
||||||
strong { color:#BBCCEE; background-color:#334444; font-weight:normal;}
|
strong { color:#BBCCEE; background-color:#334444; font-weight:normal;}
|
||||||
|
|
||||||
|
/* Mobile Header: nur auf Mobile sichtbar */
|
||||||
|
.mobile-header {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========================================
|
||||||
|
MOBILE LAYOUT (Responsive)
|
||||||
|
======================================== */
|
||||||
|
|
||||||
|
/* Navigation Toggle (nur im Mobile sichtbar) */
|
||||||
|
.nav-toggle-button {
|
||||||
|
display: none;
|
||||||
|
background-color: #555544;
|
||||||
|
color: #CCAA66;
|
||||||
|
padding: 8px 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-weight: bold;
|
||||||
|
border: none;
|
||||||
|
width: 100%;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.nav-toggle-button:hover {
|
||||||
|
background-color: #444433;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mobile Breakpoint: 768px */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
/* Mobile Header: Seite + Navigation nebeneinander */
|
||||||
|
.mobile-header {
|
||||||
|
display: flex !important;
|
||||||
|
align-items: flex-start;
|
||||||
|
padding: 0 0 8px 0;
|
||||||
|
}
|
||||||
|
.mobile-header .mobile-pageimage {
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
.mobile-header .nav-toggle {
|
||||||
|
flex: 1;
|
||||||
|
padding: 0 0 0 8px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.mobile-header .nav-toggle-button {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.mobile-header .nav-table {
|
||||||
|
width: auto !important;
|
||||||
|
display: inline !important;
|
||||||
|
}
|
||||||
|
.mobile-header .nav-table > tbody,
|
||||||
|
.mobile-header .nav-table > tbody > tr {
|
||||||
|
display: inline !important;
|
||||||
|
}
|
||||||
|
.mobile-header .nav-table > tbody > tr > td {
|
||||||
|
display: inline !important;
|
||||||
|
width: auto !important;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.mobile-header .nav-spacer {
|
||||||
|
display: inline !important;
|
||||||
|
width: 8px !important;
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
.mobile-header a.menu-item {
|
||||||
|
display: inline !important;
|
||||||
|
width: auto !important;
|
||||||
|
height: auto !important;
|
||||||
|
padding: 0 4px !important;
|
||||||
|
text-indent: 0 !important;
|
||||||
|
overflow: visible !important;
|
||||||
|
text-align: left;
|
||||||
|
background-image: none !important;
|
||||||
|
background-color: transparent;
|
||||||
|
color: #334444;
|
||||||
|
margin: 0;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.mobile-header a.menu-item:hover,
|
||||||
|
.mobile-header a.menu-item.active {
|
||||||
|
background-color: #BBCCEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Layout-Tabellen auf Block umschalten */
|
||||||
|
table.layout-main {
|
||||||
|
display: block !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
table.layout-main > tbody,
|
||||||
|
table.layout-main > tbody > tr {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
table.layout-main > tbody > tr > td {
|
||||||
|
display: block !important;
|
||||||
|
width: 100% !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Linke Sidebar ausblenden */
|
||||||
|
td.sidebar-left,
|
||||||
|
td.sidebar-left * {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Content-Bereich: Volle Breite */
|
||||||
|
td.content-area {
|
||||||
|
width: 100% !important;
|
||||||
|
padding: 8px !important;
|
||||||
|
}
|
||||||
|
td.content-area table {
|
||||||
|
width: 100% !important;
|
||||||
|
padding: 8px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Spacer-Bild ausblenden */
|
||||||
|
img.spacer {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Rechte Sidebar: Volle Breite, unter Content */
|
||||||
|
td.sidebar-right {
|
||||||
|
width: 100% !important;
|
||||||
|
padding: 8px !important;
|
||||||
|
}
|
||||||
|
td.sidebar-right > table {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
td.sidebar-right > table > tbody > tr > td > table {
|
||||||
|
display: block !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
td.sidebar-right > table > tbody > tr > td > table > tbody > tr {
|
||||||
|
display: flex !important;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
td.sidebar-right > table > tbody > tr > td > table > tbody > tr > td {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
td.sidebar-right > table > tbody > tr > td > table > tbody > tr > td:first-child {
|
||||||
|
flex: 1 !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
width: auto !important;
|
||||||
|
}
|
||||||
|
td.sidebar-right > table > tbody > tr > td > table > tbody > tr > td:last-child {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Navigation in sidebar-right auf Mobile ausblenden */
|
||||||
|
.sidebar-right .nav-toggle {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Footer: Volle Breite */
|
||||||
|
td[colspan="2"] table {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Typografie anpassen */
|
||||||
|
body {
|
||||||
|
font-size: 14px !important;
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 18pt !important;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: 11pt !important;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
font-size: 14pt !important;
|
||||||
|
padding-left: 10px !important;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
font-size: 14px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Formulare: Volle Breite */
|
||||||
|
input[type="text"],
|
||||||
|
input[type="email"],
|
||||||
|
input[type="submit"],
|
||||||
|
textarea {
|
||||||
|
width: 100% !important;
|
||||||
|
max-width: 100% !important;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tabellen in Inhalten: Volle Breite */
|
||||||
|
td.content-area table {
|
||||||
|
display: table !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Quicknav: Kompakte horizontale Leiste */
|
||||||
|
.quicknav-table {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
.quicknav-table td {
|
||||||
|
display: inline-block !important;
|
||||||
|
width: auto !important;
|
||||||
|
height: auto !important;
|
||||||
|
padding: 2px 4px !important;
|
||||||
|
}
|
||||||
|
.quicknav-table img {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pseudonym-Box: Volle Breite */
|
||||||
|
.pseudonym-box {
|
||||||
|
width: 100% !important;
|
||||||
|
max-width: 350px;
|
||||||
|
}
|
||||||
|
p[align="right"] {
|
||||||
|
text-align: center !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bilder: Responsiv */
|
||||||
|
img {
|
||||||
|
max-width: 100% !important;
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Background: komplett aus */
|
||||||
|
body {
|
||||||
|
background-image: none !important;
|
||||||
|
}
|
||||||
|
body::before {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Kleinere Breakpoint: 480px */
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
body {
|
||||||
|
font-size: 13px !important;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 16pt !important;
|
||||||
|
}
|
||||||
|
td.content-area {
|
||||||
|
padding: 4px !important;
|
||||||
|
}
|
||||||
|
td.content-area table {
|
||||||
|
padding: 4px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -27,3 +27,12 @@ a.menu-{{ item }}.active {
|
|||||||
background-image: url("/assets/menu/{{ item }}_a.gif");
|
background-image: url("/assets/menu/{{ item }}_a.gif");
|
||||||
}
|
}
|
||||||
{% endfor %}{% endfor %}
|
{% endfor %}{% endfor %}
|
||||||
|
|
||||||
|
/* Mobile: Navigation als Text statt Bilder */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
a.menu-item {
|
||||||
|
background-image: none !important;
|
||||||
|
text-indent: 0 !important;
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user