New header and footer with settings in the bottom
This commit is contained in:
+78
-2
@@ -36,12 +36,69 @@
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
html, body { height: 100%; }
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
font-size: var(--font-size-base);
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
margin: 20px;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
.page-content {
|
||||
flex: 1;
|
||||
padding: 20px;
|
||||
}
|
||||
.app-header {
|
||||
background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
|
||||
padding: 18px 0;
|
||||
border-bottom: 3px solid var(--accent);
|
||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.app-header .header-inner {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.app-header .brand-icon {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
.app-header a.brand-link {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-size: 1.3em;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
.app-footer {
|
||||
background: var(--bg-secondary);
|
||||
border-top: 1px solid var(--border-color);
|
||||
padding: 18px 0;
|
||||
}
|
||||
.app-footer .footer-inner {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 15px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.footer-brand {
|
||||
color: var(--text-muted);
|
||||
font-size: 0.9em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.footer-links a {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.container {
|
||||
max-width: 800px;
|
||||
@@ -152,8 +209,15 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="app-header">
|
||||
<div class="header-inner">
|
||||
<span class="brand-icon">📚</span>
|
||||
<a href="/" class="brand-link">OfflineU</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="page-content">
|
||||
<div class="container">
|
||||
<a href="/" style="color: var(--text-muted); text-decoration: none; font-size: 0.9em;">← Back</a>
|
||||
<h1 style="margin-top: 10px;">Settings</h1>
|
||||
<p class="subtitle">Changes save and apply immediately across the app.</p>
|
||||
|
||||
@@ -253,6 +317,18 @@
|
||||
<span id="save-status">✓ Saved</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="app-footer">
|
||||
<div class="footer-inner">
|
||||
<div class="footer-brand">
|
||||
📚 <span>OfflineU</span>
|
||||
</div>
|
||||
<div class="footer-links">
|
||||
<a href="/">← Back to app</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="/static/theme.js"></script>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user