Skip to content

Commit 28542b5

Browse files
committed
All: Update footer icons and use SVGs (DigitalOcean, Fastly, WordPress)
From https://github.com/FortAwesome/Font-Awesome/tree/6.4.2/svgs/brands
1 parent a666604 commit 28542b5

File tree

7 files changed

+42
-54
lines changed

7 files changed

+42
-54
lines changed

themes/jquery.org/style.css

-23
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ a, #sidebar h3 {
4646
font-size: 60px;
4747
}
4848

49-
.jquery-foundation.page-slug-join #content #banner-large-image .vertically-centered-black-bg {
50-
margin-top: 14.5%;
51-
}
52-
5349
/*Homepage*/
5450

5551
.large-banner img {
@@ -452,15 +448,6 @@ a.icon-search::before {
452448
margin-top: 2em;
453449
padding-bottom: 2em;
454450
}
455-
456-
.page-slug-sponsors .sponsors img {
457-
margin: 0.3em 1em 2em;
458-
}
459-
460-
.page-slug-sponsors .sponsors .row {
461-
margin: 1em 0 2em;
462-
}
463-
464451
.page-slug-faq #content h2 {
465452
margin-top: 1em;
466453
margin-bottom: 0.3em;
@@ -502,16 +489,6 @@ a.icon-search::before {
502489
color: green;
503490
}
504491

505-
/*a.button,
506-
#content a.button, .button {
507-
background-color: #b71551;
508-
}
509-
510-
a.button:hover,
511-
#content a.button:hover {
512-
background-color: #7c0d36;
513-
}*/
514-
515492

516493
/*Adjust widths for longer navigation*/
517494

themes/jquery/css/base.css

+36-28
Original file line numberDiff line numberDiff line change
@@ -2203,6 +2203,7 @@ footer {
22032203
background: linear-gradient(to bottom, rgba(0,0,0,.3), rgba(0,0,0,0)) top left / 100px 15px repeat-x, url(../images/bg-footer-noise.jpg) repeat;
22042204
margin-top: -20px;
22052205
padding-top: 40px;
2206+
color: #aaa;
22062207
}
22072208

22082209
footer.simple {
@@ -2231,7 +2232,6 @@ footer .download a { margin: 0 10px; }
22312232

22322233
footer .download a em {
22332234
font-style: normal;
2234-
color: #aaa;
22352235
}
22362236

22372237
footer .download a:hover { border-bottom: solid 1px #888; }
@@ -2310,44 +2310,52 @@ footer h3:after {
23102310
border-radius: 4px 4px 0 0;
23112311
}
23122312

2313+
footer .legal {
2314+
margin-top: 1em;
2315+
border-top: solid 1px #333;
2316+
box-shadow: #000 0 -1px 0;
2317+
padding-top: 10px;
2318+
color: #777;
2319+
}
2320+
23132321
.footer-site-links {
23142322
float: right;
2315-
padding: 10px 0 0 0;
23162323
width: 58%;
2324+
min-height: 5em; /* displace p.copyright*/
23172325
text-align: right;
23182326
}
23192327

2320-
footer p.copyright {
2321-
margin: 10px 0 0 0;
2322-
float: left;
2323-
width: 40%;
2328+
footer p {
2329+
margin: 0 0 0.5em;
23242330
font-size: 11px;
23252331
line-height: 130%;
2326-
color: #777;
23272332
}
23282333

2329-
footer p.copyright a {
2330-
color: #aaa;
2334+
footer p.copyright {
2335+
margin-top: 0;
2336+
width: 40%;
23312337
}
23322338

2333-
footer p.copyright a:hover {
2334-
color: #fff;
2339+
footer .legal a {
2340+
color: #aaa;
23352341
}
23362342

2337-
footer p.copyright span.sponsor-line {
2338-
display: block;
2339-
font-size: 10px;
2340-
margin-top: 1em;
2343+
footer .legal a:hover {
2344+
color: #fff;
23412345
}
23422346

2343-
footer p.copyright a.do-link {
2344-
background: url(../images/logo-do.png) left top no-repeat;
2345-
padding: 2px 0 2px 17px;
2347+
footer a.wp-link:before,
2348+
footer a.do-link:before {
2349+
content: url(../images/logo-wordpress.svg);
2350+
display: inline-block;
2351+
width: 1.5em;
2352+
height: 1.5em;
2353+
padding-right: 0.5em;
2354+
vertical-align: bottom;
2355+
filter: invert(1);
23462356
}
2347-
2348-
footer p.copyright a.sp-link {
2349-
background: url(../images/logo-sp.png) left top no-repeat;
2350-
padding: 2px 0 2px 19px;
2357+
footer a.do-link:before {
2358+
content: url(../images/logo-digitalocean.svg);
23512359
}
23522360

23532361
.footer-site-links li {
@@ -2397,12 +2405,6 @@ footer ul li {
23972405
line-height: 30px;
23982406
}
23992407

2400-
footer #legal {
2401-
margin-top: 1em;
2402-
border-top: solid 1px #333;
2403-
box-shadow: #000 0 -1px 0;
2404-
}
2405-
24062408
footer .books li {
24072409
float: left;
24082410
width: 30%;
@@ -2782,6 +2784,12 @@ footer .books li a cite {
27822784
footer p.copyright,
27832785
footer ul.footer-site-links {
27842786
width: 100%;
2787+
min-height: auto;
2788+
}
2789+
2790+
footer p.copyright,
2791+
footer ul.footer-site-links,
2792+
footer p {
27852793
text-align: center;
27862794
margin: 0 0 10px 0;
27872795
}

themes/jquery/footer-bottom.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@
2323
);
2424
?>
2525

26-
<div id="legal">
26+
<div id="legal" class="legal">
2727
<ul class="footer-site-links">
2828
<?php foreach ( $links as $title => $link ) : ?>
2929
<li><a class="icon-<?php echo $link[ 'icon' ]; ?>" href="<?php echo $link[ 'url' ]; ?>"><?php echo $title; ?></a></li>
3030
<?php endforeach ?></ul>
3131
<p class="copyright">
3232
Copyright <?php echo date('Y'); ?> <a href="https://openjsf.org/">OpenJS Foundation</a> and jQuery contributors. All rights reserved. See <a href="https://jquery.org/license/">jQuery License</a> for more information. The <a href="https://openjsf.org/">OpenJS Foundation</a> has registered trademarks and uses trademarks. For a list of trademarks of the <a href="https://openjsf.org/">OpenJS Foundation</a>, please see our <a href="https://trademark-policy.openjsf.org/">Trademark Policy</a> and <a href="https://trademark-list.openjsf.org/">Trademark List</a>. Trademarks and logos not indicated on the <a href="https://trademark-list.openjsf.org/">list of OpenJS Foundation trademarks</a> are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them. OpenJS Foundation <a href="https://terms-of-use.openjsf.org/">Terms of Use</a>, <a href="https://privacy-policy.openjsf.org/">Privacy</a>, and <a href="https://www.linuxfoundation.org/cookies">Cookie</a> Policies also apply.
33-
<span class="sponsor-line"><a href="https://www.digitalocean.com" class="do-link">Web hosting by Digital Ocean</a> | <a href="https://www.stackpath.com" class="sp-link">CDN by StackPath</a></span>
33+
</p>
34+
<p><a href="https://www.digitalocean.com" class="do-link">Web hosting by Digital Ocean</a> | <a href="https://www.fastly.com/">CDN by Fastly</a></span> | <a href="https://wordpress.org/" class="wp-link">Powered by WordPress</a>
3435
</p>
3536
</div>
3637

1.48 KB
Loading
Loading
+1
Loading

themes/releases.jquery.com/page.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div id="content">
1616
<?php if ( !count( get_post_meta( $post->ID, "hide_title" ) ) ) : ?>
1717
<h1 class="entry-title"><?php the_title(); ?></h1>
18-
<div class="powered-by">Powered by <a href="https://www.stackpath.com"><img src="<?php echo get_template_directory_uri(); ?>/images/stackpath.png"></a></div>
18+
<div class="powered-by">Powered by <a href="https://www.fastly.com"><img alt="Fastly" width="84" height="40" src="<?php echo get_template_directory_uri(); ?>/images/fastly@2x.png"></a></div>
1919
<hr>
2020
<?php endif; ?>
2121

0 commit comments

Comments
 (0)