jekyll-theme-amethyst 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/workflows/doc-search.yaml +25 -0
- data/.github/workflows/gem.yaml +25 -0
- data/.github/workflows/github-pages.yaml +47 -0
- data/.github/workflows/spider-check.yaml +52 -0
- data/.gitignore +4 -0
- data/404.md +9 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/_config.yml +91 -0
- data/_data/sidebar_api.yml +13 -0
- data/_data/sidebar_blog.yml +11 -0
- data/_data/sitenav.yml +11 -0
- data/_includes/opengraph.html +49 -0
- data/_includes/search-js.html +113 -0
- data/_includes/search.html +14 -0
- data/_includes/sidebar.html +89 -0
- data/_includes/version.html +28 -0
- data/_layouts/group.html +14 -0
- data/_layouts/home.html +25 -0
- data/_layouts/page-api.html +32 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +37 -0
- data/_layouts/posts-archive.html +17 -0
- data/_layouts/posts-author.html +21 -0
- data/_layouts/posts-tag.html +24 -0
- data/_layouts/posts-year.html +24 -0
- data/_layouts/posts.html +28 -0
- data/_layouts/wrapper.html +132 -0
- data/_posts/2006-01-26-announcing-the-blog.md +13 -0
- data/_posts/2006-10-18-foo-110.md +13 -0
- data/_posts/2007-10-18-foo-112.md +13 -0
- data/_posts/2008-10-18-foo-126.md +13 -0
- data/_posts/2009-10-18-foo-132.md +13 -0
- data/_posts/2010-10-18-foo-143.md +13 -0
- data/_posts/2011-10-18-foo-171.md +13 -0
- data/_posts/2012-10-18-foo-183.md +13 -0
- data/_posts/2013-10-18-foo-191.md +13 -0
- data/_posts/2014-10-18-foo-211.md +13 -0
- data/_posts/2015-10-18-foo-300.md +13 -0
- data/_posts/2017-10-18-foo-321.md +13 -0
- data/_posts/2018-10-18-foo-331.md +13 -0
- data/_posts/2019-10-18-foo-341.md +13 -0
- data/_posts/2020-04-01-foo-350.md +13 -0
- data/_posts/2020-10-18-foo-351.md +13 -0
- data/_posts/2021-04-01-hello-world.md +51 -0
- data/_sass/amethyst-variables.scss +22 -0
- data/_sass/amethyst.scss +906 -0
- data/_sass/custom.scss +2 -0
- data/_sass/highlight.scss +131 -0
- data/about.md +28 -0
- data/amethyst.gemspec +23 -0
- data/api/deprecated.md +5 -0
- data/api/foo/baz.md +49 -0
- data/api/foo/index.md +5 -0
- data/api/foo/quux.md +9 -0
- data/api/index.md +8 -0
- data/api/lorem/dolor.md +14 -0
- data/api/lorem/index.md +5 -0
- data/api/lorem/sit.md +15 -0
- data/api/removed.md +5 -0
- data/assets/logo-algolia.svg +1 -0
- data/assets/styles.scss +7 -0
- data/blog-archive.md +4 -0
- data/blog.md +4 -0
- data/docs/config.md +122 -0
- data/docs/getting-started.md +77 -0
- data/favicon.svg +3 -0
- data/guides.md +11 -0
- data/index.md +51 -0
- data/intro.md +41 -0
- data/lib/jekyll-theme-amethyst.rb +39 -0
- data/tag/event.md +5 -0
- data/tag/release.md +5 -0
- metadata +222 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Announcing the blog!
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- event
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Nulla ut neque quis ante tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 1.1.0
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 1.2.1
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 1.2.6
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 1.3.2
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 1.4.3
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 1.7.1
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 1.8.3
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 1.9.1
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 2.1.1
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 3.0.0
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 3.2.1 Released
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
No demo posts in 2016. Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 3.3.1
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 3.4.1
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 3.5.0
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Foo 3.5.1
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- release
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Tristique vehicula ut sit amet sem.
|
|
10
|
+
|
|
11
|
+
## Integer et tempus
|
|
12
|
+
|
|
13
|
+
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: post
|
|
3
|
+
title: Hello, World!
|
|
4
|
+
author: Alice Fitzgerald
|
|
5
|
+
tags:
|
|
6
|
+
- event
|
|
7
|
+
amethyst:
|
|
8
|
+
comments:
|
|
9
|
+
- author: Jay
|
|
10
|
+
date: 2021-03-03
|
|
11
|
+
content: |
|
|
12
|
+
Good stuff. I need to do a whole lot of reading on this!
|
|
13
|
+
- author: David
|
|
14
|
+
date: 2021-03-03
|
|
15
|
+
gravatar: a4b69ef5ee0bd367f53c6e64a4c3d4b6
|
|
16
|
+
content: |
|
|
17
|
+
Great, thanks for the release, upgraded without any issues, which is one of the many advantages of jQuery.
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
Lorem ipsum [dolor sit amet](https://en.wikipedia.org/wiki/Lorem_ipsum), consectetur adipiscing elit.
|
|
21
|
+
|
|
22
|
+
### Duis fringilla
|
|
23
|
+
|
|
24
|
+
Aliquam efficitur _arcu a nisl_ egestas molestie. Nulla ut neque quis ante tristique vehicula ut sit amet sem. Aliquam turpis enim, elementum volutpat auctor in, scelerisque sed quam. Morbi vulputate mattis vehicula. Etiam volutpat fringilla arcu, in vehicula lorem facilisis sed. In gravida enim arcu. Mauris **elit** purus, congue id dignissim a, vestibulum auctor neque.
|
|
25
|
+
|
|
26
|
+
## Cras maximus
|
|
27
|
+
|
|
28
|
+
Mi ac semper maximus. Ut eget libero accumsan, vestibulum nibh at, rhoncus erat. Donec nibh lorem, elementum `lacini()`, laoreet eget risus.
|
|
29
|
+
|
|
30
|
+
```js
|
|
31
|
+
elem1.on( "maximus", function() {
|
|
32
|
+
elem2.lacini();
|
|
33
|
+
} );
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Donec ut
|
|
37
|
+
|
|
38
|
+
* In a augue accumsan, dictum libero at, fringilla erat.
|
|
39
|
+
* Quisque ante massa, rutrum et scelerisque eu, varius sed orci.
|
|
40
|
+
* Fusce eget erat lacinia, fringilla tellus et.
|
|
41
|
+
* Sed a massa leo.
|
|
42
|
+
|
|
43
|
+
### Cras venenatis
|
|
44
|
+
|
|
45
|
+
* Sed vel erat sapien. ([QUnit](https://qunitjs.com/))
|
|
46
|
+
* Phasellus et convallis quam. ([ESLint](https://eslint.org/))
|
|
47
|
+
* Pellentesque sed nulla ipsum, posuere nisi. ([jQuery](https://jquery.com/))
|
|
48
|
+
|
|
49
|
+
### Nunc tristique
|
|
50
|
+
|
|
51
|
+
Integer et tempus lectus. Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Amethyst theme variables
|
|
2
|
+
|
|
3
|
+
// Primary color
|
|
4
|
+
//
|
|
5
|
+
// Usage: link text color, primary button background.
|
|
6
|
+
$color-vibrant: hsl(280, 70%, 40%);
|
|
7
|
+
|
|
8
|
+
// Dark shade
|
|
9
|
+
//
|
|
10
|
+
// Generally same hue as $color-vibrant,
|
|
11
|
+
// and within the following range: `hsl(???, 58-90%, 14-16%)`
|
|
12
|
+
//
|
|
13
|
+
// Usage: navigation background, heading text color
|
|
14
|
+
$color-accent: hsl(280, 58%, 14%);
|
|
15
|
+
|
|
16
|
+
// Bright color
|
|
17
|
+
//
|
|
18
|
+
// Very close to white, generally within 20 hue points of $color-vibrant,
|
|
19
|
+
// and within the following range: `hsl(???, 80-84%, 72-92%)`
|
|
20
|
+
//
|
|
21
|
+
// Usage: navigation link color, search result highlight background
|
|
22
|
+
$color-bright: hsl(260, 84%, 92%);
|
data/_sass/amethyst.scss
ADDED
|
@@ -0,0 +1,906 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
// Amethyst theme for Jekyll
|
|
4
|
+
|
|
5
|
+
$size-sm: 0.8rem;
|
|
6
|
+
$size-1: 1rem;
|
|
7
|
+
$size-2: 1.333rem;
|
|
8
|
+
$size-3: 1.777rem;
|
|
9
|
+
$size-4: 2.369rem;
|
|
10
|
+
$size-5: 3.157rem;
|
|
11
|
+
$size-spacing: $size-2;
|
|
12
|
+
$box-spacing: $size-1;
|
|
13
|
+
|
|
14
|
+
$color-white: #fff;
|
|
15
|
+
$color-light: #f4f4f4;
|
|
16
|
+
$color-off-white: #cdcdcd;
|
|
17
|
+
$color-darkgrey: #63676d; // based on 2015 api.jquery.com design
|
|
18
|
+
$color-black: #333;
|
|
19
|
+
|
|
20
|
+
$screen-s: 480px;
|
|
21
|
+
$screen-m: 768px;
|
|
22
|
+
$screen-l: 992px;
|
|
23
|
+
$screen-xl: 1200px;
|
|
24
|
+
|
|
25
|
+
* {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
html {
|
|
30
|
+
// This is the background for the footer.
|
|
31
|
+
// Set here in order to fill any empty space after the footer, on short pages.
|
|
32
|
+
background: $color-light;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body {
|
|
36
|
+
background: $color-white;
|
|
37
|
+
color: $color-black;
|
|
38
|
+
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
|
39
|
+
line-height: 1.5;
|
|
40
|
+
margin: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
h1, h2, h3, h4, h5, h6 {
|
|
44
|
+
color: $color-black;
|
|
45
|
+
font-weight: bold;
|
|
46
|
+
margin: 0;
|
|
47
|
+
margin-bottom: $size-spacing;
|
|
48
|
+
}
|
|
49
|
+
h1 { font-size: $size-4; color: $color-accent; }
|
|
50
|
+
h2 { font-size: $size-3; }
|
|
51
|
+
h3 { font-size: $size-2; color: $color-darkgrey; }
|
|
52
|
+
h4 { font-size: $size-1; color: $color-darkgrey; }
|
|
53
|
+
h5 { font-size: $size-1; color: $color-darkgrey; }
|
|
54
|
+
h6 { font-size: $size-1; color: $color-darkgrey; }
|
|
55
|
+
|
|
56
|
+
p {
|
|
57
|
+
margin: 0;
|
|
58
|
+
margin-bottom: $size-spacing;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
a {
|
|
62
|
+
color: $color-vibrant;
|
|
63
|
+
text-decoration: none;
|
|
64
|
+
|
|
65
|
+
&:active,
|
|
66
|
+
&:hover,
|
|
67
|
+
&:focus {
|
|
68
|
+
text-decoration: underline;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.content a:not(.button) {
|
|
72
|
+
border-bottom: 0.1em solid currentColor;
|
|
73
|
+
|
|
74
|
+
&:active,
|
|
75
|
+
&:hover,
|
|
76
|
+
&:focus {
|
|
77
|
+
text-decoration: none;
|
|
78
|
+
|
|
79
|
+
box-shadow: 0px 0px 0px 4px $color-bright;
|
|
80
|
+
background-color: $color-bright;
|
|
81
|
+
color: $color-accent;
|
|
82
|
+
border-bottom-color: $color-vibrant;
|
|
83
|
+
border-bottom-width: 0.13em;
|
|
84
|
+
|
|
85
|
+
code {
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
pre, code {
|
|
92
|
+
// Menlo – macOS 10.6+. Preferred instead of Monaco which doesn't do bolding very well.
|
|
93
|
+
// Consolas – Windows Vista & newer
|
|
94
|
+
// DejaVu Sans Mono – Ubuntu, Fedora
|
|
95
|
+
font-family: Menlo, Consolas, DejaVu Sans Mono, monospace;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
code {
|
|
99
|
+
font-size: 90%;
|
|
100
|
+
background: $color-light;
|
|
101
|
+
padding: 0.2em 0.4em;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
pre.highlight {
|
|
105
|
+
border: 1px solid #ddd;
|
|
106
|
+
border-left: 4px solid $color-vibrant;
|
|
107
|
+
border-radius: 4px;
|
|
108
|
+
margin: 0 0 $size-spacing 0;
|
|
109
|
+
padding: 0.5rem 1rem;
|
|
110
|
+
font-size: 95%;
|
|
111
|
+
line-height: 140%;
|
|
112
|
+
overflow-x: auto;
|
|
113
|
+
}
|
|
114
|
+
.highlight code {
|
|
115
|
+
padding: 0;
|
|
116
|
+
background: transparent;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
hr {
|
|
120
|
+
margin: $size-5 0;
|
|
121
|
+
border: none;
|
|
122
|
+
border-top: 1px solid #ddd;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
iframe {
|
|
126
|
+
width: 100%;
|
|
127
|
+
border: 1px solid #ddd;
|
|
128
|
+
border-radius: 3px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.wrapper {
|
|
132
|
+
max-width: 65rem;
|
|
133
|
+
margin: 0 auto;
|
|
134
|
+
padding: 0 $size-spacing;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.main {
|
|
138
|
+
padding: $size-spacing;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// Allow layouts to have a sidebar
|
|
142
|
+
.sidebar {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
|
+
@media (min-width: $screen-m) {
|
|
146
|
+
.main--columns {
|
|
147
|
+
display: flex;
|
|
148
|
+
}
|
|
149
|
+
.content {
|
|
150
|
+
// Take up available space even if the lines of text are short.
|
|
151
|
+
// This affects where right-floated boxes go, such as on page-api.
|
|
152
|
+
width: 100%;
|
|
153
|
+
// Fix a quirk with scrollable overflow in content children,
|
|
154
|
+
// such as <table> or <pre>.
|
|
155
|
+
// Because content is a flex child, without 'min-width: 0',
|
|
156
|
+
// we have 'min-width: auto', which causes the viewport to
|
|
157
|
+
// get a needless vertical scrollbar.
|
|
158
|
+
// Test plan: Page with page-api layout and some <pre> code
|
|
159
|
+
// that is wider than your window.
|
|
160
|
+
min-width: 0;
|
|
161
|
+
}
|
|
162
|
+
.sidebar {
|
|
163
|
+
display: block;
|
|
164
|
+
flex: 0 0 220px;
|
|
165
|
+
margin-right: 20px;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.lead {
|
|
170
|
+
font-size: $size-2;
|
|
171
|
+
}
|
|
172
|
+
.lead--center {
|
|
173
|
+
text-align: center;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.note {
|
|
177
|
+
// Clear float to avoid clash with `.version-details` box
|
|
178
|
+
clear: both;
|
|
179
|
+
padding: 0.5em $box-spacing;
|
|
180
|
+
margin: $box-spacing;
|
|
181
|
+
|
|
182
|
+
background: #fff;
|
|
183
|
+
border: 1px solid #5293e6;
|
|
184
|
+
border-left-width: 4px;
|
|
185
|
+
border-radius: 4px;
|
|
186
|
+
}
|
|
187
|
+
.note--warning {
|
|
188
|
+
background: #fdf5c5;
|
|
189
|
+
border-color: #e6d252;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.button {
|
|
193
|
+
background: #fff;
|
|
194
|
+
border: 1px solid #fff;
|
|
195
|
+
border-radius: 4px;
|
|
196
|
+
color: $color-vibrant;
|
|
197
|
+
display: inline-block;
|
|
198
|
+
margin: 0.5rem;
|
|
199
|
+
padding: 0.5rem 1rem;
|
|
200
|
+
text-decoration: none;
|
|
201
|
+
transition: box-shadow 0.3s;
|
|
202
|
+
|
|
203
|
+
&.secondary {
|
|
204
|
+
background: transparent;
|
|
205
|
+
color: white;
|
|
206
|
+
font-weight: 100;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&:hover {
|
|
210
|
+
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.grid {
|
|
215
|
+
display: grid;
|
|
216
|
+
grid-gap: $size-4;
|
|
217
|
+
grid-template-columns: 1fr;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@media (min-width: $screen-m) {
|
|
221
|
+
.grid--small {
|
|
222
|
+
// upto three tiles per row
|
|
223
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
224
|
+
}
|
|
225
|
+
.grid--small > :last-child:nth-child(3n+4) {
|
|
226
|
+
// if last item is lonely, center it
|
|
227
|
+
grid-column: 2 / span 2;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.grid--split {
|
|
231
|
+
// upto two large columns
|
|
232
|
+
grid-template-columns: 1fr 1fr;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/* Content table */
|
|
237
|
+
|
|
238
|
+
table {
|
|
239
|
+
// Reset
|
|
240
|
+
border-collapse: collapse;
|
|
241
|
+
border-spacing: 0;
|
|
242
|
+
|
|
243
|
+
background: $color-white;
|
|
244
|
+
margin-bottom: $size-spacing;
|
|
245
|
+
|
|
246
|
+
@media (max-width: $screen-m) {
|
|
247
|
+
display: block;
|
|
248
|
+
overflow: auto;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
th,
|
|
252
|
+
td {
|
|
253
|
+
border: 1px solid $color-off-white;
|
|
254
|
+
text-align: left;
|
|
255
|
+
padding: 0.3em 0.4em;
|
|
256
|
+
}
|
|
257
|
+
th {
|
|
258
|
+
background: $color-light;
|
|
259
|
+
font-weight: bold;
|
|
260
|
+
}
|
|
261
|
+
// Collapse margin from paragraph (or other block) with the cell padding
|
|
262
|
+
th :first-child,
|
|
263
|
+
td :first-child {
|
|
264
|
+
margin-top: 0;
|
|
265
|
+
}
|
|
266
|
+
th :last-child,
|
|
267
|
+
td :last-child {
|
|
268
|
+
margin-bottom: 0;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.screen-reader-text {
|
|
273
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
274
|
+
position: absolute !important;
|
|
275
|
+
width: 1px;
|
|
276
|
+
height: 1px;
|
|
277
|
+
overflow: hidden;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* Site header */
|
|
281
|
+
|
|
282
|
+
.site-header {
|
|
283
|
+
background: $color-accent;
|
|
284
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
|
285
|
+
// Ensure shadow overlaps hero (next sibling)
|
|
286
|
+
position: relative;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.site-header-wrapper {
|
|
290
|
+
display: flex;
|
|
291
|
+
justify-content: space-between;
|
|
292
|
+
position: relative;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.site-logo {
|
|
296
|
+
color: $color-white;
|
|
297
|
+
display: flex;
|
|
298
|
+
align-items: center;
|
|
299
|
+
font-size: $size-2;
|
|
300
|
+
font-weight: bold;
|
|
301
|
+
padding: $size-1 0;
|
|
302
|
+
text-decoration: none;
|
|
303
|
+
transition: color 0.3s;
|
|
304
|
+
|
|
305
|
+
img {
|
|
306
|
+
width: auto;
|
|
307
|
+
height: $size-4;
|
|
308
|
+
margin-right: $size-spacing / 2;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.site-logo:hover {
|
|
313
|
+
color: $color-white;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* Site navigation */
|
|
317
|
+
|
|
318
|
+
.site-nav {
|
|
319
|
+
display: none;
|
|
320
|
+
position: absolute;
|
|
321
|
+
top: 100%;
|
|
322
|
+
left: 0;
|
|
323
|
+
right: 0;
|
|
324
|
+
background: $color-white;
|
|
325
|
+
border-top: 1px solid $color-off-white;
|
|
326
|
+
z-index: 1;
|
|
327
|
+
|
|
328
|
+
&.opened {
|
|
329
|
+
display: block;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
@media (min-width: $screen-m) {
|
|
333
|
+
display: block;
|
|
334
|
+
position: relative;
|
|
335
|
+
align-self: center;
|
|
336
|
+
background: transparent;
|
|
337
|
+
border-top: 0;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.site-nav-list {
|
|
342
|
+
list-style: none;
|
|
343
|
+
margin: 0;
|
|
344
|
+
padding: 0;
|
|
345
|
+
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
|
346
|
+
|
|
347
|
+
@media (min-width: $screen-m) {
|
|
348
|
+
box-shadow: none;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.site-nav-item {
|
|
353
|
+
display: block;
|
|
354
|
+
height: 100%;
|
|
355
|
+
border-bottom: 1px solid $color-off-white;
|
|
356
|
+
|
|
357
|
+
@media (min-width: $screen-m) {
|
|
358
|
+
display: inline-block;
|
|
359
|
+
border-bottom: 0;
|
|
360
|
+
position: relative;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.site-nav-link {
|
|
365
|
+
align-items: center;
|
|
366
|
+
display: flex;
|
|
367
|
+
height: 100%;
|
|
368
|
+
padding: $size-1;
|
|
369
|
+
text-decoration: none;
|
|
370
|
+
|
|
371
|
+
@media (min-width: $screen-m) {
|
|
372
|
+
color: $color-bright;
|
|
373
|
+
|
|
374
|
+
&:active,
|
|
375
|
+
&:hover,
|
|
376
|
+
&:focus {
|
|
377
|
+
color: $color-white;
|
|
378
|
+
text-decoration: none;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.site-nav-link.has-sub-list::after {
|
|
384
|
+
content: '▼';
|
|
385
|
+
font-size: 0.75rem;
|
|
386
|
+
margin-left: 0.5rem;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.site-nav-sub-list {
|
|
390
|
+
display: none;
|
|
391
|
+
padding: 0;
|
|
392
|
+
margin: 0;
|
|
393
|
+
list-style: none;
|
|
394
|
+
background: $color-white;
|
|
395
|
+
border-radius: 3px;
|
|
396
|
+
|
|
397
|
+
@media (min-width: $screen-m) {
|
|
398
|
+
position: absolute;
|
|
399
|
+
// Align right so that when a submenu item is wider
|
|
400
|
+
// than its main parent, it can overflow to the left
|
|
401
|
+
// instead of causing horizontal page overflow.
|
|
402
|
+
left: auto;
|
|
403
|
+
right: 0;
|
|
404
|
+
// Avoid line breaks, if possible
|
|
405
|
+
// (This is like 'white-space: nowrap' but with fallback
|
|
406
|
+
// to wrap if the screen is not wide enough)
|
|
407
|
+
width: max-content;
|
|
408
|
+
max-width: 90vw;
|
|
409
|
+
|
|
410
|
+
padding: 0.5rem 1rem;
|
|
411
|
+
margin-top: 6px;
|
|
412
|
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.site-nav-item.is-open .site-nav-sub-list {
|
|
417
|
+
display: block;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.site-sub-nav-link {
|
|
421
|
+
display: block;
|
|
422
|
+
padding: 0.5rem 2rem;
|
|
423
|
+
text-decoration: none;
|
|
424
|
+
|
|
425
|
+
@media (min-width: $screen-m) {
|
|
426
|
+
padding: 0.5rem;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/* Search */
|
|
431
|
+
|
|
432
|
+
.site-search {
|
|
433
|
+
display: none;
|
|
434
|
+
position: absolute;
|
|
435
|
+
top: 100%;
|
|
436
|
+
left: 0;
|
|
437
|
+
width: 100vw;
|
|
438
|
+
height: 100%;
|
|
439
|
+
z-index: 1;
|
|
440
|
+
border-top: 1px solid $color-off-white;
|
|
441
|
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
|
|
442
|
+
|
|
443
|
+
&.opened {
|
|
444
|
+
display: block;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
@media (min-width: $screen-m) {
|
|
448
|
+
display: block;
|
|
449
|
+
align-self: center;
|
|
450
|
+
position: relative;
|
|
451
|
+
flex: 1;
|
|
452
|
+
max-width: 20rem;
|
|
453
|
+
margin: 0 $size-spacing;
|
|
454
|
+
border: none;
|
|
455
|
+
box-shadow: none;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.algolia-autocomplete {
|
|
460
|
+
width: 100%;
|
|
461
|
+
height: 100%;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.aa-input-search {
|
|
465
|
+
width: 100%;
|
|
466
|
+
height: 100%;
|
|
467
|
+
padding: 12px 28px 12px 12px;
|
|
468
|
+
border: none;
|
|
469
|
+
-webkit-appearance: none;
|
|
470
|
+
-moz-appearance: none;
|
|
471
|
+
appearance: none;
|
|
472
|
+
font-size: $size-1;
|
|
473
|
+
|
|
474
|
+
&::-webkit-search-decoration,
|
|
475
|
+
&::-webkit-search-cancel-button,
|
|
476
|
+
&::-webkit-search-results-button,
|
|
477
|
+
&::-webkit-search-results-decoration {
|
|
478
|
+
display: none;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
@media (min-width: $screen-m) {
|
|
482
|
+
border-radius: 3px;
|
|
483
|
+
&:not(:focus) {
|
|
484
|
+
background: lighten($color-accent, 12%);
|
|
485
|
+
color: $color-white;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
// On wide viewports, when the search field is not focussed,
|
|
491
|
+
// the search field has a dark background. Override the default
|
|
492
|
+
// user agent styles for placeholders (which are often mid-grey,
|
|
493
|
+
// and thus blend into the background too much) to use a bright
|
|
494
|
+
// color instead.
|
|
495
|
+
//
|
|
496
|
+
// When focussed, or when toggling on narrow viewports, the search
|
|
497
|
+
// field has a bright background, so don't apply this there!
|
|
498
|
+
@media (min-width: $screen-m) {
|
|
499
|
+
.site-search:not(:focus-within) .aa-input-search::placeholder {
|
|
500
|
+
color: $color-bright;
|
|
501
|
+
opacity: 0.6;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
// Only displayed when the optional JS code was supported in the current browser
|
|
506
|
+
// and run to completion. Also, don't show on narrow viewports (e.g. mobile)
|
|
507
|
+
// where keyboard shortcuts are typically not used.
|
|
508
|
+
// Avoid using device type or pointer support, because one can have a large
|
|
509
|
+
// "mobile"-like device with external keyboard.
|
|
510
|
+
.site-search--bound:not(:focus-within):after {
|
|
511
|
+
@media (min-width: $screen-m) {
|
|
512
|
+
content: '/';
|
|
513
|
+
display: inline-block;
|
|
514
|
+
|
|
515
|
+
font-size: 60%;
|
|
516
|
+
line-height: 2.5;
|
|
517
|
+
text-align: center;
|
|
518
|
+
width: 2.5em;
|
|
519
|
+
height: 2.5em;
|
|
520
|
+
position: absolute;
|
|
521
|
+
top: 50%;
|
|
522
|
+
right: 48px;
|
|
523
|
+
transform: translateY(-50%);
|
|
524
|
+
|
|
525
|
+
border-radius: 3px;
|
|
526
|
+
border: 1px solid $color-bright;
|
|
527
|
+
color: $color-bright;
|
|
528
|
+
opacity: 0.6;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.aa-input-icon {
|
|
533
|
+
width: 16px;
|
|
534
|
+
height: 16px;
|
|
535
|
+
position: absolute;
|
|
536
|
+
top: 50%;
|
|
537
|
+
right: 16px;
|
|
538
|
+
transform: translateY(-50%);
|
|
539
|
+
fill: $color-accent;
|
|
540
|
+
|
|
541
|
+
@media (min-width: $screen-m) {
|
|
542
|
+
.site-search:not(:focus-within) & {
|
|
543
|
+
fill: $color-bright;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.aa-dropdown-menu {
|
|
549
|
+
background: $color-white;
|
|
550
|
+
border-top: 1px solid $color-off-white;
|
|
551
|
+
width: 100%;
|
|
552
|
+
max-height: 60vh;
|
|
553
|
+
overflow: auto;
|
|
554
|
+
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
|
555
|
+
|
|
556
|
+
@media (min-width: $screen-m) {
|
|
557
|
+
border-radius: 3px;
|
|
558
|
+
border-top: none;
|
|
559
|
+
min-width: 500px;
|
|
560
|
+
margin-top: $size-spacing;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.aa-footer {
|
|
565
|
+
// A sticky element is normally at the start of the content,
|
|
566
|
+
// but since this is a footer, the space of the sticky element
|
|
567
|
+
// is naturally preserved at the end of the list and thus won't
|
|
568
|
+
// overlap the last suggestion.
|
|
569
|
+
// If this were a ::before or -header instead, then this would need:
|
|
570
|
+
// .aa-header {
|
|
571
|
+
// margin-top: -2.4rem;
|
|
572
|
+
// }
|
|
573
|
+
//
|
|
574
|
+
// and
|
|
575
|
+
//
|
|
576
|
+
// .aa-dropdown-menu::after {
|
|
577
|
+
// display: block;
|
|
578
|
+
// content: "";
|
|
579
|
+
// height: 2.4rem;
|
|
580
|
+
// }
|
|
581
|
+
position: sticky;
|
|
582
|
+
left: 0;
|
|
583
|
+
right: 0;
|
|
584
|
+
box-shadow: 0 0 6px rgba(0,0,0,0.19);
|
|
585
|
+
|
|
586
|
+
top: calc(100% - 2.4rem);
|
|
587
|
+
padding: 0.8rem 1rem;
|
|
588
|
+
font-size: $size-sm;
|
|
589
|
+
line-height: 1;
|
|
590
|
+
|
|
591
|
+
color: $color-darkgrey;
|
|
592
|
+
text-align: right;
|
|
593
|
+
|
|
594
|
+
.aa-logo {
|
|
595
|
+
// Replace alt text with image
|
|
596
|
+
line-height: 0;
|
|
597
|
+
font-size: 0;
|
|
598
|
+
}
|
|
599
|
+
.aa-logo::after {
|
|
600
|
+
content: '';
|
|
601
|
+
display: inline-block;
|
|
602
|
+
vertical-align: top;
|
|
603
|
+
// Nominal size is 485x120
|
|
604
|
+
background: url(./logo-algolia.svg);
|
|
605
|
+
width: (485 / 120) * 0.8rem;
|
|
606
|
+
height: 0.8rem;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.aa-empty {
|
|
611
|
+
padding: $size-spacing;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.aa-suggestion {
|
|
615
|
+
padding: $box-spacing;
|
|
616
|
+
cursor: pointer;
|
|
617
|
+
border-top: 1px solid $color-off-white;
|
|
618
|
+
border-left: 2px solid transparent;
|
|
619
|
+
|
|
620
|
+
a {
|
|
621
|
+
// reset default link style
|
|
622
|
+
text-decoration: none;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
&:hover,
|
|
626
|
+
&.aa-cursor {
|
|
627
|
+
background: $color-bright;
|
|
628
|
+
border-left: 2px solid $color-vibrant;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.ais-Highlight {
|
|
633
|
+
font-style: normal;
|
|
634
|
+
font-weight: bold;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.aa-suggestion_title,
|
|
638
|
+
.aa-suggestion_content {
|
|
639
|
+
// reset paragraph margin
|
|
640
|
+
margin: 0;
|
|
641
|
+
// clip title chunks and content match to one line
|
|
642
|
+
white-space: nowrap;
|
|
643
|
+
overflow: hidden;
|
|
644
|
+
text-overflow: ellipsis;
|
|
645
|
+
}
|
|
646
|
+
.aa-suggestion_title {
|
|
647
|
+
color: $color-accent;
|
|
648
|
+
}
|
|
649
|
+
.aa-suggestion_content {
|
|
650
|
+
font-size: $size-sm;
|
|
651
|
+
color: $color-darkgrey;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/* Site header: Mobile toggle controls */
|
|
655
|
+
|
|
656
|
+
.site-toggles {
|
|
657
|
+
display: flex;
|
|
658
|
+
|
|
659
|
+
@media (min-width: $screen-m) {
|
|
660
|
+
display: none;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.toggle {
|
|
665
|
+
display: block;
|
|
666
|
+
height: 100%;
|
|
667
|
+
font-size: $box-spacing;
|
|
668
|
+
padding: $box-spacing;
|
|
669
|
+
border: none;
|
|
670
|
+
background: transparent;
|
|
671
|
+
color: $color-bright;
|
|
672
|
+
cursor: pointer;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.icon {
|
|
676
|
+
position: static;
|
|
677
|
+
display: inline-block;
|
|
678
|
+
fill: currentColor;
|
|
679
|
+
vertical-align: middle;
|
|
680
|
+
width: $size-2;
|
|
681
|
+
height: $size-2;
|
|
682
|
+
transform: none;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.opened .icon {
|
|
686
|
+
fill: $color-white;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
/* Sidebar */
|
|
690
|
+
|
|
691
|
+
.sidebar h4 {
|
|
692
|
+
font-size: $size-1;
|
|
693
|
+
margin: $size-spacing 0 #{$box-spacing / 2} 0;
|
|
694
|
+
padding-left: 4px;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.sidebar-list {
|
|
698
|
+
margin-top: 0;
|
|
699
|
+
padding: 0;
|
|
700
|
+
list-style: none;
|
|
701
|
+
}
|
|
702
|
+
.sidebar-item {
|
|
703
|
+
border-left: 4px solid transparent;
|
|
704
|
+
}
|
|
705
|
+
.sidebar-item-active {
|
|
706
|
+
border-left-color: $color-vibrant;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.sidebar-item a {
|
|
710
|
+
border-left: 1px solid $color-bright;
|
|
711
|
+
// Larger and more consistent click target
|
|
712
|
+
display: block;
|
|
713
|
+
|
|
714
|
+
padding: $box-spacing / 2 $box-spacing / 2;
|
|
715
|
+
|
|
716
|
+
color: $color-accent;
|
|
717
|
+
text-decoration: none;
|
|
718
|
+
}
|
|
719
|
+
.sidebar-item-active a,
|
|
720
|
+
.sidebar-item a:active,
|
|
721
|
+
.sidebar-item a:hover,
|
|
722
|
+
.sidebar-item a:focus {
|
|
723
|
+
background: $color-bright;
|
|
724
|
+
text-decoration: none;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/* Layout: page */
|
|
728
|
+
|
|
729
|
+
.hero {
|
|
730
|
+
margin-bottom: $size-spacing;
|
|
731
|
+
background-color: darken($color-vibrant, 12%);
|
|
732
|
+
background-image: linear-gradient(135deg, darken($color-vibrant, 12%), $color-vibrant );
|
|
733
|
+
padding: ($size-4 * 2) 0;
|
|
734
|
+
text-align: center;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.hero-title {
|
|
738
|
+
font-size: $size-5;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.hero-title img {
|
|
742
|
+
height: 1em;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.hero-title,
|
|
746
|
+
.hero-description {
|
|
747
|
+
color: $color-white;
|
|
748
|
+
margin: 0;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.hero-description {
|
|
752
|
+
font-weight: 100;
|
|
753
|
+
text-shadow: 0 2px 0 rgba(0, 0, 0, 0.24);
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.hero-button {
|
|
757
|
+
font-size: $size-2;
|
|
758
|
+
margin-top: $size-4;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
/* Layout: page-api */
|
|
762
|
+
|
|
763
|
+
.version-details {
|
|
764
|
+
font-size: $size-sm;
|
|
765
|
+
font-weight: bold;
|
|
766
|
+
padding: 0.2em 0.4em;
|
|
767
|
+
|
|
768
|
+
@media (min-width: $screen-m) {
|
|
769
|
+
clear: right;
|
|
770
|
+
float: right;
|
|
771
|
+
margin-left: 1.333rem;
|
|
772
|
+
text-align: left;
|
|
773
|
+
border-width: 1px;
|
|
774
|
+
border-style: solid;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
.version-details:not(.note--warning) {
|
|
778
|
+
background: $color-light;
|
|
779
|
+
border-color: $color-off-white;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/* Layout: home */
|
|
783
|
+
|
|
784
|
+
.layout-home {
|
|
785
|
+
h2, h3 {
|
|
786
|
+
text-align: center;
|
|
787
|
+
font-weight: 300;
|
|
788
|
+
+ .lead {
|
|
789
|
+
margin-top: -$size-spacing;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.home-highlights {
|
|
795
|
+
text-align: center;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.example-result iframe,
|
|
799
|
+
.example-result pre {
|
|
800
|
+
height: 360px;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/* Layout: post, posts */
|
|
804
|
+
|
|
805
|
+
article > header {
|
|
806
|
+
border-bottom: 4px solid $color-off-white;
|
|
807
|
+
margin-bottom: $size-spacing;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.post-meta,
|
|
811
|
+
.comment-meta {
|
|
812
|
+
font-size: $size-sm;
|
|
813
|
+
color: $color-darkgrey;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.comments {
|
|
817
|
+
margin-top: $size-spacing;
|
|
818
|
+
border-top: 4px solid $color-off-white;
|
|
819
|
+
padding-top: $size-spacing;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.comment-list {
|
|
823
|
+
margin: 0;
|
|
824
|
+
padding: 0;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.comment {
|
|
828
|
+
border: 1px solid $color-off-white;
|
|
829
|
+
border-radius: 1em;
|
|
830
|
+
background: $color-light;
|
|
831
|
+
padding: $size-1 $size-1 0 $size-1;
|
|
832
|
+
margin: 0 0 $size-1 102px;
|
|
833
|
+
|
|
834
|
+
position: relative;
|
|
835
|
+
min-height: 68px;
|
|
836
|
+
|
|
837
|
+
list-style: none;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
.comment:before {
|
|
841
|
+
position: absolute;
|
|
842
|
+
top: 1px;
|
|
843
|
+
left: -25px;
|
|
844
|
+
height: $size-spacing;
|
|
845
|
+
width: $size-spacing;
|
|
846
|
+
border-radius: 100%;
|
|
847
|
+
background: $color-light;
|
|
848
|
+
|
|
849
|
+
color: $color-darkgrey;
|
|
850
|
+
font-size: $size-sm;
|
|
851
|
+
line-height: $size-spacing;
|
|
852
|
+
text-align: center;
|
|
853
|
+
|
|
854
|
+
counter-increment: li;
|
|
855
|
+
content: counter(li);
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.comment-avatar {
|
|
859
|
+
position: absolute;
|
|
860
|
+
top: 0;
|
|
861
|
+
left: -102px;
|
|
862
|
+
border: 1px solid $color-light;
|
|
863
|
+
border-radius: 3px;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/* Layout: posts */
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
.post-row h2 {
|
|
870
|
+
margin-bottom: $size-1;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
.post-row .post-meta {
|
|
874
|
+
margin-bottom: $size-sm;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
/* Site footer */
|
|
878
|
+
|
|
879
|
+
.site-footer {
|
|
880
|
+
border-top: 1px solid $color-off-white;
|
|
881
|
+
margin-top: $size-4;
|
|
882
|
+
background: $color-light;
|
|
883
|
+
padding: $size-4 0;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.site-footer .wrapper {
|
|
887
|
+
display: flex;
|
|
888
|
+
justify-content: space-between;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.external-links a {
|
|
892
|
+
// Larger click target for mobile
|
|
893
|
+
padding: 1rem 0.5rem;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.cta {
|
|
897
|
+
text-align: center;
|
|
898
|
+
font-size: 1.777rem;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.cta .button {
|
|
902
|
+
background: $color-vibrant;
|
|
903
|
+
border-color: $color-vibrant;
|
|
904
|
+
color: white;
|
|
905
|
+
font-weight: 100;
|
|
906
|
+
}
|