Compare commits
2 Commits
c557955121
...
22c4cf8b44
Author | SHA1 | Date |
---|---|---|
Case Duckworth | 22c4cf8b44 | |
Case Duckworth | 431e47cb70 |
|
@ -1,15 +1,63 @@
|
|||
colophon
|
||||
|
||||
<h2>nef</h2>
|
||||
@h2 nef
|
||||
|
||||
now $(wc -c < $0) characters,
|
||||
a $(((982-$(wc -c < $0))*100/982))% reduction
|
||||
from <a href="https://git.sr.ht/~acdw/unk">UNK</a>.
|
||||
The engine that powers this website is one of my own design, NEF. NEF is a
|
||||
$(wc -c < $0)-byte POSIX shell script, the absolute minimum I could manage to
|
||||
put in an <abbr title="static site generator">SSG</abbr>. In fact, here's the
|
||||
whole thing:
|
||||
|
||||
<pre><code>$(awk '{
|
||||
gsub("&", "\\&")
|
||||
gsub("<", "\\<")
|
||||
gsub(">", "\\>")
|
||||
print
|
||||
}' $0)
|
||||
</code></pre>
|
||||
<pre><code>$(awk '{ gsub("&", "\\&") gsub("<", "\\<") gsub(">", "\\>")
|
||||
print }' $0)</code></pre>
|
||||
|
||||
Of course, all it <em>really</em> does is get you set up — I've added much
|
||||
more to it for this site. You can see my source code
|
||||
<a href="https://tildegit.org/acdw/acdw.net">at its repo</a>, if you want.
|
||||
You can copy it too, as long as you follow the
|
||||
<a href="${ROOT}/.license.html">license</a>.
|
||||
|
||||
@h2 me
|
||||
|
||||
I like the idea of combining "about me" pages with colophons (though
|
||||
I <em>don't</em> like this plural of <i>colophon</i>; I would've thought it'd be
|
||||
something cooler, like <i>octopodes</i>): I played a major part in creating this
|
||||
webpage, after all, and it'd be very different if I weren't involved!
|
||||
|
||||
I was born in a holler in East Tennessee. I was an adult for quite a while
|
||||
before I fully realized it was a holler I was born in; I think now of fish and
|
||||
the water. Speaking of water, there was a creek across the road, which we'd go
|
||||
and watch crawdads in. There was (still is as far as I know) a mulberry tree
|
||||
next to the barn that we'd pick as many mulberries from as we could before the
|
||||
birds ate the rest. I climbed a lot of trees in those days, at home.
|
||||
|
||||
I went to school too, of course, and a number of extracurriculars like anyone
|
||||
might. Eventually, I went to college and got a degree in writing, then to
|
||||
another college for another degree in writing. I met my wife and we got
|
||||
married. We have two dogs and we live in a house in Louisiana.
|
||||
|
||||
I don't know what else to say about myself. I guess if you'd like to know me
|
||||
better, read more of this website or my other writing; if you'd still like to
|
||||
know me better you can send me an email; if you'd still like to know me better
|
||||
... well, let's start with the email.
|
||||
|
||||
@h2 a note on the typeface
|
||||
|
||||
In <a href="${ROOT}/S/acdw.css">my site's CSS</a>, I define fonts simply
|
||||
as <code>monospace</code>, <code>serif</code>, and <code>sans-serif</code>, or
|
||||
the default fonts for your system. I spent a lot of time with previous
|
||||
iterations of this site putzing around with different fonts, trying to figure
|
||||
out how best to load them, where to put them, what formats to use, etc., but
|
||||
then I realized that what I tell patrons regarding their resumé holds true for a
|
||||
website as well: it really doesn't matter as long as it's readable. So I just
|
||||
use the defaults.
|
||||
|
||||
That means that if my website is ugly to you, <em>it's your fault</em>. Take
|
||||
some pride in this nightmare rectangle you spend increasingly more of your time
|
||||
staring at! Change the default fonts of your browser! Here, I'll even show you
|
||||
where to find out how:
|
||||
|
||||
<ul>
|
||||
<li><a href="https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use">Firefox</a>
|
||||
<li><a href="https://mcmw.abilitynet.org.uk/google-chrome-for-windows-changing-fonts">Chrome</a>
|
||||
<li><a href="https://www.windowscentral.com/how-change-default-fonts-settings-new-microsoft-edge">Edge</a>
|
||||
</ul>
|
||||
|
|
5
L
5
L
|
@ -10,7 +10,10 @@
|
|||
</header>
|
||||
<main>
|
||||
<h1>$(T $F)</h1>
|
||||
$(sed 1d $F|X|awk -vRS= -fR)
|
||||
$(sed 1d $F|awk -vRS= -fR|X)
|
||||
<div id=main-last-child>
|
||||
<!--hi mom!-->
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<span class=phi>© 2020 Case Duckworth</span>
|
||||
|
|
13
S/acdw.css
13
S/acdw.css
|
@ -2,22 +2,18 @@ html,body{
|
|||
font:18px/1.4 serif;
|
||||
padding:0;
|
||||
margin:0;
|
||||
min-height:100vh;
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
}
|
||||
|
||||
main{
|
||||
max-width:70ch;
|
||||
height:100%;
|
||||
margin: 2em 0;
|
||||
padding:0 1ch;
|
||||
flex:1 0 auto;
|
||||
background: white;
|
||||
}
|
||||
|
||||
main > :last-child {
|
||||
border-bottom: 2px solid;
|
||||
}
|
||||
margin-bottom: 2rem;}
|
||||
|
||||
main > :last-child::after {
|
||||
content: "\2766";
|
||||
|
@ -28,11 +24,16 @@ main > :last-child::after {
|
|||
background: white;
|
||||
}
|
||||
|
||||
header{ top:0; }
|
||||
footer{ bottom: 0; }
|
||||
|
||||
header,footer{
|
||||
font:80% monospace;
|
||||
background:#333;
|
||||
color:white;
|
||||
padding:2px 0;
|
||||
position: fixed;
|
||||
left: 0; right: 0;
|
||||
}
|
||||
|
||||
header a,footer a,.phi {
|
||||
|
|
Loading…
Reference in New Issue