aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-01 13:53:58 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-01 13:54:12 +0100
commitb88206b14f5e90b454dcf8d3ac2b0662edf78302 (patch)
treebdd28adce9cb06a49cd10c6d3c5452d0c4fcd6c4
parent9a18fd18f123f7f768b9c54be8e6f455da38ad23 (diff)
Use Oxygen font
-rw-r--r--assets/_variables.scss2
-rw-r--r--assets/book.scss3
-rw-r--r--exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content2
-rw-r--r--exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json2
-rw-r--r--images/screenshot.pngbin423857 -> 140383 bytes
-rw-r--r--images/tn.pngbin225487 -> 230945 bytes
-rw-r--r--layouts/partials/docs/html-head.html4
-rw-r--r--static/normalize.min.css2
8 files changed, 8 insertions, 7 deletions
diff --git a/assets/_variables.scss b/assets/_variables.scss
index 891a6e1..19482f1 100644
--- a/assets/_variables.scss
+++ b/assets/_variables.scss
@@ -26,7 +26,7 @@ $color-visited-link: #8440f1;
$body-background: white;
$body-font-color: $gray-800;
-$body-font-weight: 300;
+$body-font-weight: 400;
$body-min-width: 25rem;
$nav-background: $body-background; //$gray-100;
diff --git a/assets/book.scss b/assets/book.scss
index d139326..350fc52 100644
--- a/assets/book.scss
+++ b/assets/book.scss
@@ -15,7 +15,7 @@ html, body {
body {
color: $body-font-color;
background: $body-background;
- font-family: 'Roboto', sans-serif;
+ font-family: 'Oxygen', sans-serif;
font-weight: $body-font-weight;
box-sizing: border-box;
@@ -100,7 +100,6 @@ main {
.brand {
margin-top: 0;
- margin-bottom: $padding-16;
}
nav {
diff --git a/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content b/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content
index f6eb202..1b900e2 100644
--- a/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content
+++ b/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content
@@ -1 +1 @@
-.markdown{line-height:1.7}.markdown>:first-child{margin-top:0;line-height:1em}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5{font-weight:400;line-height:1.25}.markdown b,.markdown optgroup,.markdown strong{font-weight:400}.markdown a{text-decoration:none}.markdown a:hover{text-decoration:underline}.markdown code{font-family:roboto mono,monospace}.markdown p code{padding:0 .25rem;background:#f8f9fa;border-radius:.15rem}.markdown pre{padding:1rem;background:#f8f9fa;border-radius:.15rem;font-size:.875rem;overflow-x:auto}.markdown blockquote{border-left:2px solid #dee2e6;margin:0;padding:1px 1rem}.markdown blockquote :first-child{margin-top:0}.markdown blockquote :last-child{margin-bottom:0}.markdown table tr td{padding:.5rem}html{font-size:16px;letter-spacing:.3px}html,body{min-width:25rem;overflow:hidden auto}body{color:#343a40;background:#fff;font-family:roboto,sans-serif;font-weight:300;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5{font-weight:400}a{text-decoration:none;color:#4092f1}a:visited{color:#8440f1}img{vertical-align:middle}aside ul{margin:0;padding-left:1rem;list-style:none;line-height:1.5em}aside ul li{margin:.75em 0}aside ul li a{display:block}aside ul li a:hover{opacity:.5}aside ul li img{height:1rem}aside nav>ul{padding-left:0}aside.fixed nav{position:fixed;top:0;bottom:0;overflow:hidden auto}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;display:none}main{max-width:80rem;margin:0 auto;display:flex;flex-flow:row}main aside nav,main .content,main .markdown{transition:.2s ease-in-out;transition-property:transform,margin-left,opacity;will-change:transform,margin-left}main .menu{flex:0 0 18rem}main .menu .brand{margin-top:0;margin-bottom:1rem}main .menu nav{width:18rem;padding:1rem;font-size:.875rem}main .menu a{color:#343a40}main .menu a.active{color:#4092f1}main .menu .flat-section{margin-bottom:1rem}main .menu .flat-section>a{font-weight:700}main .menu .flat-section>ul{padding-left:0}main .content{flex:1 0;width:0;min-width:25rem;padding:1rem}main .toc{flex:0 0 14rem}main .toc nav{width:14rem;padding:1rem;font-size:.75rem}main .toc nav ul ul{padding-left:.5rem}@media screen and (max-width:61rem){.toc{display:none}}@media screen and (max-width:43rem){.menu{margin-left:-18rem}main header{display:flex}#menu-control:checked+main .menu nav,#menu-control:checked+main .content{transform:translateX(18rem)}#menu-control:checked+main header label img{transform:rotate(90deg)}#menu-control:checked+main .markdown{opacity:.25}}@media screen and (min-width:61rem){main .content{padding:2rem 1rem}main .menu nav,main .toc nav{padding:2rem}} \ No newline at end of file
+.markdown{line-height:1.7}.markdown>:first-child{margin-top:0;line-height:1em}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5{font-weight:400;line-height:1.25}.markdown b,.markdown optgroup,.markdown strong{font-weight:400}.markdown a{text-decoration:none}.markdown a:hover{text-decoration:underline}.markdown code{font-family:roboto mono,monospace}.markdown p code{padding:0 .25rem;background:#f8f9fa;border-radius:.15rem}.markdown pre{padding:1rem;background:#f8f9fa;border-radius:.15rem;font-size:.875rem;overflow-x:auto}.markdown blockquote{border-left:2px solid #dee2e6;margin:0;padding:1px 1rem}.markdown blockquote :first-child{margin-top:0}.markdown blockquote :last-child{margin-bottom:0}.markdown table tr td{padding:.5rem}html{font-size:16px;letter-spacing:.3px}html,body{min-width:25rem;overflow:hidden auto}body{color:#343a40;background:#fff;font-family:oxygen,sans-serif;font-weight:400;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5{font-weight:400}a{text-decoration:none;color:#4092f1}a:visited{color:#8440f1}img{vertical-align:middle}aside ul{margin:0;padding-left:1rem;list-style:none;line-height:1.5em}aside ul li{margin:.75em 0}aside ul li a{display:block}aside ul li a:hover{opacity:.5}aside ul li img{height:1rem}aside nav>ul{padding-left:0}aside.fixed nav{position:fixed;top:0;bottom:0;overflow:hidden auto}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;display:none}main{max-width:80rem;margin:0 auto;display:flex;flex-flow:row}main aside nav,main .content,main .markdown{transition:.2s ease-in-out;transition-property:transform,margin-left,opacity;will-change:transform,margin-left}main .menu{flex:0 0 18rem}main .menu .brand{margin-top:0}main .menu nav{width:18rem;padding:1rem;font-size:.875rem}main .menu a{color:#343a40}main .menu a.active{color:#4092f1}main .menu .flat-section{margin-bottom:1rem}main .menu .flat-section>a{font-weight:700}main .menu .flat-section>ul{padding-left:0}main .content{flex:1 0;width:0;min-width:25rem;padding:1rem}main .toc{flex:0 0 14rem}main .toc nav{width:14rem;padding:1rem;font-size:.75rem}main .toc nav ul ul{padding-left:.5rem}@media screen and (max-width:61rem){.toc{display:none}}@media screen and (max-width:43rem){.menu{margin-left:-18rem}main header{display:flex}#menu-control:checked+main .menu nav,#menu-control:checked+main .content{transform:translateX(18rem)}#menu-control:checked+main header label img{transform:rotate(90deg)}#menu-control:checked+main .markdown{opacity:.25}}@media screen and (min-width:61rem){main .content{padding:2rem 1rem}main .menu nav,main .toc nav{padding:2rem}} \ No newline at end of file
diff --git a/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json b/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json
index 700e0dd..2c152a4 100644
--- a/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json
+++ b/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json
@@ -1 +1 @@
-{"Target":"book.min.c1cd7238bedd6ca90b5207803b28997707288a01e21bf736fc1b89aaaef87868.css","MediaType":"text/css","Data":{"Integrity":"sha256-wc1yOL7dbKkLUgeAOyiZdwcoigHiG/c2/BuJqq74eGg="}} \ No newline at end of file
+{"Target":"book.min.c8c8e50ed288f167b51b63d6da0960cfaa3aa1b351c38bea4fd536d969bc1aec.css","MediaType":"text/css","Data":{"Integrity":"sha256-yMjlDtKI8We1G2PW2glgz6o6obNRw4vqT9U22Wm8Guw="}} \ No newline at end of file
diff --git a/images/screenshot.png b/images/screenshot.png
index 5ffdaf4..4852df1 100644
--- a/images/screenshot.png
+++ b/images/screenshot.png
Binary files differ
diff --git a/images/tn.png b/images/tn.png
index 743c5ba..864be72 100644
--- a/images/tn.png
+++ b/images/tn.png
Binary files differ
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index e127495..5e7b90f 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -2,8 +2,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{- template "title" . }} | {{ .Site.Title -}}</title>
-<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:300,400,700" rel="stylesheet">
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css">
+<link href="https://fonts.googleapis.com/css?family=Oxygen+Mono|Oxygen:300,400,700" rel="stylesheet">
+<link rel="stylesheet" href="/normalize.min.css">
{{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}"> \ No newline at end of file
diff --git a/static/normalize.min.css b/static/normalize.min.css
new file mode 100644
index 0000000..b23ab3d
--- /dev/null
+++ b/static/normalize.min.css
@@ -0,0 +1,2 @@
+/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
+/*# sourceMappingURL=normalize.min.css.map */ \ No newline at end of file