Skip to content

Commit 75921ea

Browse files
authored
Merge branch 'master' into simplify-about
2 parents aa380fb + 2505a95 commit 75921ea

28 files changed

+1748
-6642
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,18 @@ Add commit (and don't forget to add to `_data/nav.yml`).
141141

142142
## Site quirks and tips
143143

144+
### SCSS variables
145+
146+
Shortcuts with colors and other common variables can be found in `_sass/settings`. They can be used in SCSS files.
147+
148+
```scss
149+
@import "settings/colors"
150+
151+
a {
152+
color: $orange;
153+
}
154+
```
155+
144156
### Lazy loading of images
145157

146158
The Jupyter website uses [lazy loading of images](https://web.dev/browser-level-image-lazy-loading/). In general, images that are "below the fold" (below the browser window on page load) for laptop-sized screen sizes are encouraged to be configured for "lazy loading".
@@ -155,4 +167,4 @@ For images that are "above the fold" (that will be seen by users immediately aft
155167

156168
```html
157169
<img class="my-class" src="my/src.png" loading="eager" />
158-
```
170+
```

_includes/cards.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ <h4 class="col-sm-12">{{include.cohort_name}}</h4>
77
<img
88
class="council-member-photo"
99
alt="{{member.name}}"
10-
src='{{site.baseurl}}/assets/distinguished/{{member.photo}}' />
10+
src='{{site.baseurl}}/assets/distinguished/{{member.photo}}'
11+
loading="lazy"
12+
/>
1113
<div class="card-header text-nowrap">{{member.name}}</div>
1214
<div>&nbsp;</div>
1315
<div class='badges'>

_includes/footer.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
<div class="footer" role="navigation">
33
<div class="container">
44
<div class="navbar-text">
5-
<p>Copyright © {{site.time | date: '%Y' }} Project Jupyter –
6-
Last updated {{site.time | date: "%a, %b %d, %Y" }}</p>
7-
<p>The Jupyter Trademark is registered with the U.S. Patent &amp; Trademark Office.</p>
8-
</div>
9-
<div class="follow">
10-
<a href="https://github.com/jupyter" class="button github-button" aria-label="Follow @jupyter on GitHub"><svg version="1.1" width="14" height="14" viewBox="0 0 16 16" class="octicon octicon-mark-github" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg> <span>Follow @jupyter</span></a>
11-
<br><a href="https://twitter.com/intent/follow?screen_name=ProjectJupyter" class="twitter-follow-button" data-show-count="false">Follow @ProjectJupyter on Twitter</a>
5+
<p>
6+
Copyright © {{site.time | date: '%Y' }} Project Jupyter
7+
</p>
8+
<p>
9+
The Jupyter Trademark is registered with the U.S. Patent & Trademark Office.
10+
</p>
1211
</div>
1312
</div>
1413
</div>

0 commit comments

Comments
 (0)