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 Binary files a/images/screenshot.png and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png index 743c5ba..864be72 100644 Binary files a/images/tn.png and b/images/tn.png 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 @@ {{- template "title" . }} | {{ .Site.Title -}} - - + + {{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} \ 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