Skip to content

Commit 06febd2

Browse files
committed
make home buttons align horizontaly for big screens
1 parent 6ff749f commit 06febd2

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,12 @@
170170

171171
</address>
172172

173-
<div style="margin-bottom: 25px;">
173+
<div class="home-buttons-container">
174174
<!-- discord community ka button -->
175-
<div style="margin-bottom: 25px;">
175+
<div style="margin-right: 25px; margin-bottom: 30px;">
176176
<a class="wow animated fadeInUp blog-link btn-blog" target="_blank" data-wow-delay="1.5s"
177177
href="https://discord.com/invite/UBbSuw7swW">
178-
Join Our Community
178+
Discord Server
179179
<img style="margin-left: 6px; margin-right: 5px;" class="beta" src="./static/images/discord-logo-white.png"></img>
180180
</a>
181181
</div>

static/styles/styles.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,8 +810,19 @@ only screen and (min-resolution: 2dppx) {
810810
margin-bottom: 32px;
811811
}
812812

813+
.home-buttons-container {
814+
display: flex;
815+
justify-content: center;
816+
}
817+
818+
@media(max-width: 860px) {
819+
.home-buttons-container {
820+
flex-direction: column;
821+
}
822+
}
823+
813824
.section-header .blog-link {
814-
font-size: 40px;
825+
font-size: 30px;
815826
color: white;
816827
background-color: #003955;
817828
margin-bottom: 50px;
@@ -845,8 +856,8 @@ only screen and (min-resolution: 2dppx) {
845856

846857
.beta {
847858
margin-bottom: 10px;
848-
width: 40px;
849-
height: 40px;
859+
width: 30px;
860+
height: 30px;
850861
}
851862

852863
.intro-holder {

0 commit comments

Comments
 (0)