lib+css: update to html5 tags, classless css

This commit is contained in:
Kurt H Maier 2020-05-25 00:47:51 -07:00
parent 0011a6aa7e
commit ea05499f77
5 changed files with 386 additions and 354 deletions

View file

@ -1,35 +1,26 @@
<div id="header">
<div class="superHeader">
<header>
<nav>
% cat `{ get_lib_file top_bar.inc }
</div>
<div class="midHeader">
<h1 class="headerTitle"><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1>
</div>
<div class="subHeader"><br></div>
</div>
</nav>
<h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1>
</header>
% if(! ~ $#handlers_bar_left 0) {
<div id="side-bar">
<nav id="side-bar">
% for(h in $handlers_bar_left) {
<div>
% run_handler $$h
</div>
% }
</div>
</nav>
% }
<div id="main-copy">
<article>
% run_handlers $handlers_body_head
% run_handler $handler_body_main
% run_handlers $handlers_body_foot
</article>
</div>
<div id="footer">
<footer>
% cat `{ get_lib_file footer.inc }
</div>
</footer>

View file

@ -1,6 +1,7 @@
<div class="left"><a href="http://werc.cat-v.org/">Powered by werc</a></div>
<!-- TODO Maybe should add a programatically generated google search box -->
<div class="right"><a href="/_users/login">User Login</a></div>
<div><a href="http://werc.cat-v.org/">Powered by werc</a></div>
<br>
<br class="doNotDisplay doNotPrint">
<div><a href="/_users/login">User Login</a>
<!-- TODO: add duckduckgo site search
<form action="/_search" method=get><input type=text name=q />
-->
</div>

View file

@ -1,4 +1,4 @@
<div class="left">
<div>
<a href="http://gsoc.cat-v.org">gsoc</a> |
<a href="http://doc.cat-v.org">doc archive</a> |
<a href="http://repo.cat-v.org">software repo</a> |
@ -8,9 +8,8 @@
<a href="http://cat-v.org">cat-v.org</a>
</div>
<div class="right">
<span class="doNotDisplay">Related sites:</span>
| <a href="http://cat-v.org/update_log">site updates</a>
| <a href="/sitemap">site map</a>
<div>
<a href="http://cat-v.org/update_log">site updates</a> |
<a href="/sitemap">site map</a>
</div>