Skip to content

Commit 70a62f6

Browse files
committed
Fix layout of links above content and fix #109
1 parent 9f79a58 commit 70a62f6

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

assets/title.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ table.table-dark th {
8383
}
8484

8585
.section.splash ul {
86-
background-color: var(--ruffle-blue);
8786
margin: 0;
8887
padding: 0;
8988
max-width: 100%;
@@ -99,6 +98,11 @@ table.table-dark th {
9998
padding: 10px 6vw;
10099
}
101100

101+
.section.splash ul li a {
102+
min-width: 85px;
103+
display: inline-block;
104+
}
105+
102106
.section.content {
103107
font-size: 1rem;
104108
padding-left: 8vw;
@@ -443,6 +447,10 @@ a.store-badge {
443447
.github-corner .octo-arm {
444448
animation: octocat-wave 560ms ease-in-out
445449
}
450+
451+
.desktop-menu-option {
452+
display: none;
453+
}
446454
}
447455

448456
@keyframes progressBar {

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
</p>
3939

4040
<ul>
41-
<li><a href="#what-is-ruffle">Read more</a></li>
42-
<li style="visibility: hidden;">Demo</li>
43-
<li style="position: absolute;"><a href="https://ruffle.rs/demo/">Demo</a></li>
41+
<li class="desktop-menu-option"><a href="#what-is-ruffle">Read more</a></li>
42+
<li class="desktop-menu-option"><a href="https://github.com/ruffle-rs/ruffle/wiki" target="_blank">Wiki</a></li>
43+
<li><a href="https://ruffle.rs/demo/">Demo</a></li>
4444
<li><a href="https://discord.gg/ruffle" target="_blank">Discord</a></li>
4545
</ul>
4646
<a class="header-down-arrow" href="#what-is-ruffle">

0 commit comments

Comments
 (0)