Skip to content

Commit 9894e6c

Browse files
committed
small updates
1 parent 4798f0e commit 9894e6c

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

_layouts/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h2 class="title">Why Wurst?</h2>
5959
<input type="radio" id="tab3" name="css-tabs">
6060

6161
<ul class="tabs">
62-
<li class="tab"><label for="tab1">Syntax & Features</label></li>
62+
<li class="tab"><label for="tab1">Look and Feel</label></li>
6363
<li class="tab"><label for="tab2">Compiletime</label></li>
6464
<li class="tab"><label for="tab3">Optimizations</label></li>
6565
</ul>
@@ -92,7 +92,7 @@ <h4>WurstScript supports interpreting code at compiletime. This includes the gen
9292
</pre>
9393

9494
<div class="tab-content">
95-
<h4>New age bullshit</h4>
95+
<h4>WurstScript has inbuilt optimizers that keep your code fast in the output map.</h4>
9696
<p>Our conversations with other pilgrims have led to an awakening of pseudo-astral consciousness. Who are we? Where on the great myth will we be re-energized? We are at a crossroads of complexity and stagnation.</p>
9797
<p>Eons from now, we dreamers will exist like never before as we are aligned by the cosmos. We are being called to explore the stratosphere itself as an interface between nature and complexity. We must learn how to lead infinite lives in the face of bondage.</p>
9898
<p>Generated by the <a href="http://sebpearce.com/bullshit/">New Age Bullshit Generator</a></p>

_sass/doc.scss

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -466,25 +466,24 @@ code {
466466
width: 310px;
467467
border-right: 1px solid #474749;
468468
padding-top: 42px;
469+
max-height: calc(100vh - 121px);
469470
}
470471

471472

472473
#doc-menu {
473-
max-height: 100vh;
474-
overflow: hidden;
474+
max-height: calc(100vh - 122px);
475+
overflow-x: hidden;
476+
overflow-y: auto;
475477
}
476478

477479
.doc-menu-scroll {
478-
margin-right: -50px; /* maximum width of scrollbar */
479-
padding-right: 50px; /* maximum width of scrollbar */
480-
overflow-y: auto;
481-
max-height: 100vh;
480+
// max-height: 100%;
482481
}
483482

484483
.doc-menu {
485484
list-style: none;
486485
padding-left: 0;
487-
margin-bottom: 30px;
486+
padding-bottom: 72px;
488487

489488
& > li {
490489
margin-bottom: 5px;
@@ -621,19 +620,11 @@ code {
621620
}
622621
}
623622

624-
.affix {
625-
top: 15px;
626-
}
627-
628623
.affix,
629624
.affix-bottom {
630625
width: 230px;
631626
}
632627

633-
.affix-bottom {
634-
position: absolute;
635-
}
636-
637628
/* ===== Promo block ===== */
638629
.promo-block {
639630
background: var(--color-primary-dark);

0 commit comments

Comments
 (0)