Skip to content

Commit f264aef

Browse files
Clean up demos dir, remove useless demo, add fallbacks
1 parent d77aa94 commit f264aef

33 files changed

+60
-539
lines changed

css-masonry/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ This directory contains demos that showcase the use of CSS Masonry.
44

55
## Demos
66

7-
* [Edge Blog](https://microsoftedge.github.io/Demos/css-masonry/blog.html)
8-
* [Dashboard](https://microsoftedge.github.io/Demos/css-masonry/dashboard.html)
9-
* [Masonry is awesome](https://microsoftedge.github.io/Demos/css-masonry/masonry.html)
7+
* [Blog](https://microsoftedge.github.io/Demos/css-masonry/blog.html)
8+
* [Masonry is awesome](https://microsoftedge.github.io/Demos/css-masonry/masonry-is-awesome.html)
109
* [New York City photos](https://microsoftedge.github.io/Demos/css-masonry/new-york.html)
1110
* [Plants](https://microsoftedge.github.io/Demos/css-masonry/plants.html)
1211
* [News site: The Daily Oddity](https://microsoftedge.github.io/Demos/css-masonry/the-daily-oddity.html)

css-masonry/album-cover.jpeg

-1.9 MB
Binary file not shown.

css-masonry/avatar-icon.png

-3.94 KB
Binary file not shown.

css-masonry/blog.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,15 @@
5252
margin-inline: auto;
5353
padding-inline: var(--margin);
5454

55-
display: grid;
55+
display: masonry;
5656
grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
5757
gap: 2rem;
5858
}
5959

60-
@supports (display: masonry) {
60+
@supports not (display: masonry) {
6161
main {
62-
display: masonry;
62+
display: grid;
63+
align-items: start;
6364
}
6465
}
6566

@@ -105,7 +106,7 @@
105106
header h1 {
106107
margin-block-end: 1rem;
107108
padding-block-start: 4rem;
108-
background: url(logo1024.png) no-repeat left top;
109+
background: url(blog/logo1024.png) no-repeat left top;
109110
background-size: 3rem;
110111
}
111112

File renamed without changes.

css-masonry/camera-icon.png

-4.34 KB
Binary file not shown.

css-masonry/cars.html

Lines changed: 0 additions & 207 deletions
This file was deleted.

css-masonry/cars/car1.png

-12.4 KB
Binary file not shown.

css-masonry/cars/car2.png

-9.59 KB
Binary file not shown.

css-masonry/cars/car3.png

-9.38 KB
Binary file not shown.

0 commit comments

Comments
 (0)