<link rel="stylesheet" href="/style.css" />
</head>
<body>
- <header>
- <h1 id="title">bandali's</h1>
- <h2 id="subtitle">contact info</h2>
- </header>
- <article>
- <div class="section">
+ <main>
+ <header>
+ <h1 id="title">bandali's</h1>
+ <h2 id="subtitle">contact info</h2>
+ </header>
+ <section>
<p>
email is by far my preferred method of communication. i may
be contacted at bandali at gnu dot org.
</tr>
</tbody>
</table>
+ </section>
- <h3>elsewhere</h3>
+ <h3>elsewhere</h3>
+ <section>
<p>
you may also find me at a few other places online. stricken
through accounts are those i don’t use anymore, unless
<li><strike><a href="https://github.com/notbandali">notbandali</a> on github</strike></li>
<li><strike><a href="https://twitter.com/notbandali">notbandali</a> on twitter</strike></li>
</ul>
- </div>
- </article>
+ </section>
+ </main>
</body>
</html>
<link rel="stylesheet" href="/style.css" />
</head>
<body>
- <header>
- <h1 id="title">bandali's</h1>
- <h2 id="subtitle">corner on the interwebs</h2>
- </header>
- <section>
+ <main>
+ <header>
+ <h1 id="title">bandali's</h1>
+ <h2 id="subtitle">corner on the interwebs</h2>
+ </header>
<h3>academia</h3>
- <div class="section">
+ <section>
<nav>
<ul id="academia">
<li><a href="cv">cv</a></li>
<li><a href="research-interests">research interests</a></li>
</ul>
</nav>
- </div>
- </section>
- <section>
+ </section>
<h3>personal</h3>
- <div class="section">
+ <section>
<nav>
<ul id="personal">
<li><a href="blog">blog</a></li>
<li><a href="contact">contact</a></li>
</ul>
</nav>
- </div>
- </section>
+ </section>
+ </main>
</body>
</html>
padding: 1em;
}
+main {
+ margin: auto;
+ max-width: 38em;
+}
+
body > header {
margin-bottom: 2em !important;
}
content: "";
}
-section {
- position: relative;
-}
-section > h3 {
- position: absolute;
- right: 75%;
- width: 25%;
- margin: 0;
- padding: 0 1em 0 0; /* 1.75 */
- font-weight: normal;
- font-size: 1em;
+main {
+ display: grid;
+ grid-template-columns: auto 38em auto;
+ grid-gap: 1em;
+}
+
+main > h3 {
+ grid-column: 1;
text-align: right;
- white-space: nowrap;
+ font-size: 1em;
+ font-weight: normal;
}
-section > .section, article > .section, body > header {
- position: relative;
- left: 25%;
- width: 50%;
- margin: 0;
- padding: 0;
- max-width: 38em;
+
+main > header, main > section {
+ grid-column: 2;
+}
+
+main > h3:first-of-type, section:first-of-type > p, section:first-of-type ul {
+ margin-bottom: 0;
+}
+
+main > h3:last-of-type, section:last-of-type > p, section:last-of-type ul {
+ margin-top: 0;
}