Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit c9c8732

Browse files
committed
0.16.5 - Improve a11y on error pages
Signed-off-by: Reece Dunham <[email protected]>
1 parent 1c708f2 commit c9c8732

File tree

4 files changed

+7
-76
lines changed

4 files changed

+7
-76
lines changed

Gemfile.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
picklecore (0.16.4)
4+
picklecore (0.16.5)
55
jekyll (>= 3.5, < 5)
66
jekyll-default-layout (= 0.1.4)
77
jekyll-relative-links (= 0.6.1)
@@ -13,7 +13,7 @@ GEM
1313
addressable (2.7.0)
1414
public_suffix (>= 2.0.2, < 5.0)
1515
colorator (1.1.0)
16-
concurrent-ruby (1.1.5)
16+
concurrent-ruby (1.1.6)
1717
em-websocket (0.5.1)
1818
eventmachine (>= 0.12.9)
1919
http_parser.rb (~> 0.6.0)
@@ -59,7 +59,7 @@ GEM
5959
rb-fsevent (0.10.3)
6060
rb-inotify (0.10.1)
6161
ffi (~> 1.0)
62-
rouge (3.15.0)
62+
rouge (3.17.0)
6363
safe_yaml (1.0.5)
6464
sass (3.7.4)
6565
sass-listen (~> 4.0.0)

_layouts/error.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</head>
77
<body>
88
<main>
9-
<h1 class="animated fadeInRightBig">{{ page.message | default: "Uh oh..." }}</h1>
10-
<p class="animated delay fadeInLeftBig">
9+
<h1>{{ page.message | default: "Uh oh..." }}</h1>
10+
<p>
1111
Error {{ page.code }} ({{ page.desc }})
1212
{{ content }}
1313
</p>

assets/css/error-page.css

+1-70
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
body {
77
overflow: hidden;
88
background-color: {%- include styling/theme-color.css -%};
9+
font-family: "Open Sans";
910
}
1011

1112
main {
@@ -14,7 +15,6 @@ main {
1415
flex-direction: column;
1516
align-items: center;
1617
justify-content: center;
17-
font-family: "Open Sans";
1818
color: white;
1919
}
2020

@@ -29,72 +29,3 @@ main {
2929
.error a:hover {
3030
color: rgb(206, 206, 206);
3131
}
32-
33-
.animated {
34-
animation-duration: 1s;
35-
animation-fill-mode: both;
36-
animation-delay: 0.5s;
37-
}
38-
39-
.animated.delay {
40-
animation-delay: 1s;
41-
}
42-
43-
@-webkit-keyframes fadeInRightBig {
44-
from {
45-
opacity: 0;
46-
-webkit-transform: translate3d(2000px, 0, 0);
47-
transform: translate3d(2000px, 0, 0);
48-
}
49-
to {
50-
opacity: 1;
51-
-webkit-transform: translate3d(0, 0, 0);
52-
transform: translate3d(0, 0, 0);
53-
}
54-
}
55-
56-
@keyframes fadeInRightBig {
57-
from {
58-
opacity: 0;
59-
transform: translate3d(2000px, 0, 0);
60-
}
61-
to {
62-
opacity: 1;
63-
transform: translate3d(0, 0, 0);
64-
}
65-
}
66-
67-
.fadeInRightBig {
68-
animation-name: fadeInRightBig;
69-
}
70-
71-
@-webkit-keyframes fadeInLeftBig {
72-
from {
73-
opacity: 0;
74-
-webkit-transform: translate3d(-2000px, 0, 0);
75-
transform: translate3d(-2000px, 0, 0);
76-
}
77-
to {
78-
opacity: 1;
79-
-webkit-transform: translate3d(0, 0, 0);
80-
transform: translate3d(0, 0, 0);
81-
}
82-
}
83-
84-
@keyframes fadeInLeftBig {
85-
from {
86-
opacity: 0;
87-
-webkit-transform: translate3d(-2000px, 0, 0);
88-
transform: translate3d(-2000px, 0, 0);
89-
}
90-
to {
91-
opacity: 1;
92-
-webkit-transform: translate3d(0, 0, 0);
93-
transform: translate3d(0, 0, 0);
94-
}
95-
}
96-
97-
.fadeInLeftBig {
98-
-webkit-animation-name: fadeInLeftBig;
99-
animation-name: fadeInLeftBig;
100-
}

picklecore.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "picklecore".freeze
5-
spec.version = "0.16.4"
5+
spec.version = "0.16.5"
66
spec.authors = ["Reece Dunham".freeze, "Param Thakkar".freeze]
77
spec.email = ["[email protected]".freeze]
88
spec.summary = "A Jekyll theme built to create personal and small websites, but can easily scale!".freeze

0 commit comments

Comments
 (0)