Merge branch 'master' into patch-5

This commit is contained in:
Matthew Taylor 2018-12-21 02:09:59 +00:00 committed by GitHub
commit 8af73c2745
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Hugo Learn Theme
This repository contains a theme for [Hugo](https://gohugo.io/), based on great [Grav Learn Theme](http://learn.getgrav.org/).
This repository contains a theme for [Hugo](https://gohugo.io/), based on great [Grav Learn Theme](https://learn.getgrav.org/).
Visit the [theme documentation](https://learn.netlify.com/en/) to see what is going on. It is actually built with this theme.

View file

@ -1,6 +1,6 @@
<div class="searchbox">
<label for="search-by"><i class="fas fa-search"></i></label>
<input data-search-input id="search-by" type="text" placeholder="{{T "Search-placeholder"}}">
<input data-search-input id="search-by" type="search" placeholder="{{T "Search-placeholder"}}">
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}

24
netlify.toml Normal file
View file

@ -0,0 +1,24 @@
[build]
publish = "exampleSite/public"
command = "hugo -s exampleSite"
[build.environment]
HUGO_THEME = "repo"
HUGO_THEMESDIR = "/opt/build"
HUGO_VERSION = "0.50"
[context.production.environment]
HUGO_BASEURL = "https://learn.netlify.com/"
[context.deploy-preview]
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_ENABLEGITINFO = "true"
[context.branch-deplpy]
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_ENABLEGITINFO = "true"

View file

@ -258,6 +258,9 @@ text.actor {
font-family: 'trebuchet ms', verdana, arial;
font-size: 14px;
}
.node.clickable {
cursor: pointer;
}
div.mermaidTooltip {
position: absolute;
text-align: center;
@ -271,3 +274,4 @@ div.mermaidTooltip {
pointer-events: none;
z-index: 100;
}

View file

@ -260,6 +260,9 @@ text.actor {
font-family: 'trebuchet ms', verdana, arial;
font-size: 14px;
}
.node.clickable {
cursor: pointer;
}
div.mermaidTooltip {
position: absolute;
text-align: center;

View file

@ -338,6 +338,9 @@ svg .classLabel .label {
font-family: 'trebuchet ms', verdana, arial;
font-size: 14px;
}
.node.clickable {
cursor: pointer;
}
div.mermaidTooltip {
position: absolute;
text-align: center;