Change style : center content

This commit is contained in:
Case Duckworth 2021-02-06 16:58:26 -06:00
parent 0c96e954cc
commit b9fa8a92e1
2 changed files with 30 additions and 21 deletions

40
L
View File

@ -1,23 +1,27 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>$(T $F)</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
<meta charset=utf-8>
<title>$(T $F)</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
$(Nav I/index.html I/*)
</header>
<main>
<h1 class="pagetitle">$(T $F)</h1>
$(sed 1d $F|awk -vRS= -fR|X)
<div id=main-last-child>
<!--hi mom!-->
</div>
</main>
<footer>
<span class=phi>&copy; 2017&ndash;$(date +%Y) Case Duckworth</span>
$(Nav - I/.??*)
<a href="${ROOT}/.atom.xml">feed</a>
</footer>
<header>
<div class=mainwidth>
$(Nav I/index.html I/*)
</div>
</header>
<main class=mainwidth>
<h1 class="pagetitle">$(T $F)</h1>
$(sed 1d $F|awk -vRS= -fR|X)
<div id=main-last-child>
<!--hi mom!-->
</div>
</main>
<footer>
<div class=mainwidth>
<span class=phi>&copy; 2017&ndash;$(date +%Y) Case Duckworth</span>
$(Nav - I/.??*)
<a href="${ROOT}/.atom.xml">feed</a>
</div>
</footer>
</body>

View File

@ -6,10 +6,15 @@ html,body{
margin:0;
}
.mainwidth {
max-width: 46rem;
margin: 0 auto;
}
main{
max-width:70ch;
margin: 2em 0;
padding:0 1ch;
/* max-width:70ch; */
/* margin: 0; */
padding:2em 1ch;
background: white;
}