Small accessibility fixes for docs site (#1122)

* remove old file that was only needed for gh-pages

* fix broken icons on docs home page

* add more contrast to twitter button hover state

* tweak non-accessible color to meet standard

* tweak non-accessible colors to meet standard
This commit is contained in:
Jonathan Wren 2020-12-19 13:27:10 -08:00 committed by GitHub
parent 867397eccd
commit 861bf98332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 5 deletions

View file

@ -1,2 +0,0 @@
jrnl.sh

View file

@ -14,7 +14,7 @@
/* For light bg */ /* For light bg */
--teal: #2a8068; --teal: #2a8068;
--dark-blue: #356eb7; --dark-blue: #356eb7;
--mid-purple: #92679b; --mid-purple: #846392;
--bright-purple: #af27ad; --bright-purple: #af27ad;
--dark-purple: #604385; --dark-purple: #604385;
--darkest-purple: #251A32; --darkest-purple: #251A32;

View file

@ -125,6 +125,14 @@ Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
background: var(--dark-blue); background: var(--dark-blue);
} }
.rst-content .note.admonition {
background: var(--light-blue);
}
.rst-content .tip .admonition-title { .rst-content .tip .admonition-title {
background: var(--teal); background: var(--teal);
} }
.rst-content .tip .admonition {
background: var(--light-blue);
}

View file

@ -7,7 +7,7 @@ body {
} }
.icon { .icon {
background-image: url("img/sprites.svg"); background-image: url("/img/sprites.svg");
width: 32px; width: 32px;
height: 32px; height: 32px;
display: inline-block; display: inline-block;
@ -138,7 +138,7 @@ header {
#twitter:hover, #twitter:hover,
#twitter:active { #twitter:active {
text-decoration: none; text-decoration: none;
box-shadow: 0 2px 25px 0 var(--black-shadow); box-shadow: 0 2px 25px 0 var(--blacker-shadow);
transition: all .5s ease; transition: all .5s ease;
} }