Skip to content
Permalink
Browse files

Slow down the loading animation a bit

  • Loading branch information...
iBug committed Nov 5, 2019
1 parent 2b2195e commit 4045f482d0c6c945e7a749ba44efd5c06c73b8ec
Showing with 14 additions and 57 deletions.
  1. +8 −51 _config.yml
  2. +6 −6 _sass/loading-animation.scss
@@ -46,46 +46,11 @@ algolia:
search_only_api_key : "a0d8cb9da2d6ad0d17dcd40c58c72a56"
powered_by : true # true (default), false
settings:
searchableAttributes:
- title
- hierarchy.lvl0
- hierarchy.lvl1
- hierarchy.lvl2
- hierarchy.lvl3
- hierarchy.lvl4
- hierarchy.lvl5
- unordered(content)
- collection,categories,tags
customRanking:
- desc(date)
- desc(weight.heading)
- asc(weight.position)
attributesToHighlight:
- title
- hierarchy.lvl0
- hierarchy.lvl1
- hierarchy.lvl2
- hierarchy.lvl3
- hierarchy.lvl4
- hierarchy.lvl5
- content
- html
- collection
- categories
- tags
attributesForFaceting:
- searchable(tags)
- searchable(type)
- searchable(title)
files_to_exclude:
- 404.md
- index.md
- index.html
- old-index.md
- README.md
- REMOTE_README.md
- status.html
- _posts/2009-11-13-regex-match-open-tags-except-xhtml-self-contained-tags.md
searchableAttributes: ["title", "hierarchy.lvl0", "hierarchy.lvl1", "hierarchy.lvl2", "hierarchy.lvl3", "hierarchy.lvl4", "hierarchy.lvl5", "unordered(content)", "collection,categories,tags"]
customRanking: ["desc(date)", "desc(weight.heading)", "asc(weight.position)"]
attributesToHighlight: ["title", "hierarchy.lvl0", "hierarchy.lvl1", "hierarchy.lvl2", "hierarchy.lvl3", "hierarchy.lvl4", "hierarchy.lvl5", "content", "html", "collection", "categories", "tags"]
attributesForFaceting: ["searchable(tags)", "searchable(type)", "searchable(title)"]
files_to_exclude: ["404.md", "index.md", "index.html", "old-index.md", "README.md", "REMOTE_README.md", "status.html", "_posts/2009-11-13-regex-match-open-tags-except-xhtml-self-contained-tags.md"]
# SEO Related
google_site_verification : "5_jn7a-vZslUtLJO-BkY-cPDGgah5JP49RGgeOBmYSk"
bing_site_verification :
@@ -175,9 +140,7 @@ footer:


# Reading Files
include:
- .htaccess
- _pages
include: ["_pages"]
exclude:
- "*.sublime-project"
- "*.sublime-workspace"
@@ -211,21 +174,15 @@ exclude:
- REMOTE_README.md
# tmp
- /script
keep_files:
- .git
- .circleci
- .nojekyll
- README.md
- CNAME
- image
keep_files: [".git", ".circleci", ".nojekyll", "README.md", "CNAME", "image"]
encoding: "utf-8"
markdown_ext: "markdown,mkdown,mkdn,mkd,md"


# Conversion
markdown: kramdown
highlighter: rouge
lsi: false
lsi: false # *Very* slow
excerpt_separator: "\n\n"
incremental: false

@@ -1,26 +1,26 @@
body.landing {
& {
h1.page__title {
transition: opacity 0.3s ease-in-out 0.5s, transform 0.3s ease-in-out 0.5s;
transition: opacity 0.5s ease-in-out 0.7s, transform 0.5s ease-in-out 0.7s;
opacity: 0;
transform: translateY(1rem);
}

img.avatar {
transition: opacity 0.5s ease-in-out 0.2s;
transition: opacity 0.7s ease-in-out 0.2s;
opacity: 0;
}

p.page__lead {
transition: opacity 0.3s ease-in-out 0.8s, transform 0.3s ease-in-out 0.8s;
transition: opacity 0.5s ease-in-out 1.2s, transform 0.5s ease-in-out 1.2s;
opacity: 0;
transform: translateY(1rem);
}

div.page__hero--overlay a.btn {
transition: opacity 0.3s ease-in-out 1.1s,
transform 0.3s ease-in-out 1.1s,
background-color 0.2s ease-in-out;
transition: opacity 0.5s ease-in-out 1.7s,
transform 0.5s ease-in-out 1.7s,
background-color 0.2s ease-in-out 0s;
opacity: 0;
transform: translateY(1rem);
}

0 comments on commit 4045f48

Please sign in to comment.
You can’t perform that action at this time.