changed look and feel
This commit is contained in:
parent
fc0249f599
commit
f47cabff24
|
@ -3,13 +3,22 @@ html {
|
||||||
font-size: normal;
|
font-size: normal;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
#toc,#TOC {text-align: left;}
|
|
||||||
html,body { margin: 0; padding: 0; border: 0; }
|
html,body { margin: 0; padding: 0; border: 0; }
|
||||||
|
body { padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
border-top: solid 5px var(--y);
|
||||||
|
border-bottom: solid 5px var(--y);
|
||||||
|
box-sizing: border-box; min-height: 100vh;
|
||||||
|
}
|
||||||
|
* { block-sizing: border-box; }
|
||||||
|
|
||||||
|
#toc,#TOC {text-align: left;}
|
||||||
.main { min-height: calc(100vh - 1em); }
|
.main { min-height: calc(100vh - 1em); }
|
||||||
h1,h2,h3,h4,h5,h6 {
|
h1,h2,h3,h4,h5,h6,.abstract {
|
||||||
|
font-family: Georgia, Palatino, serif;
|
||||||
line-height: calc(1ex/0.42);
|
line-height: calc(1ex/0.42);
|
||||||
margin: 1rem 0; }
|
margin: 1rem 0; }
|
||||||
#preamble > .content > h1 { margin: 0 0 1rem 0; }
|
header > .content > h1 { margin: 0 0 1rem 0; }
|
||||||
p { text-align: justify; hyphens: auto; }
|
p { text-align: justify; hyphens: auto; }
|
||||||
pre { overflow-x: scroll; padding: 1em; border-left: dotted 1px; }
|
pre { overflow-x: scroll; padding: 1em; border-left: dotted 1px; }
|
||||||
pre > code { background: none; font-size: 0.875em; padding: 0; }
|
pre > code { background: none; font-size: 0.875em; padding: 0; }
|
||||||
|
@ -28,18 +37,33 @@ hr { opacity: 0.3; }
|
||||||
#logo { display: block;
|
#logo { display: block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1rem;
|
float: left;
|
||||||
}
|
}
|
||||||
#logo svg { width: 5em; }
|
#logo svg { width: 5em; }
|
||||||
#logo div { display: none; }
|
/* For assistive technology we sometime want to keep a text in a link */
|
||||||
#preamble, #postamble { text-align: center; }
|
/* while not showing it. */
|
||||||
#content,.content,#postamble {
|
.vis-hidden {
|
||||||
padding: 0 1rem;
|
border: 0;
|
||||||
max-width: 80ch;
|
clip: rect(0 0 0 0);
|
||||||
|
height: auto;
|
||||||
|
margin: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
header, footer { text-align: center; }
|
||||||
|
#content,.content,footer {
|
||||||
|
padding: 1rem;
|
||||||
|
max-width: 65ch;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
#content, #preamble,#postamble { padding: 1rem; }
|
header { padding-top: 5px; max-width: 80ch; margin: 0 auto;}
|
||||||
|
header > .content { padding-top: 0; text-align: left; }
|
||||||
|
header > .content > h1 { padding: 0; margin: 0; text-align: left; }
|
||||||
|
footer { padding: 1rem; }
|
||||||
figure img { width: 100%; }
|
figure img { width: 100%; }
|
||||||
img { max-width: 100%; border: solid; }
|
img { max-width: 100%; border: solid; }
|
||||||
li p { margin: 0; padding: 0; }
|
li p { margin: 0; padding: 0; }
|
||||||
|
@ -56,8 +80,7 @@ sub { top: 0.4em; }
|
||||||
.footdef > sup { vertical-align: top; font-size: medium; }
|
.footdef > sup { vertical-align: top; font-size: medium; }
|
||||||
.footdef > sup > a { padding: 0.5em; }
|
.footdef > sup > a { padding: 0.5em; }
|
||||||
.footpara { display: inline; }
|
.footpara { display: inline; }
|
||||||
footer { margin: 3em 0;
|
footer { padding: 1em 0;
|
||||||
padding: 1em 0;
|
|
||||||
border-top: solid 1px;
|
border-top: solid 1px;
|
||||||
border-bottom: solid 1px;
|
border-bottom: solid 1px;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
|
|
|
@ -15,11 +15,10 @@
|
||||||
$header-includes$
|
$header-includes$
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="main">
|
<header id="preamble">
|
||||||
<header role="banner" id="preamble">
|
|
||||||
<div id="logo">
|
<div id="logo">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<div>Go to Home</div>
|
<div class="vis-hidden">Go to Home</div>
|
||||||
<svg width="5em" viewBox="0 0 64 64">
|
<svg width="5em" viewBox="0 0 64 64">
|
||||||
<circle cx="32" cy="32" r="30" stroke="#a3aec2" stroke-width="1" fill="#2E3440"></circle>
|
<circle cx="32" cy="32" r="30" stroke="#a3aec2" stroke-width="1" fill="#2E3440"></circle>
|
||||||
<circle cx="32" cy="32" r="12" stroke="#800" stroke-width="1" fill="#c20"></circle>
|
<circle cx="32" cy="32" r="12" stroke="#800" stroke-width="1" fill="#c20"></circle>
|
||||||
|
@ -28,7 +27,9 @@
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="content">
|
||||||
<h1>$title</h1>
|
<h1>$title</h1>
|
||||||
|
</div>
|
||||||
<nav arial-label="Main">
|
<nav arial-label="Main">
|
||||||
<a href="/index.html">Home</a> |
|
<a href="/index.html">Home</a> |
|
||||||
<a href="/slides.html">Slides</a> |
|
<a href="/slides.html">Slides</a> |
|
||||||
|
@ -38,7 +39,7 @@
|
||||||
<a href="https://espial.esy.fun/u:yogsototh/notes">notes</a>)</span>
|
<a href="https://espial.esy.fun/u:yogsototh/notes">notes</a>)</span>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main id="content" role="main">
|
<main id="content">
|
||||||
$body$
|
$body$
|
||||||
|
|
||||||
<h3>Archives from my previous dead blog</h3>
|
<h3>Archives from my previous dead blog</h3>
|
||||||
|
@ -124,7 +125,7 @@ $body$
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
<footer id="postamble" class="status" role="contentinfo">
|
<footer id="postamble" class="status">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<nav aria-label="Main">
|
<nav aria-label="Main">
|
||||||
<a href="/index.html">Home</a> |
|
<a href="/index.html">Home</a> |
|
||||||
|
@ -137,6 +138,5 @@ $body$
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
$header-includes$
|
$header-includes$
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="main">
|
<header>
|
||||||
<div id="logo">
|
<div id="logo">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<div>Go to Home</div>
|
<div class="vis-hidden">Go to Home</div>
|
||||||
<svg width="5em" viewBox="0 0 64 64">
|
<svg width="5em" viewBox="0 0 64 64">
|
||||||
<circle cx="32" cy="32" r="30" stroke="#a3aec2" stroke-width="1" fill="#2E3440"></circle>
|
<circle cx="32" cy="32" r="30" stroke="#a3aec2" stroke-width="1" fill="#2E3440"></circle>
|
||||||
<circle cx="32" cy="32" r="12" stroke="#800" stroke-width="1" fill="#c20"></circle>
|
<circle cx="32" cy="32" r="12" stroke="#800" stroke-width="1" fill="#c20"></circle>
|
||||||
|
@ -29,7 +29,6 @@
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<header id="preamble" class="status" role="banner">
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h1>$title$</h1>
|
<h1>$title$</h1>
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
|
@ -42,13 +41,13 @@ $description$
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<main id="content" role="main">
|
<main id="content">
|
||||||
$if(toc)$<nav id="toc" role="doc-toc">$table-of-contents$</nav>$endif$
|
$if(toc)$<nav id="toc" role="doc-toc">$table-of-contents$</nav>$endif$
|
||||||
<article>
|
<article>
|
||||||
$body$
|
$body$
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
<footer id="postamble" class="status" role="contentinfo">
|
<footer id="postamble" class="status">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<nav role="navigation">
|
<nav role="navigation">
|
||||||
<a href="/index.html">Home</a> |
|
<a href="/index.html">Home</a> |
|
||||||
|
@ -61,6 +60,5 @@ $body$
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue