junimo theme: use {{site_name}} and {{forum_link}} placeholders
This commit is contained in:
parent
66a9fafd26
commit
60aa4b274a
1 changed files with 45 additions and 3 deletions
|
|
@ -373,12 +373,25 @@
|
||||||
/* inputs */
|
/* inputs */
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
input[type="url"],
|
input[type="url"],
|
||||||
|
input[type="search"],
|
||||||
|
input:not([type]),
|
||||||
input[name="q"],
|
input[name="q"],
|
||||||
|
input[name="title"],
|
||||||
input[name="url"],
|
input[name="url"],
|
||||||
input[name="note"],
|
|
||||||
input[name="tags"],
|
input[name="tags"],
|
||||||
|
input[name="topics"],
|
||||||
|
input[name="instance"],
|
||||||
|
input[name="name"],
|
||||||
|
input[name="keywords"],
|
||||||
|
input[name="retention_days"],
|
||||||
|
input[name="note"],
|
||||||
input[name="site_name"],
|
input[name="site_name"],
|
||||||
input[name="dest_hash"] {
|
input[name="dest_hash"],
|
||||||
|
input[name="manual_title"],
|
||||||
|
input[name="summary"],
|
||||||
|
input[name="transport_host"],
|
||||||
|
input[name="transport_port"],
|
||||||
|
textarea, select {
|
||||||
background: rgba(20, 15, 50, 0.6);
|
background: rgba(20, 15, 50, 0.6);
|
||||||
border: 1px solid rgba(255,255,255,0.1);
|
border: 1px solid rgba(255,255,255,0.1);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
@ -547,6 +560,34 @@
|
||||||
|
|
||||||
hr { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 1rem 0; }
|
hr { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 1rem 0; }
|
||||||
|
|
||||||
|
.forum-form input, .forum-form button, .forum-toolbar input { border-radius: 4px; }
|
||||||
|
.forum-actions a, a.forum-action, a.forum-action-inline {
|
||||||
|
border: 1px solid rgba(255,255,255,0.12); padding: 6px 14px; text-transform: uppercase; font-size: 13px; background: rgba(30,20,60,0.7); color: #a098b0;
|
||||||
|
}
|
||||||
|
.forum-actions a:hover, a.forum-action:hover, a.forum-action-inline:hover {
|
||||||
|
background: rgba(50,35,90,0.7); color: #d0c0e0; border-color: rgba(240,216,120,0.3);
|
||||||
|
}
|
||||||
|
a.forum-action-inline { text-transform: none; font-size: 13px; padding: 2px 6px; border: none; background: none; }
|
||||||
|
.forum-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0.5rem 0; }
|
||||||
|
.forum-toolbar form { flex: 1; min-width: 160px; margin: 0; }
|
||||||
|
.forum-toolbar input[name=q] { width: 100%; box-sizing: border-box; padding: 6px 10px; }
|
||||||
|
.forum-toolbar-actions { display: flex; flex-wrap: wrap; gap: 4px; }
|
||||||
|
.section { margin: 1.5rem 0; }
|
||||||
|
.section-title { font-weight: 600; margin-bottom: 0.3rem; color: #d0c0a0; }
|
||||||
|
.section-desc { font-size: 0.85rem; color: #5a5070; margin-bottom: 0.5rem; }
|
||||||
|
.section ul { margin: 0.3rem 0; }
|
||||||
|
.forum-form input, .forum-form textarea, .forum-form button { margin-bottom: 8px; }
|
||||||
|
.forum-form small { display: block; margin-bottom: 6px; }
|
||||||
|
.forum-form label { display: block; margin-bottom: 6px; }
|
||||||
|
.forum-form + .forum-form { margin-top: 1rem; }
|
||||||
|
.forum-form + .section-title { margin-top: 1rem; }
|
||||||
|
.section-desc + .forum-form { margin-top: 0.8rem; }
|
||||||
|
ul + .forum-form { margin-top: 1rem; }
|
||||||
|
.checkbox-label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
|
||||||
|
.forum-status { font-size: 0.82rem; color: #5a5070; margin: 0 0 0.8rem 0; }
|
||||||
|
.forum-status span { margin-right: 1.2rem; }
|
||||||
|
.forum-nav { margin: 1rem 0; }
|
||||||
|
|
||||||
small {
|
small {
|
||||||
font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Segoe UI Mono', Menlo, Consolas, monospace;
|
font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Segoe UI Mono', Menlo, Consolas, monospace;
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
|
|
@ -615,11 +656,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="shell">
|
<div class="shell">
|
||||||
<nav>
|
<nav>
|
||||||
<a class="site" href="/">tinyweb</a>
|
<a class="site" href="/">{{site_name}}</a>
|
||||||
<div class="links">
|
<div class="links">
|
||||||
<a href="/pages">browse</a>
|
<a href="/pages">browse</a>
|
||||||
<a href="/tags">tags</a>
|
<a href="/tags">tags</a>
|
||||||
<a href="/subscriptions">network</a>
|
<a href="/subscriptions">network</a>
|
||||||
|
{{forum_link}}
|
||||||
<a href="/style">customize</a>
|
<a href="/style">customize</a>
|
||||||
<a href="/about">about</a>
|
<a href="/about">about</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue