aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeather Miller <heather.miller@epfl.ch>2016-10-16 12:34:05 -0400
committerHeather Miller <heather.miller@epfl.ch>2016-10-16 12:34:05 -0400
commite1af11a04a3ca574de73118cfdabc2ba15d5d7aa (patch)
treebc91a05b1de0f01763d632328e2df7e868f3c1b3
parentdfb6fc7c9d3bcc697f0607fe8815c88e16bb7848 (diff)
Reorganizing
-rw-r--r--_includes/head.html3
-rw-r--r--_layouts/post.html2
-rw-r--r--custom.css20
3 files changed, 24 insertions, 1 deletions
diff --git a/_includes/head.html b/_includes/head.html
index 5a05d5c..e1b7f9e 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -5,9 +5,12 @@
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
+ <link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">
+
<!-- <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}"> -->
<link rel="stylesheet" href="{{ site.baseurl }}/tufte.css"/>
<link rel="stylesheet" href="{{ site.baseurl }}/latex.css"/>
+ <link rel="stylesheet" href="{{ site.baseurl }}/custom.css"/>
<!-- <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> -->
<!-- <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}"> -->
</head>
diff --git a/_layouts/post.html b/_layouts/post.html
index 79217c6..e698190 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -3,7 +3,7 @@ layout: default
---
<article>
- <h1 id="tufte-css">{{ page.title }}</h1>
+ <h1 class="post-title">{{ page.title }}</h1>
<!-- <header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
diff --git a/custom.css b/custom.css
new file mode 100644
index 0000000..f1c2065
--- /dev/null
+++ b/custom.css
@@ -0,0 +1,20 @@
+---
+---
+
+.post-title {
+ font-family: 'Fira Sans';
+ font-weight: 200;
+ font-size: 3.2em;
+ line-height: 1em;
+ /*line-height: 1.6em;*/
+}
+
+.post-title, .post-title:after {
+ position: relative;
+ left: 10px;
+ line-height: 1.6em;
+ background: #ffdb00;
+ -webkit-box-shadow: -10px 0px 0px #ffdb00, 10px 0px 0px #ffdb00;
+ box-shadow: -10px 0px 0px #ffdb00, 10px 0px 0px #ffdb00;
+ box-decoration-break: clone;
+} \ No newline at end of file