Merge pull request #10694 from overleaf/jel-link-color

[web] Remove not pseudo-class

GitOrigin-RevId: 6cb1abc45c01f408808672a47782d0769f442a20
This commit is contained in:
Jessica Lawshe 2022-11-28 10:42:13 -06:00 committed by Copybot
parent d21fd77d54
commit 0bb883a2c5
2 changed files with 37 additions and 15 deletions

View file

@ -4,6 +4,29 @@
including About and Blog
*/
.cms-page {
&.page-style {
/*
Links and Buttons
*/
a {
color: @link-color;
&:hover {
color: @link-hover-color;
}
}
// correct color property set on <a> above:
.reset-btns;
.alert {
.alert;
}
.alert-info {
.btn-info {
.btn-alert-info;
}
}
}
padding-bottom: 0;
img {
height: auto;

View file

@ -8,22 +8,21 @@
/*
Links and Buttons
*/
&.cms-page&:not(.page-style) {
a {
color: @link-color-alt;
&:hover {
color: @link-hover-color-alt;
}
a {
color: @link-color-alt;
&:hover {
color: @link-hover-color-alt;
}
// correct color property set on <a> above:
.reset-btns;
.alert {
.alert;
}
.alert-info {
.btn-info {
.btn-alert-info;
}
}
// correct color property set on <a> above:
.reset-btns;
.alert {
.alert;
}
.alert-info {
.btn-info {
.btn-alert-info;
}
}