mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
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:
parent
867397eccd
commit
6d339f486e
4 changed files with 11 additions and 5 deletions
|
@ -1,2 +0,0 @@
|
||||||
jrnl.sh
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue