Info-Seite: Icon unter Statistik, engere Überschriften, Tastenrahmen
Info steht jetzt mit Icon direkt unter Statistik statt bei den Rechtstexten. Weniger Abstand unter den Überschriften; die Tastenrahmen lassen der Schrift oben mehr Luft, Zeilen mit Tasten bekommen dafür mehr Zeilenhöhe. Text: "anarchistische Menschen". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TiXsPUqw7oeomZ8wZrQW5q
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
66b2cae853
commit
67f27370b2
@@ -1,6 +1,6 @@
|
||||
import type { ReactNode } from "react";
|
||||
import { NavLink } from "react-router";
|
||||
import { Bell, ChartColumn, House, LogOut, MessageSquare, Search, Settings, User } from "lucide-react";
|
||||
import { Bell, ChartColumn, House, Info, LogOut, MessageSquare, Search, Settings, User } from "lucide-react";
|
||||
import { api } from "./api";
|
||||
import { useAuthChanged, useMe } from "./auth";
|
||||
|
||||
@@ -31,11 +31,11 @@ function useMainTargets(): Target[] {
|
||||
const moreTargets: Target[] = [
|
||||
{ title: "Einstellungen", icon: <Settings className="icon" />, to: "/settings" },
|
||||
{ title: "Statistik", icon: <ChartColumn className="icon" />, to: "/stats" },
|
||||
{ title: "Info", icon: <Info className="icon" />, to: "/info" },
|
||||
];
|
||||
|
||||
// Info-Seite und Rechtstexte stehen ohne Icon in der Seitenleiste.
|
||||
// Die Rechtstexte stehen ohne Icon in der Seitenleiste.
|
||||
const docs: Target[] = [
|
||||
{ title: "Info", to: "/info" },
|
||||
{ title: "Datenschutz", to: "/datenschutz" },
|
||||
{ title: "Beitragsordnung", to: "/beitragsordnung" },
|
||||
{ title: "Impressum", to: "/impressum" },
|
||||
|
||||
+20
-2
@@ -352,13 +352,31 @@ main > h2 {
|
||||
Überschriften direkt auf der Textur gedacht. */
|
||||
.doc h2 {
|
||||
padding: 0;
|
||||
margin: 1.2em 0 0.2em;
|
||||
}
|
||||
|
||||
/* Tastenkürzel auf der Info-Seite: Taste links, Wirkung rechts. */
|
||||
.doc h3 {
|
||||
margin: 1em 0 0.2em;
|
||||
}
|
||||
|
||||
.doc h2 + dl, .doc h3 + ul {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Tastenkürzel auf der Info-Seite: Taste links, Wirkung rechts. Der Rahmen
|
||||
lässt der Schrift oben etwas mehr Luft; dafür bekommen die Zeilen mit
|
||||
Tasten mehr Zeilenhöhe, damit sich die Rahmen nicht an die Nachbarzeilen
|
||||
drängen. */
|
||||
.doc kbd {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
border: 1px solid var(--ink);
|
||||
padding: 0 4px;
|
||||
padding: 3px 4px 0;
|
||||
}
|
||||
|
||||
.doc dl, .doc li:has(kbd) {
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.doc dt {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
</div>
|
||||
<h1>Info</h1>
|
||||
|
||||
<p>Der Kontrollverlust ist ein freies Forum für Anarchisten in Mitteldeutschland.</p>
|
||||
<p>Der Kontrollverlust ist ein freies Forum für anarchistische Menschen in Mitteldeutschland.</p>
|
||||
|
||||
<h2>Tastenkürzel</h2>
|
||||
<dl>
|
||||
|
||||
Reference in New Issue
Block a user