Skip to content
Snippets Groups Projects
Verified Commit 076adb5b authored by David Beniamine's avatar David Beniamine
Browse files

Basic customisations

parent eb5662af
Branches
No related tags found
No related merge requests found
Showing
with 27 additions and 4291 deletions
{% for page in pages("blog")|sort_by("time")|reverse if not page.hidden %}
<div class="post">
<h3><a href="{{ page.url }}">{{ page.title }}</a></h3>
<p class="date">{{ page.date_formatted }}</p>
<p class="excerpt">{{ page.description }}</p>
</div>
{% endfor %}
...@@ -63,9 +63,12 @@ body { display: flex; flex-direction: column; } ...@@ -63,9 +63,12 @@ body { display: flex; flex-direction: column; }
/*** BASIC LAYOUT: HEADER ***/ /*** BASIC LAYOUT: HEADER ***/
#header { background: #2EAE9B; } #header {
background-image: linear-gradient(to right, #F8F9FA, #5A8264);
}
#title, #logo { #title, #logo {
font-family: Revalia;
float: left; float: left;
padding: 3em 3em 3em 0; padding: 3em 3em 3em 0;
} }
...@@ -172,11 +175,23 @@ body { display: flex; flex-direction: column; } ...@@ -172,11 +175,23 @@ body { display: flex; flex-direction: column; }
/*** TYPOGRAPHY ***/ /*** TYPOGRAPHY ***/
@font-face{
font-family: Revalia;
src: url(font/Revalia/Revalia-Regular.ttf)
}
@font-face{
font-family: Cabin;
src: url(font/Cabin/Cabin-Medium.ttf)
}
@font-face{
font-family: Cabin-Bold;
src: url(font/Cabin/Cabin-Bold.ttf)
}
html { font-size: 16px; } html { font-size: 16px; }
body { body {
font-family: 'Droid Sans', 'Helvetica', 'Arial', sans-serif; font: 17px/26px Cabin;
font-size: 1rem;
line-height: 1.6; line-height: 1.6;
font-variant-ligatures: common-ligatures; font-variant-ligatures: common-ligatures;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
...@@ -203,6 +218,7 @@ a { ...@@ -203,6 +218,7 @@ a {
a:hover { color: #444; } a:hover { color: #444; }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: Cabin-bold;
margin-bottom: 0.6em; margin-bottom: 0.6em;
font-weight: bold; font-weight: bold;
color: #333; color: #333;
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<pubDate>{{ "now" | date(RFC822) }}</pubDate> <pubDate>{{ "now" | date(RFC822) }}</pubDate>
<lastBuildDate>{{ "now" | date(RFC822) }}</lastBuildDate> <lastBuildDate>{{ "now" | date(RFC822) }}</lastBuildDate>
<generator>Pico</generator> <generator>Pico</generator>
<!-- todo : limit to blog -->
{% for page in pages if page.id not in ['index','feed'] and not end %} {% for page in pages if page.id not in ['index','feed'] and not end %}
<item> <item>
<title>{{ page.title | e }}</title> <title>{{ page.title | e }}</title>
......
File added
File added
File deleted
This diff is collapsed.
File deleted
File deleted
File deleted
File deleted
This diff is collapsed.
File deleted
File deleted
File deleted
File deleted
This diff is collapsed.
File deleted
File deleted
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment