1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 01:42:10 +00:00

Some more minification

- Use ect to shrink PNGs
- Use some CSS shorthands I didn't know about before.
This commit is contained in:
Rohan Kumar 2021-06-05 15:28:55 -07:00
parent 322dbf93e7
commit be77c33081
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
9 changed files with 3 additions and 6 deletions

View file

@ -18,8 +18,7 @@
*/
body {
font: 16px sans-serif;
line-height: 1.5rem;
font: 16px/1.5rem sans-serif;
margin: auto;
max-width: 50rem;
padding: 0 5%;
@ -52,8 +51,8 @@ nav li {
margin-bottom: 0.5rem;
}
/* single-line nav on widescreen, multi-line nav on narrow screens */
@media (min-width: 28rem) {
/* single-line nav o4 widescreen, multi-line nav on narrow screens */
@media (min-width: 24rem) {
nav li {
display: inline;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 B

View file

@ -1 +0,0 @@
<svg fill="none" height="300" stroke="#000" stroke-linecap="square" stroke-width="28" width="300" xmlns="http://www.w3.org/2000/svg"><path d="M201.962 210a60 60 0 10-103.924-60l-50 86.603"/><path d="M98.038 210a60 60 0 10103.924-60l-50-86.603"/><path d="M150 120a60 60 0 100 120h100"/></svg>

Before

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 B

View file

@ -1 +0,0 @@
<svg fill="none" height="300" stroke="#fff" stroke-linecap="square" stroke-width="28" width="300" xmlns="http://www.w3.org/2000/svg"><path d="M201.962 210a60 60 0 10-103.924-60l-50 86.603"/><path d="M98.038 210a60 60 0 10103.924-60l-50-86.603"/><path d="M150 120a60 60 0 100 120h100"/></svg>

Before

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

After

Width:  |  Height:  |  Size: 147 B