{% for post in include.posts %}
<header class="subtitle">
{% include post-header.html item=post %}
- <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
+ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
</header>
{{ post.excerpt }}
<p><a href="{{ post.url }}">Read more...</a></p>
}
#-frame { /* Add a frame, full height */
margin: 0 $navi-width;
- padding-top: $outer-margin;
+ padding-top: $outer-margin; /* distance of top to window border */
+ padding-bottom: $outer-margin; /* distance of page-bottom to window border */
border-left: solid $text-color 1px;
min-height: calc(100vh - #{$outer-margin});
}
/* The content of the frame */
#-content {
margin-left: $intrusion-width;
- padding: $outer-margin;
+ padding-left: $outer-margin; /* Distance to the end of the intrusion */
+ padding-right: $outer-margin; /* Distance to the end of the window */
padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
}
position: static;
}
#-content {
- padding: $outer-margin;
+ padding: #{ $outer-margin * 0.75 };
}
#-navi {
- padding: $outer-margin;
+ padding: #{ $outer-margin * 0.75 };
border-bottom: solid $text-color 1px;
ul {
display: none;
}
}
+
+/* Title and Title-asides spacing */
+.side {
+ float: right;
+}
+.subtitle {
+ margin-top: 2em;
+
+ h1, h2 {
+ display: inline-block;
+ margin: 0;
+ }
+ .side {
+ margin-left: 0.5em;
+ margin-top: 0.45em;
+ }
+}
+.title {
+ margin-top: 0.2em;
+ margin-bottom: 1.2em;
+
+ h1, h2 {
+ display: inline-block;
+ margin: 0;
+ }
+ .side {
+ margin-left: 0.5em;
+ margin-top: 0.8em;
+ }
+}