mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Change font and stylesheet
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<li class="submenu-item"><a class="submenu-item-link{{if and (in $perma .URL) (eq $kind "section")}} active-page{{end}}" href="{{.Permalink}}">{{with .LinkTitle}}{{. | markdownify }}{{else}}{{.Title | markdownify}}{{end}}</a></li>
|
||||
{{ end }}
|
||||
{{range $content.Pages}}
|
||||
<li class="submenu-item"><a class="submenu-item-link{{if in $perma .URL}} active-page{{end}}" href="{{.Permalink}}">{{with .LinkTitle}}{{. | markdownify }}{{else}}{{.Title | markdownify}}{{end}}</a></li>
|
||||
<li class="submenu-item"><a class="submenu-item-link {{$section}}{{if in $perma .URL}} active-page{{end}}" href="{{.Permalink}}">{{with .LinkTitle}}{{. | markdownify }}{{else}}{{.Title | markdownify}}{{end}}</a></li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -34,6 +34,9 @@ $base-button-color: $hugo-blue;
|
||||
$base-button-text-color: $hugo-white;
|
||||
$button-border-radius: .25em;
|
||||
|
||||
//Codeblocks
|
||||
$code-font-family:'courierprime',courier,monospace;
|
||||
|
||||
//Sidebar
|
||||
$sidebar-width: 280px;
|
||||
$content-max-width: 35em;
|
||||
|
||||
@@ -55,7 +55,7 @@ main.main {
|
||||
|
||||
.body-copy {
|
||||
margin-bottom: 2em;
|
||||
display: inline-block;
|
||||
display: block;
|
||||
.last-modified {
|
||||
color: lighten($base-font-color, 20%);
|
||||
display: block;
|
||||
|
||||
@@ -59,6 +59,9 @@
|
||||
// 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