Skip to content

Commit 44429b1

Browse files
committed
Mobile optimizations
Typing text hidden on mobile Community sponsors optimized on mobile Removal of news menu item Minor tweaks
1 parent c1a16e6 commit 44429b1

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

docs/.style/homepage.sass

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,25 @@ header
7676
// border-top: 1px solid $white
7777
7878
#core-title
79+
display: none
7980
color: $white
8081
text-align: center
8182
font-size: 4rem
8283
position: absolute
8384
top: 50%
8485
left: 50%
8586
transform: translate(-50%, -50%)
87+
@include media-breakpoint-up(lg)
88+
display: block
8689

8790
#cta-buttons
8891
z-index: 1
8992
position: absolute
90-
bottom: 9rem
93+
bottom: 17rem
9194
left: 50%
9295
transform: translateX(-50%)
96+
@include media-breakpoint-up(lg)
97+
bottom: 9rem
9398

9499
a.btn
95100
font-size: 2rem
@@ -98,6 +103,24 @@ header
98103
margin: 0 1rem
99104
margin-bottom: 1rem
100105

106+
.card
107+
margin-bottom: 1.5rem
108+
109+
.community-sponsors
110+
flex-wrap: wrap
111+
justify-content: space-around
112+
align-items: center
113+
li
114+
padding: 0.3rem
115+
flex: 45%
116+
@include media-breakpoint-up(md)
117+
justify-content: space-evenly
118+
flex-direction: row
119+
@include media-breakpoint-up(sm)
120+
padding: 0.3rem
121+
align-items: center
122+
flex-direction: row
123+
101124
.discord
102125
position: fixed
103126
background-color: $primary

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<li class="nav-item">
6262
<a class="nav-link" href="./docs/index.html">Documentation</a>
6363
</li>
64-
<li class="nav-item">
64+
<li class="nav-item d-none">
6565
<a class="nav-link" href="./news">News</a>
6666
</li>
6767
<li class="nav-item">
@@ -249,7 +249,7 @@ <h3 class="my-4">Enterprise sponsors</h3>
249249
</div>
250250
</div>
251251
<h3 class="my-4">Community sponsors</h3>
252-
<ul class="mt-3 list-unstyled d-flex justify-content-evenly">
252+
<ul class="community-sponsors mt-3 list-unstyled d-flex">
253253
<li><a href="https://tinybluerobots.com"><img src="https://github.com/TinyBlueRobots.png?size=50" alt="Tiny Blue Robots" class="me-2 img-thumbnail">Tiny Blue Robots</a></li>
254254
<li><a href="https://github.com/ThisFunctionalTom"><img src="https://github.com/ThisFunctionalTom.png?size=50" alt="Tomas Leko" class="me-2 img-thumbnail">Tomas Leko</a></li>
255255
<li><a href="https://github.com/zyzhu"><img src="https://github.com/zyzhu.png?size=50" alt="Zhenyong Zhu" class="me-2 img-thumbnail">Zhenyong Zhu</a></li>

0 commit comments

Comments
 (0)