mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
theme: animate large areas on theme switch #178
This commit is contained in:
parent
44b138a6b7
commit
f5455500fa
4 changed files with 6 additions and 6 deletions
|
@ -22,7 +22,7 @@
|
||||||
</style>
|
</style>
|
||||||
{{- partial "custom-header.html" . }}
|
{{- partial "custom-header.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body class="" data-url="/">
|
<body class="default-animation" data-url="/">
|
||||||
<div id="body default-animation" style="margin-left:0px;">
|
<div id="body default-animation" style="margin-left:0px;">
|
||||||
<div id="overlay"></div>
|
<div id="overlay"></div>
|
||||||
<div id="chapter">
|
<div id="chapter">
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
{{- partial "stylesheet.html" . }}
|
{{- partial "stylesheet.html" . }}
|
||||||
{{- partial "custom-header.html" . }}
|
{{- partial "custom-header.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body class="" data-url="{{ .RelPermalink }}">
|
<body class="default-animation" data-url="{{ .RelPermalink }}">
|
||||||
{{- partial "menu.html" . }}
|
{{- partial "menu.html" . }}
|
||||||
<div id="body" class="default-animation">
|
<div id="body" class="default-animation">
|
||||||
<div id="overlay"></div>
|
<div id="overlay"></div>
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
<nav id="sidebar" class="default-animation {{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}">
|
<nav id="sidebar" class="default-animation {{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}">
|
||||||
{{- $currentNode := . }}
|
{{- $currentNode := . }}
|
||||||
{{- $showvisitedlinks := .Site.Params.showVisitedLinks }}
|
{{- $showvisitedlinks := .Site.Params.showVisitedLinks }}
|
||||||
<div id="header-wrapper">
|
<div id="header-wrapper" class="default-animation">
|
||||||
<div id="header">
|
<div id="header" class="default-animation">
|
||||||
{{ partial "logo.html" . }}
|
{{ partial "logo.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{- if not .Site.Params.disableSearch }}
|
{{- if not .Site.Params.disableSearch }}
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
{{- if not .Site.Params.disableLandingPageButton }}
|
{{- if not .Site.Params.disableLandingPageButton }}
|
||||||
<div id="homelinks">
|
<div id="homelinks" class="default-animation">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a class="padding" href="{{ .Site.Params.landingPageURL | default "/" | relLangURL }}">{{ .Site.Params.landingPageName | default `<i class="fas fa-home"></i> Home` | safeHTML }}</a>
|
<a class="padding" href="{{ .Site.Params.landingPageURL | default "/" | relLangURL }}">{{ .Site.Params.landingPageName | default `<i class="fas fa-home"></i> Home` | safeHTML }}</a>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="searchbox">
|
<div class="searchbox default-animation">
|
||||||
<label for="search-by"><i class="fas fa-search"></i></label>
|
<label for="search-by"><i class="fas fa-search"></i></label>
|
||||||
<input data-search-input id="search-by" type="search" 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>
|
<span data-search-clear=""><i class="fas fa-times"></i></span>
|
||||||
|
|
Loading…
Reference in a new issue