Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Commit bb98d98

Browse files
committed
Merge pull request #1817 from katieporter/develop
Remove footer iframe and add temporary short footer
2 parents 7bde1c6 + f6c0e0d commit bb98d98

File tree

5 files changed

+51
-13
lines changed

5 files changed

+51
-13
lines changed

source/_assets/stylesheets/base/default.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ body {
1414
line-height: 24px;
1515
font-weight: 300;
1616
background-color: @white;
17+
color: @slate-80;
1718
}
1819

1920
p {

source/_assets/stylesheets/base/typography.less

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ h1, h2, h3 {
1111
font-family: "Colfax-Light", sans-serif;
1212
}
1313

14+
h1, h2, h4 {
15+
color: @slate;
16+
}
17+
1418
h1 {
1519
margin-bottom: 30px;
1620
line-height: 45px;
@@ -26,6 +30,7 @@ h3, .h3 {
2630
margin-bottom: 13px;
2731
margin-top: 20px;
2832
line-height: 30px;
33+
color: @slate-80;
2934
}
3035

3136
h4 {
@@ -36,7 +41,7 @@ h4 {
3641
}
3742

3843
h5 {
39-
color: rgba(41, 70, 97, 0.60);
44+
color: @slate-60;
4045
font-weight: 700;
4146
letter-spacing: 1px;
4247
margin-bottom: 13px;
@@ -50,10 +55,11 @@ h6 {
5055
}
5156

5257
p {
53-
margin-bottom: 16px;
58+
margin-bottom: @scale-0;
59+
line-height: @scaleup-3;
5460
&.small {
5561
font-size: @font-size-small;
56-
color: rgba(41, 70, 97, 0.60);
62+
color: @slate-60;
5763
font-weight: 400;
5864
}
5965
}
@@ -81,3 +87,7 @@ ol {
8187
li {
8288
color: @body-color;
8389
}
90+
91+
.text-align-center {
92+
text-align: center;
93+
}

source/_assets/stylesheets/base/variables.less

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
@body-color: rgba(41, 70, 97, 0.80);
3535

3636
//** Global textual link color.
37-
@link-color: rgba(26, 130, 226, 0.80);
37+
@link-color: @sg-blue-80;
3838
//** Link hover color set via `darken()` function.
3939
@link-hover-color: @brand-primary;
4040

@@ -869,6 +869,11 @@
869869
@gray-border: #ECECED;
870870
@gray-background: #F5F5F8;
871871

872+
// Low Opacity Whites
873+
@white-80: rgba(255, 255, 255, 0.8);
874+
@white-60: rgba(255, 255, 255, 0.6);
875+
@white-50: rgba(255, 255, 255, 0.5);
876+
872877
// Modular Scale
873878
@scaleup-11: 9.492em;
874879
@scaleup-10: 7.594em;
Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
#footer-iframe {
2-
width: 100%;
3-
height: 590px;
4-
border: 0;
5-
margin-bottom: -8px;
6-
.media-up(@screen-tablet, {
7-
height: 304px;
8-
});
1+
.page-footer {
2+
background-color: @slate;
3+
color: @white-80;
4+
padding-top: @scale-0;
5+
padding-bottom: @scale-0;
6+
span:not(:last-child) {
7+
margin-right: @scaledown-2;
8+
}
9+
a {
10+
color: @white-80;
11+
&:hover {
12+
color: @white;
13+
}
14+
}
915
}

source/_includes/footer.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
<iframe id="footer-iframe" src="//sendgrid.com/mkt-api/v2/footer?key=71ab8b6afb1bae3df247e0286da35e0da16564ff" frameborder="0" scrolling="no"></iframe>
1+
<footer class="page-footer page-footer-short">
2+
3+
<div class="container-fluid">
4+
<div class="row text-align-center">
5+
<small class="col-sm-12">
6+
<span class='footer-copyright'>©<script>document.write(new Date().getFullYear())</script> SendGrid</span>
7+
<span> / </span>
8+
<span><a href="http://sendgrid.com" id="footer-tos">Home</a></span>
9+
<span> / </span>
10+
<span><a href="/" id="footer-tos">Docs</a></span>
11+
<span> / </span>
12+
<span><a href="https://sendgrid.com/tos" id="footer-tos">Legal</a></span>
13+
</small>
14+
</div>
15+
</div>
16+
17+
</footer>

0 commit comments

Comments
 (0)