#layout-switcher
{
- @include bpreplay;
font-size: 137.5%;
- text-align: right;
+ float: right;
margin-top: .5em;
+ color: lighten($schrifthell, 25%);
+}
+#layout-switcher .layout-label
+{
+ display: none;
}
#layout-switcher a
{
- color: $schrifthell;
- border-bottom: 1px dashed $schrifthell;
+ color: lighten($schrifthell, 25%);
+ border-bottom: 1px dashed lighten($schrifthell, 25%);
}
-#layout-switcher a:hover,
-#layout-switcher a.active
+#layout-switcher a:hover
{
color: $dunkler;
border-bottom: 1px solid $dunkler;
}
-#layout-switcher a + a::before
+#layout-switcher a.active
{
- content: ' | ';
+ color: $schrifthell;
border-bottom: none;
+ pointer-events: none;
+ cursor: default;
}
/* Design Tokens für das Resurrection-Layout */
-/* Werden auf :root[data-layout="resurrection"] gesetzt (via resurrection.scss) */
-
---color-accent: #2a7a2a;
---color-accent-dark: #1a521a;
---color-text: #222222;
---color-text-muted: #666666;
---color-bg: #ffffff;
---color-bg-subtle: #f5f5f5;
---color-border: #dddddd;
-
---font-heading: system-ui, 'Segoe UI', Helvetica, Arial, sans-serif;
---font-body: Georgia, 'Times New Roman', serif;
---font-mono: 'Fira Code', 'Cascadia Code', Consolas, monospace;
-
---space-xs: 0.25rem;
---space-sm: 0.5rem;
---space-md: 1rem;
---space-lg: 2rem;
---space-xl: 4rem;
-
---line-height-body: 1.6;
---line-height-heading: 1.25;
-
---max-width: 60rem;
---sidebar-width: 18rem;
+/*
+ * CSS Custom Properties kommen hier hin, sobald das Layout ausgebaut wird.
+ * Voraussetzung: Hugo muss mit Dart Sass (nicht LibSass) konfiguriert sein.
+ *
+ * Geplante Tokens:
+ * --color-accent, --color-text, --color-bg, --color-bg-subtle, --color-border
+ * --font-heading, --font-body, --font-mono
+ * --space-xs … --space-xl
+ * --line-height-body, --line-height-heading
+ * --max-width, --sidebar-width
+ */
</div>
</main>
<footer id="footer">
- <nav id="layout-switcher">
- <a href="#" data-layout="resurrection">Resurrection</a>
- <a href="#" data-layout="classic">Classic</a>
- <a href="#" data-layout="none">None</a>
- </nav>
<hr class="f" />
<ul id="footerlinks">
<li class="f" id="copyright">© <strong>{{ site.Params.copyrightShort | default site.Copyright }}</strong> {{ now.Year }}</li>
+ <li id="layout-switcher">
+ <span class="layout-label">Layout: </span>
+ <a href="#" data-layout="resurrection">Resurrection</a>
+ |
+ <a href="#" data-layout="classic">Classic</a>
+ |
+ <a href="#" data-layout="none">None</a>
+ </li>
{{- with .Store.Get "footerlinks" }}
{{ . }}
{{- else }}