Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
feat: improve configuration (#245)
Browse files Browse the repository at this point in the history
* feat: improve configuration

* fix: fix partials/footer.html error
  • Loading branch information
dillonzq authored Apr 21, 2020
1 parent 8a0e610 commit f14301c
Show file tree
Hide file tree
Showing 62 changed files with 1,550 additions and 1,671 deletions.
22 changes: 6 additions & 16 deletions archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,22 @@ draft: true
author: ""
authorLink: ""
description: ""
license: ""

tags: []
categories: []

hiddenFromHomePage: false
hiddenFromSearch: false

featuredImage: ""
featuredImagePreview: ""

toc: false
autoCollapseToc: true
math: false
mapbox:
accessToken: ""
lightStyle: ""
darkStyle: ""
navigation: true
geolocate: true
scale: true
fullscreen: true
lightgallery: true
linkToMarkdown: true
share:
toc:
enable: true
comment: true
math:
enable: false
lightgallery: false
license: ""
---

<!--more-->
4 changes: 2 additions & 2 deletions assets/css/_partial/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ footer {
line-height: 1.5rem;
padding-top: 2rem;

.copyright {
.footer-container {
font-size: .875rem;

.copyright-line {
.footer-line {
width: 100%;

.icp-br {
Expand Down
8 changes: 4 additions & 4 deletions assets/css/_partial/_single/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ code {
color: $code-color;

img, .version img {
min-height: 1.1 * $code-font-size;
height: 1.1 * $code-font-size;
min-height: 1.2 * $code-font-size;
height: 1.2 * $code-font-size;
}

.dark & {
Expand All @@ -25,7 +25,7 @@ pre {

.copy-button {
font-size: $code-font-size;
line-height: $code-font-size;
line-height: 1.4 * $code-font-size;
position: absolute;
top: 0;
right: 0;
Expand Down Expand Up @@ -129,7 +129,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.highlight {
font-family: $code-font-family;
font-size: $code-font-size;
line-height: round($code-font-size * 1.4);
line-height: 1.4 * $code-font-size;
/* Comment */ .c,
/* CommentHashbang */ .ch,
/* CommentMultiline */ .cm,
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ $code-info-color-dark: #b1b0b0 !default;
$code-font-size: .875rem !default;

// Font family of the code
$code-font-family: Source Code Pro, Menlo, Consolas, Monaco, monospace !default;
$code-font-family: Source Code Pro, Menlo, Consolas, Monaco, monospace, $global-font-family !default;

// Code type map
$code-type-map: (
Expand Down
4 changes: 2 additions & 2 deletions assets/js/theme.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/theme.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/svg/version.template.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f14301c

Please sign in to comment.