Skip to content

Commit

Permalink
fixed some images ratio for seo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuwn committed Jul 25, 2024
1 parent cd43e45 commit 718d872
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ header .LogoWrapper {
}
header .LogoWrapper .Logo-Desktop {
display: none;
aspect-ratio: 96/19;
max-width: 80%;
fill: #4c7071;
}
Expand All @@ -58,6 +59,7 @@ header .LogoWrapper .Logo-Desktop {
header .LogoWrapper .Logo-Mobile {
width: 100%;
fill: #4c7071;
aspect-ratio: 26/5;
}
@media screen and (min-width: 1280px) {
header .LogoWrapper .Logo-Mobile {
Expand Down Expand Up @@ -107,11 +109,13 @@ header #navigation a {
}
header #navigation a .lazy_icon {
height: 45px;
aspect-ratio: 15/13;
}
header #navigation a .lazy_logo {
height: 35px;
padding-left: 10px;
transition: opacity 0.5s;
aspect-ratio: 26/5;
}
header #navigation div {
display: flex;
Expand Down Expand Up @@ -391,6 +395,7 @@ header #navigation div a:hover {
#Team .team .staff .portrait img {
position: relative;
width: 100%;
aspect-ratio: 1/1;
}
#Team .team .staff h3 {
margin: 10px;
Expand Down
2 changes: 1 addition & 1 deletion css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ header {

.Logo-Desktop {
display: none;
aspect-ratio: 96 / 19;
max-width: 80%;
fill: $LogoColor;

Expand All @@ -108,6 +109,8 @@ header {
.Logo-Mobile {
width: 100%;
fill: $LogoColor;
aspect-ratio: 26 / 5;


@include ms(desk) {
display: none;
Expand Down Expand Up @@ -165,12 +168,14 @@ header {

.lazy_icon {
height: 45px;
aspect-ratio: 15 / 13;
}

.lazy_logo {
height: 35px;
padding-left: 10px;
transition: opacity 0.5s;
aspect-ratio: 26 / 5;
}
}

Expand Down Expand Up @@ -264,6 +269,7 @@ header {
height: 500px;
width: 100%;
background-position: center;

padding: 5%;
box-sizing: border-box;

Expand Down Expand Up @@ -487,6 +493,7 @@ header {
img {
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
}
}

Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<link rel="preload" href="https://kit.fontawesome.com/f15145c18c.js" as="script" crossorigin="anonymous">

<!-- Styles and Scripts -->
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery.min.js"></script>
<link preload rel="stylesheet" href="css/style.css">
<script defer src="js/jquery.min.js"></script>
<script defer src="https://kit.fontawesome.com/f15145c18c.js" crossorigin="anonymous"></script>
<script defer src="js/script.js"></script>

Expand Down
Binary file modified media/images/bg.webp
Binary file not shown.

0 comments on commit 718d872

Please sign in to comment.