~xdavidwu/xdavidwu.link

3ba1427cca2854b431210b483a312e77a1d00704 — Michael Rose 9 years ago 0f02750
Fix button border color
- Remove bottom borders on links and use text-decoration: underline instead
- Use sans-serif font for button text
2 files changed, 4 insertions(+), 8 deletions(-)

M _sass/elements.scss
M _sass/page.scss
M _sass/elements.scss => _sass/elements.scss +3 -0
@@ 51,11 51,14 @@ svg:not(:root) {
  margin-bottom: 20px;
  padding: 8px 20px;
  @include font-rem(14);
  font-family: $heading-font;
  font-weight: 700;
  background-color: $primary;
  color: $white;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: $primary;
  text-decoration: none !important;
  @include rounded(3px);
  &:visited {
    color: $white;

M _sass/page.scss => _sass/page.scss +1 -8
@@ 410,14 410,7 @@ $button-size: 1.5rem;
	// Dotted line underlines for links
	p > a,
	li > a {
		border-bottom: 1px dotted lighten($link-color, 50);
		&:hover {
			border-bottom-style: solid;
		}
	}
	p > a.reversefootnote, 
	li > a.reversefootnote {
		border-bottom-width: 0;
		text-decoration: underline;
	}
}
.toc {