layout: default
---
{% if page.pretitle %}
-<header id="-pretitle">
+<header class="pretitle">
{% if page.date %}
<div class="side"><a href="{{ page.url }}">Permalink</a> • {{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</div>
{% endif %}
</header>
{% endif %}
-<header id="-title">
+<header class="title">
<h1>{{ page.title }}</h1>
</header>
h1 {
margin-top: 0.1em;
font-size: 200%;
- margin-bottom: 0.5em;
+ margin-bottom: 0.2em;
}
h2 {
margin-top: 0.5em;
}
a {
display: block;
- width: calc(100% - 2*0.1em - 1px + #{$intrusion-width}); /* minus the padding, the border, and plus how much we want to overlap */
- padding: 0.08em 0.1em 0.02em; /* top left-right bottom */
+ width: calc(100% - 2*0.25em - 1px + #{$intrusion-width}); /* minus the padding, the border, and plus how much we want to overlap */
+ padding: 0.08em 0.25em 0.02em; /* top left-right bottom */
/* Always have *one* border, for the width to stay constant */
border-left: solid transparent 1px;
/* Small screens */
@media screen and (max-width:#{ $small-width } ) {
- body, #-frame, #-title, #-content, #-navi {
+ body, #-frame, #-content, #-navi {
margin: 0;
padding: 0;
height: auto;
/* Printing */
@media print {
- body, #-frame, #-title, #-content {
+ body, #-frame, #-content {
margin: 0;
padding: 0;
width: auto;
color: $light-text-color;
}
- #-pretitle, .subtitle {
- margin-bottom: 1em;
-
+ .pretitle, .subtitle {
h1 {
display: inline-block;
font-size: 165%;
}
.side {
margin-left: 0.5em;
- margin-top: 0.9em;
+ margin-top: 0.8em;
}
}
+ .pretitle {
+ margin-bottom: 1em;
+ }
.subtitle {
margin-top: 2em;
}
-
- #-title {
+ .title {
clear: both;
+ margin-bottom: 1em;
}
pre, code {