Skip to content

Commit

Permalink
style: set max width for social links
Browse files Browse the repository at this point in the history
This commit updates the styling of elements in home-banner.ejs and styles.css.
In home-banner.ejs, the width of the div containing social links has been
adjusted to max 1340px. In styles.css, various style properties such as
margin-top, height and max-width have been reordered and updated. This commit
also adjusts media query for font-size and line-height in styles.css.
  • Loading branch information
EvanNotFound committed Dec 10, 2023
1 parent af961e3 commit 7ad8c94
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion layout/_partials/home-banner.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<% } %>
</div>
<% if (theme.home_banner.social_links.enable) { %>
<div class="absolute bottom-0.5 flex flex-row justify-between items-center w-full px-8 sm:px-12">
<div class="absolute bottom-0.5 flex flex-row justify-between max-w-[1340px] items-center w-full px-8 sm:px-12">
<div class="p-3 bg-gray-300/50 dark:bg-gray-500/40 backdrop-blur-lg border border-white/20 dark:border-gray-500/30 group rounded-full cursor-pointer flex justify-center items-center aspect-square h-full shadow-redefine-flat hover:shadow-redefine-flat-hover transition-shadow" onclick="scrollToMain()" >
<i class="fa-solid fa-arrow-down fa-fw fa-lg group-hover:translate-y-1 transition-transform"></i>
</div>
Expand Down
34 changes: 17 additions & 17 deletions source/assets/build/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,10 @@ video {
margin-top: 0.375rem;
}

.mt-10 {
margin-top: 2.5rem;
}

.mt-2 {
margin-top: 0.5rem;
}
Expand All @@ -778,14 +782,6 @@ video {
margin-top: 2rem;
}

.mt-10 {
margin-top: 2.5rem;
}

.mt-2\.5 {
margin-top: 0.625rem;
}

.box-border {
box-sizing: border-box;
}
Expand Down Expand Up @@ -846,6 +842,10 @@ video {
height: 0.5rem;
}

.h-2\.5 {
height: 0.625rem;
}

.h-32 {
height: 8rem;
}
Expand Down Expand Up @@ -878,10 +878,6 @@ video {
height: 100vh;
}

.h-2\.5 {
height: 0.625rem;
}

.w-10 {
width: 2.5rem;
}
Expand Down Expand Up @@ -926,6 +922,10 @@ video {
max-width: none !important;
}

.max-w-\[1340px\] {
max-width: 1340px;
}

.max-w-none {
max-width: none;
}
Expand Down Expand Up @@ -1714,6 +1714,11 @@ video {
padding-right: 2rem;
}

.md\:text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}

.md\:text-5xl {
font-size: 3rem;
line-height: 1;
Expand All @@ -1728,11 +1733,6 @@ video {
font-size: 0.875rem;
line-height: 1.25rem;
}

.md\:text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
}

@media (min-width: 1024px) {
Expand Down

0 comments on commit 7ad8c94

Please sign in to comment.