Skip to content

Commit

Permalink
Copy edit of 2020 CSS chapter (#1846)
Browse files Browse the repository at this point in the history
* Spelling and grammar check

* Smart quotes and it's

* Editted up to custom properties

* Finish copyediting

* Further edits

* Optimised images with calibre/image-actions

* Compressed colour stops image

* Update src/content/en/2020/css.md

* Specifiy hack rewording

* Link full table

* Revert to revolution

* Added specification link and Internationalization intro

* Reword HSL section

* Update src/content/en/2020/css.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/en/2020/css.md

Co-authored-by: Barry Pollard <[email protected]>

* Add currentColor link

* Update src/content/en/2020/css.md

* Further edits based on author feedback

* Removed ambiguity for dir stat

* Em-dash

* small edits

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Lilley <[email protected]>
  • Loading branch information
3 people authored Jan 15, 2021
1 parent 2755ec1 commit 0b7adf9
Show file tree
Hide file tree
Showing 8 changed files with 281 additions and 223 deletions.
497 changes: 275 additions & 222 deletions src/content/en/2020/css.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/static/css/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,11 @@ figure img {
border: 1px solid #e5e5e5;
}

.height-16vw-122px {
max-height: 122px;
height: 16vw;
}

figure iframe {
display: block;
margin: 0 auto;
Expand Down
Binary file modified src/static/images/2020/css/calc-complexity-units.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/static/images/2020/css/calc-operators.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/static/images/2020/css/gradient-most-stops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/static/images/2020/css/keyword-totals.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/templates/base/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@
{{ caption }}
</object>
{% else %}
<img src="{{ image }}" alt="{{ caption|striptags }}" aria-labelledby="{{ anchor }}-caption" aria-describedby="{{ anchor }}-description" width="{{ width }}" height="{{ height }}" loading="lazy" />
<img src="{{ image }}" class="{{ classes }}" alt="{{ caption|striptags }}" aria-labelledby="{{ anchor }}-caption" aria-describedby="{{ anchor }}-description" width="{{ width }}" height="{{ height }}" loading="lazy" />
{%- endif %}
</a>
{% if not ebook %}{{ figure_dropdown(metadata, id, sheets_gid, sql_file, image) }}{% endif %}
Expand Down

0 comments on commit 0b7adf9

Please sign in to comment.