Make READ THE INTRODUCTION button on homepage clickable

The "call to action" button at the bottom of the homepage is currently unclickable, since it has a negative top margin and is thus "hidden" behind the bottom margin of the terminal div above it. I opted to remove the negative top margin and instead diminish the bottom margin of the terminal div. This approach ends up adding a bit more padding between the "DNS Query Interface" h2 and the marketing div above it, but I think overall the look is in-line with the aesthetics of the page.

I'm fairly unfamiliar with HTML / CSS, so if there is a better way to do what I've done, I'd love to hear it. I've tested this in Chrome and Safari.
This commit is contained in:
Samuel Lopes 2017-04-10 19:35:19 -05:00
parent 3f92cc70e8
commit 164cfd5fb2

View File

@ -72,7 +72,7 @@
font-weight: $font-weight-bold;
line-height: 1.25;
letter-spacing: -0.02em;
margin: 0;
margin-top: 80px;
padding: 0;
}
@ -167,7 +167,6 @@
}
&#cta {
margin-top: -150px;
padding: 0 0 50px 0;
text-align: center;
}
@ -181,7 +180,7 @@
font-family: $font-family-monospace;
font-size: 14px;
line-height: 1.8;
margin: 20px auto 120px auto;
margin: 20px auto auto auto;
padding: 10px 20px 20px 20px;
.terminal-content {