mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +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>
|
||||
{{- partial "custom-header.html" . }}
|
||||
</head>
|
||||
<body class="" data-url="/">
|
||||
<body class="default-animation" data-url="/">
|
||||
<div id="body default-animation" style="margin-left:0px;">
|
||||
<div id="overlay"></div>
|
||||
<div id="chapter">
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
{{- partial "stylesheet.html" . }}
|
||||
{{- partial "custom-header.html" . }}
|
||||
</head>
|
||||
<body class="" data-url="{{ .RelPermalink }}">
|
||||
<body class="default-animation" data-url="{{ .RelPermalink }}">
|
||||
{{- partial "menu.html" . }}
|
||||
<div id="body" class="default-animation">
|
||||
<div id="overlay"></div>
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<nav id="sidebar" class="default-animation {{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}">
|
||||
{{- $currentNode := . }}
|
||||
{{- $showvisitedlinks := .Site.Params.showVisitedLinks }}
|
||||
<div id="header-wrapper">
|
||||
<div id="header">
|
||||
<div id="header-wrapper" class="default-animation">
|
||||
<div id="header" class="default-animation">
|
||||
{{ partial "logo.html" . }}
|
||||
</div>
|
||||
{{- if not .Site.Params.disableSearch }}
|
||||
|
@ -18,7 +18,7 @@
|
|||
{{- end }}
|
||||
</div>
|
||||
{{- if not .Site.Params.disableLandingPageButton }}
|
||||
<div id="homelinks">
|
||||
<div id="homelinks" class="default-animation">
|
||||
<ul>
|
||||
<li>
|
||||
<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>
|
||||
<input data-search-input id="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
|
||||
<span data-search-clear=""><i class="fas fa-times"></i></span>
|
||||
|
|
Loading…
Reference in a new issue