Skip to content

Commit

Permalink
Added nav link to tag hierarchy.
Browse files Browse the repository at this point in the history
Added boxlink for contributors.
Removed Twitter widget.
  • Loading branch information
Bilge committed Dec 17, 2024
1 parent 867c04e commit 3a6046d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 39 deletions.
26 changes: 0 additions & 26 deletions assets/css/250.less
Original file line number Diff line number Diff line change
Expand Up @@ -1277,32 +1277,6 @@ tr.a .movement.none:before {

text-align: center;
}

&.tweets {
background: #121a25;
border-radius: 6px;

>.twitter-timeline {
margin: auto;
}

>.more {
float: right;
margin: .5ex 1ch;

color: #98b0df;
font-size: 95%;
font-weight: bold;
text-shadow: -1px 1px 0 #202735;
text-transform: lowercase;
text-underline-offset: 2px;
text-decoration-thickness: 1px;

&:after {
content: ' >';
}
}
}
}
}
}
Expand Down
20 changes: 14 additions & 6 deletions assets/css/inc/nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,22 @@ ol.menu {
display: grid;
grid: auto/auto auto;

>li:first-child {
grid-column: span 2;
>li {
&:first-child {
grid-column: span 2;

font-size: 120%;
font-size: 120%;

>a {
padding-top: 1ex;
padding-bottom: $padding-top;
>a {
padding-top: 1ex;
padding-bottom: $padding-top;
}
}

&:nth-child(2) {
grid-column: span 2;

text-align: center;
}
}
}
Expand Down
19 changes: 12 additions & 7 deletions template/layout/ranking.twig
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,18 @@
</div>
</section>

<div class="tweets">
<h2>Latest tweets</h2>
<a class="twitter-timeline" data-dnt="true" data-theme="dark" data-width="316" data-height="640"
href="https://twitter.com/Steam_250?ref_src=twsrc%5Etfw">Tweets by Steam_250</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<a href="https://twitter.com/Steam_250" class="more" target="_blank">More tweets</a>
</div>
<section class="boxlink">
<a href="{{ discord }}">
<header>Contribute</header>
<div>
<p>
So you <em>can</em> code your way out of a paper bag?
Bring your own ideas or follow our roadmap, we can help guide you.
Just join Discord and say hi!
</p>
</div>
</a>
</section>
{% endblock %}
</div>

Expand Down
1 change: 1 addition & 0 deletions template/layout/template.twig
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
<a>Tag</a>
<ol>
<li><a href="{{ club250 }}/tags" class="tag">Browse all tags</a>
<li><a href="{{ club250 }}/tags/hierarchy">Tag hierarchy</a>
{% for id, tag in tags %}
<li><a href="/tag/{{ tag|tag_id|url_encode ~ ext }}" data-id="{{ id }}">{{ tag }}</a>
{% endfor %}
Expand Down

0 comments on commit 3a6046d

Please sign in to comment.