Merge pull request #1337 from ing-bank/chore/a11y-improvements
Apply all a11y improvements on new branch
This commit is contained in:
commit
c7536f2c2c
2 changed files with 32 additions and 30 deletions
|
|
@ -1,23 +1,45 @@
|
||||||
body[layout='layout-home'] .markdown-body .call-to-action:nth-of-type(2) {
|
body[layout='layout-home'] .markdown-body .call-to-action:nth-of-type(2) {
|
||||||
--primary-color: #222;
|
background: linear-gradient(to right, #555, #222);
|
||||||
--primary-color-lighter: #333;
|
}
|
||||||
--primary-color-darker: #000;
|
|
||||||
|
body[layout='layout-home'] .markdown-body .call-to-action:nth-of-type(2):hover {
|
||||||
|
background: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body img {
|
.markdown-body img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown-body a {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
mdjs-preview {
|
mdjs-preview {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-header a[href="/blog/"] {
|
#main-header a {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-header a.active {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-header .active {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar-nav {
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-header a[href='/blog/'] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1024px) {
|
@media screen and (min-width: 1024px) {
|
||||||
#main-header a[href="/blog/"] {
|
#main-header a[href='/blog/'] {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
html {
|
html {
|
||||||
--primary-color: #8f7325;
|
--primary-color: #8f7325;
|
||||||
--primary-color-lighter: #d1a62f;
|
--primary-color-lighter: #8f7325;
|
||||||
--primary-color-darker: #705918;
|
--primary-color-darker: #725c1e;
|
||||||
--primary-color-accent: #cee5f6;
|
--primary-color-accent: #cee5f6;
|
||||||
--primary-text-color: #2c3e50;
|
--primary-text-color: #2c3e50;
|
||||||
--primary-lines-color: #ccc;
|
--primary-lines-color: #ccc;
|
||||||
|
|
@ -15,27 +15,7 @@ html {
|
||||||
--footer-background: rgba(0, 0, 0, 0.1);
|
--footer-background: rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
--text-color: black;
|
--text-color: black;
|
||||||
}
|
|
||||||
|
/* search colors*/
|
||||||
html.dark {
|
--rocket-search-highlight-color: #2c3e50;
|
||||||
--primary-color: #e63946;
|
|
||||||
--primary-color-lighter: #e25761;
|
|
||||||
--primary-color-darker: #a22831;
|
|
||||||
--primary-color-accent: #cee5f6;
|
|
||||||
--primary-text-color: #eee;
|
|
||||||
|
|
||||||
/* Contrast colors */
|
|
||||||
--contrast-color-light: #fff;
|
|
||||||
--contrast-color-dark: #1d3557;
|
|
||||||
|
|
||||||
/* background-colors */
|
|
||||||
--page-background: #333;
|
|
||||||
--footer-background: #4f4f4f;
|
|
||||||
|
|
||||||
--text-color: white;
|
|
||||||
|
|
||||||
--markdown-octicon-link: white;
|
|
||||||
--markdown-syntax-background-color: #a0a0a0;
|
|
||||||
--markdown-link-color: #fb7881;
|
|
||||||
--markdown-blockquote-color: #c9e3ff;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue