Compare commits

...

11 Commits

Author SHA1 Message Date
semblanceofsense
fe52bf65d7 unfix footer 2025-02-23 18:31:35 -07:00
semblanceofsense
23a2222bd7 links 2025-02-23 18:20:13 -07:00
semblanceofsense
069354fa3d changes 2025-02-23 18:15:56 -07:00
semblanceofsense
35c1ce9d31 borders 2025-02-23 17:25:38 -07:00
semblanceofsense
e45796548b Browner color 2025-02-22 22:06:53 -07:00
semblanceofsense
f26d929bf7 removed dead code 2025-02-22 16:09:27 -07:00
semblanceofsense
20633ebc32 another colorscheme 2025-02-22 16:03:04 -07:00
semblanceofsense
c8bda29764 add mainsite to top bar 2025-02-22 14:51:17 -07:00
semblanceofsense
63d01f09d7 minor style changes 2025-02-22 14:47:48 -07:00
semblanceofsense
1715c87983 new style.css 2025-02-22 14:40:09 -07:00
semblanceofsense
f883bce5c3 changed header color 2025-02-22 14:26:19 -07:00
4 changed files with 31 additions and 1 deletions

View File

@ -8,6 +8,7 @@
% if(! ~ $#handlers_bar_left 0) { % if(! ~ $#handlers_bar_left 0) {
<nav id="side-bar"> <nav id="side-bar">
% for(h in $handlers_bar_left) { % for(h in $handlers_bar_left) {
<h2>Site Map</h2>
<div> <div>
% run_handler $$h % run_handler $$h
</div> </div>

View File

@ -5,7 +5,6 @@
<style> <style>
footer { footer {
width: 100%; width: 100%;
position: fixed;
bottom: 0; bottom: 0;
} }
</style> </style>

View File

@ -1,4 +1,6 @@
<div> <div>
<a href="https://bergamotoil.net/">main</a>
<p style="display:inline"> | </p>
<a href="https://git.bergamotoil.net/">git</a> <a href="https://git.bergamotoil.net/">git</a>
<p style="display:inline"> | </p> <p style="display:inline"> | </p>
<a href="https://files.bergamotoil.net/">filedumps</a> <a href="https://files.bergamotoil.net/">filedumps</a>

28
_werc/pub/style.css Normal file
View File

@ -0,0 +1,28 @@
body { display: flex; flex-wrap: wrap; font-family: sans; }
header { flex-basis: 100%; flex-shrink: 0; }
article { flex-basis: 60%; padding-left: 1em; }
footer { flex-basis: 100%; flex-shrink: 0; }
header nav { display: flex; justify-content: space-between; }
nav a, header a { text-decoration: none ; color: inherit; }
header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; }
body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; }
nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; }
nav li ul { padding-left: 0.6em }
footer { display: flex; justify-content: space-between; }
/* body */
body { background-color: #ffdab3 }
/* header and top bar */
header h1 { border: 2px solid #ac8760; background-color: #ffe6cc; border-radius: 25px; padding-left: 15px; padding-bottom: 5px }
header nav { background-color: #ffe6cc; border: 2px solid #ac8760; border-radius: 15px; padding-left: 10px; padding-top: 2px; padding-bottom: 4px; }
header nav div a { text-decoration: underline; color: #54402c; }
/* sidebar */
body > nav { background-color: #ffe6cc; margin-right: 25px; border: 2px solid #ac8760; border-radius: 25px; padding-left: 10px; }
/* article */
body > article { background-color: #ffe6cc; border: 2px solid #ac8760; border-radius: 25px; }
/* footer */
footer { margin: 5px }