Merge pull request #2738 from overleaf/ta-a11y-link-contrasts

A11y Contrast Fixes

GitOrigin-RevId: 1b76e04b81dd96d932525e75a6645b6d4801db8b
This commit is contained in:
Miguel Serrano 2020-04-22 11:36:24 +02:00 committed by Copybot
parent ac1a7c4c52
commit e3d0ffeec8
3 changed files with 9 additions and 8 deletions

View file

@ -1,6 +1,6 @@
/* /*
Styling for content pages Styling for content pages
Including: about, home, blog, /for/__, legal, contact, portals Including: about, home, blog, /for/__, legal, contact, portals, wiki
*/ */
.content-page { .content-page {
word-break: break-word; word-break: break-word;

View file

@ -57,7 +57,7 @@
width: 100%; width: 100%;
h3 { h3 {
color: @link-color; color: @link-color-alt;
margin: 10px 0px 10px 20px; margin: 10px 0px 10px 20px;
} }
@ -170,11 +170,11 @@
} }
a { a {
color: @ol-green !important; color: @link-color-alt !important;
} }
&:hover a { &:hover a {
color: @ol-dark-green !important; color: @link-hover-color-alt !important;
} }
} }
} }
@ -188,7 +188,7 @@
margin-bottom: 10px; margin-bottom: 10px;
a { a {
color: @ol-green !important; color: @link-color-alt !important;
&.currentResultPage { &.currentResultPage {
color: @ol-blue-gray-5 !important; color: @ol-blue-gray-5 !important;

View file

@ -15,6 +15,7 @@
@ol-blue-gray-6: #1e2530; @ol-blue-gray-6: #1e2530;
@ol-green: #138a07; @ol-green: #138a07;
@ol-type-green: #0f7a06;
@ol-dark-green: #004a0e; @ol-dark-green: #004a0e;
@ol-blue: #3e70bb; @ol-blue: #3e70bb;
@ol-dark-blue: #2857a1; @ol-dark-blue: #2857a1;
@ -54,7 +55,7 @@
@text-small-color: @ol-type-color; @text-small-color: @ol-type-color;
@text-color: @ol-type-color; @text-color: @ol-type-color;
@link-color: @ol-blue; @link-color: @ol-blue;
@link-color-alt: @ol-green; @link-color-alt: @ol-type-green;
@link-active-color: @ol-dark-green; @link-active-color: @ol-dark-green;
@link-hover-color: @ol-dark-blue; @link-hover-color: @ol-dark-blue;
@link-hover-color-alt: @ol-dark-green; @link-hover-color-alt: @ol-dark-green;
@ -228,8 +229,8 @@
// Footer // Footer
@footer-bg-color: #fff; @footer-bg-color: #fff;
@footer-link-color: @ol-green; @footer-link-color: @link-color-alt;
@footer-link-hover-color: @ol-dark-green; @footer-link-hover-color: @link-hover-color-alt;
@footer-padding: 2em 0; @footer-padding: 2em 0;
// Editor header // Editor header