Skip to content

Commit

Permalink
Add css for logo aspect-ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
YC committed Nov 20, 2021
1 parent e4d9c41 commit c918627
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
img {
width: 25%; /* Image width */
border: 0; /* For IE */
/* Aspect ratio of image, gives initial dimension to prevent text moving down once image is loaded */
/* When changing logo, change this also */
aspect-ratio: 125 / 50;
}
#main {
vertical-align: middle;
Expand Down
3 changes: 3 additions & 0 deletions index.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c918627

Please sign in to comment.