Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattbutton/silhouette-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt <kendoran@gmail.com>2019-01-06 13:01:39 +0300
committerMatt <kendoran@gmail.com>2019-01-06 13:01:39 +0300
commitfb2b443c1d762f8afc89db7a31019b67804396e6 (patch)
treeb7290879e81cb2eb4653c65be646f644b6ad21d0
parent06a8c41b8682292a969af64c656c252b87e283b3 (diff)
Typography simplification. Removed Montserrat font.
-rw-r--r--assets/css/styles.css41
-rw-r--r--layouts/_default/baseof.html8
-rw-r--r--layouts/_default/list.html2
3 files changed, 12 insertions, 39 deletions
diff --git a/assets/css/styles.css b/assets/css/styles.css
index dac6576..2c4bfb8 100644
--- a/assets/css/styles.css
+++ b/assets/css/styles.css
@@ -14,35 +14,9 @@ body {
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
- font-family: 'Montserrat', sans-serif;
- font-weight: 700;
word-wrap: break-word;
}
-h1, .h1 {
- font-size: 2rem;
-}
-
-h2, .h2 {
- font-size: 1.75rem;
-}
-
-h3, .h3 {
- font-size: 1.5rem;
-}
-
-h4, .h4 {
- font-size: 1.25rem;
-}
-
-h5, .h5 {
- font-size: 1rem;
-}
-
-h6, .h6 {
- font-size: .75rem;
-}
-
hr {
border-top: 1px dotted #2c2a24;
margin-bottom: 0;
@@ -119,12 +93,6 @@ footer a {
color: #e3d096 !important;
}
-.recent-posts a.title,
-.recent-posts a.title:hover {
- color: #222;
- text-decoration: none;
-}
-
footer .icons a {
font-size: 1.2rem;
margin: 0 8px;
@@ -144,8 +112,7 @@ footer hr {
}
.post h1,
-.post h2,
-.recent-posts h4,
+.recent-posts h2,
.sidebar h2 {
padding-bottom: 10px;
border-bottom: 1px dotted #2c2a24;
@@ -155,6 +122,12 @@ footer hr {
margin-bottom: 4rem;
}
+.recent-posts a.title,
+.recent-posts a.title:hover {
+ color: #222;
+ text-decoration: none;
+}
+
.top-nav {
color: #fff;
border-color: rgba(255,255,255,0);
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 4302066..291f531 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -12,13 +12,13 @@
<link rel="icon" type="image/png" href='{{ "images/favicon-16x16.png" | absURL }}' sizes="16x16">
<link rel="icon" type="image/png" href='{{ "images/favicon-32x32.png" | absURL }}' sizes="32x32">
- <link href="https://fonts.googleapis.com/css?family=Montserrat|Oswald:400" rel="stylesheet">
+ <link href="https://fonts.googleapis.com/css?family=Oswald:400" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
- {{ $plugins := resources.Get "css/styles.css" }}
- {{ $global := resources.Get "css/syntax.css" }}
- {{ $styles := slice $plugins $global | resources.Concat "css/bundle.css" | minify | fingerprint }}
+ {{ $styles := resources.Get "css/styles.css" }}
+ {{ $syntax := resources.Get "css/syntax.css" }}
+ {{ $styles := slice $styles $syntax | resources.Concat "css/bundle.css" | minify | fingerprint }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" />
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index b3610d6..8883086 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -79,7 +79,7 @@
{{ $paginator := .Paginate (where .Pages "Type" "post") 10 }}
{{ range (.Paginator 10).Pages }}
<article class="post">
- <a class="title" href="{{ .Permalink }}"><h1>{{ .Title }}</h1></a>
+ <a class="title" href="{{ .Permalink }}"><h2>{{ .Title }}</h2></a>
{{ partial "post-meta" . }}
<div>
{{ .Summary }}