Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dcfddba authored by Romain Hunault's avatar Romain Hunault
Browse files

Custom template

parent e73bd259
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
    {%- assign default_paths = site.pages | map: "path" -%}
    {%- assign page_paths = site.header_pages | default: default_paths -%}
    {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
    <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
    <a class="site-title" rel="author" href="{{ "/" | relative_url }}"><img src="{{ "/images/logo.jpg" | relative_url }}"> {{ site.title | escape }}</a>

    {%- if titles_size > 0 -%}
      <nav class="site-nav">
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

// Define defaults for each variable.

$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$base-font-family: -apple-system, Sans, OpenSans, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$base-font-size:   16px !default;
$base-font-weight: 400 !default;
$small-font-size:  $base-font-size * 0.875 !default;
+0 −1
Original line number Diff line number Diff line
@@ -135,7 +135,6 @@ blockquote {
  padding-left: $spacing-unit / 2;
  @include relative-font-size(1.125);
  letter-spacing: -1px;
  font-style: italic;

  > :last-child {
    margin-bottom: 0;
+9 −3
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
 * Site header
 */
.site-header {
  border-top: 5px solid $grey-color-dark;
  border-bottom: 1px solid $grey-color-light;
  min-height: $spacing-unit * 1.865;
  line-height: $base-line-height * $base-font-size * 2.25;
@@ -26,6 +25,12 @@
  &:visited {
    color: $grey-color-dark;
  }

  img {
    max-width: 50px;
    margin: 0.2em;
    margin-right: 0.5em;
  }
}

.site-nav {
@@ -233,12 +238,13 @@

.post-title,
.post-content h1 {
  @include relative-font-size(2.625);
  @include relative-font-size(2.25);
  letter-spacing: -1px;
  line-height: 1;
  font-weight: bold;

  @media screen and (min-width: $on-large) {
    @include relative-font-size(2.625);
    @include relative-font-size(2.25);
  }
}

images/logo.jpg

0 → 100644
+7.95 KiB
Loading image diff...