Skip to content

Commit

Permalink
Improve links on alerts
Browse files Browse the repository at this point in the history
This is the colors straight from Bootstrap, however we cannot just switch to using Bootstrap for this as it expects links within alerts to be given the class `alert-link`, which the Markdown compiler obviously does not do.
  • Loading branch information
astorije authored and xPaw committed Nov 5, 2018
1 parent 3d4dc9d commit 9dc1062
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -396,16 +396,25 @@ img {
background-color: #d9edf7;
border-color: #bce8f1;
}
.alert-info a {
color: #245269;
}
.alert-warning {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}
.alert-warning a {
color: #66512c;
}
.alert-danger {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
.alert-danger a {
color: #843534;
}
.alert p:last-child {
margin-bottom: 0;
}
Expand Down

0 comments on commit 9dc1062

Please sign in to comment.