<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
- <title>{{ page.title }}{% if page.subtitle %} - {{ page.subtitle }}{% endif %}</title>
+ <title>{% if page.pretitle %}{{ page.pretitle }} • {% endif %}{{ page.title }}</title>
{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}">{% endif %}
<link rel="stylesheet" href="/style.css">
</nav>
<article id="-content">
- <header id="-title">
- <h1>{{ page.title }}</h1>
- </header>
-
{{ content }}
</article>
---
layout: default
-title: "Ralf's Ramblings"
+pretitle: "Ralf's Ramblings"
rss: true
---
-<header class="subtitle">
+<header id="-pretitle">
<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>
- <h1>{{ page.subtitle }}</h1>
+ <h1>{{ page.pretitle }}</h1>
</header>
+<header id="-title">
+ <h1>{{ page.title }}</h1>
+</header>
+
+
{{ content }}
$navi-width: 11em;
$navi-indent: 1.2em;
$frame-max-width: 50em;
-$intrusion-width: 0.8em;
+$intrusion-width: 1.0em;
$outer-margin: 0.8em;
$full-content-width: $frame-max-width + $navi-width + 2*$outer-margin + $intrusion-width;
-$frame-color: #121212;
-$title-color: #08f;
-$navi-color: #36ff00;
-$current-color: #ffa700;
-$background-color: white;
+$background-color: white;
$text-color: #313131;
-$code-background-color: #505050;
-$light-text-color: #888;
-$link-color: #268BD2;
-
+$light-text-color: #808080;
+$code-background-color: #F7F7F7;
+$link-color: #268BD2;
/* General page structure */
body { /* This centers us in the page, and handles the "too wide" case */
}
/* Small screens */
-@media screen and (max-width:#{ $frame-max-width } ) {
+@media screen and (max-width:#{ $frame-max-width + 2*$outer-margin } ) {
body, #-frame, #-title, #-content, #-navi {
margin: 0;
padding: 0;
/* Content styling */
#-content {
- .subtitle .side {
+ .side {
float: right;
color: $light-text-color;
}
- code {
- padding: 0.1em 0.2em;
+ #-pretitle, .subtitle {
+ h1 {
+ display: inline-block;
+ font-size: 165%;
+ }
+ .side {
+ margin-left: 0.5em;
+ margin-top: 0.9em;
+ }
+ }
+ .subtitle {
+ margin-top: 1.5em;
+ }
+
+ #-title {
+ clear: both;
+ }
+
+ pre, code {
+ background-color: $code-background-color;
font-family: monospace;
font-size: 82%;
}
+ code {
+ padding: 0.1em 0.2em;
+ }
pre {
padding: 0.6em;
}
pre code {
- background-color: $code-background-color;
padding: 0;
+ font-size: 100%;
}
p {
}
a {
text-decoration: none;
- color:$link-color;
+ color: $link-color;
}
a:hover, a:focus {
text-decoration: underline;