mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Update font family for functions
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<main class="main">
|
||||
<header class="content-header">
|
||||
<h1>{{with .LinkTitle}}{{ . |markdownify}}{{else}}{{ .Title | markdownify }}{{end}}</h1>
|
||||
<h1 class="{{.Section}}">{{with .LinkTitle}}{{ . |markdownify}}{{else}}{{ .Title | markdownify }}{{end}}</h1>
|
||||
<a role="button" target="_blank" class="edit-link" href="{{.Site.Params.ghrepourl}}{{.File.Path}}"><span class="edit-text">Edit</span> <i class="fa fa-pencil" aria-hidden="true"></i></a>
|
||||
</header>
|
||||
<div class="body-copy">
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@include fonts('muli', $weights: 100 300 400 600 700);
|
||||
@include fonts('courierprime', $weights: 400 700);
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
@@ -26,3 +27,7 @@ h2 {
|
||||
h3 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.functions {
|
||||
font-family: $code-font-family;
|
||||
}
|
||||
|
||||
@@ -56,12 +56,8 @@
|
||||
}
|
||||
&.active-page {
|
||||
font-weight: 600;
|
||||
// border-bottom: 1px solid $hugo-pink;
|
||||
color: $hugo-blue;
|
||||
}
|
||||
&.functions {
|
||||
font-family:$code-font-family;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user