Skip to content

Commit

Permalink
tinkering
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Aug 8, 2023
1 parent 8936573 commit 0311c93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions modules/server/src/main/assets/css/partials/_frontpage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,15 @@
.topic {
padding: 0;
margin-top: 10px;
margin-bottom: 24px;
text-align: center;
li {
list-style: none;
display: inline-block;
a {
color: $gray-lighter;
text-decoration: none;
padding: 0 5px;
padding: 0 4px 0 8px;
&:hover,
&:focus {
color: $brand-primary;
Expand All @@ -57,7 +58,7 @@
}
.super-count {
vertical-align: super;
color: #999;
color: $gray-light;
font-size: small;
}
}
Expand All @@ -67,7 +68,7 @@
font-size: large;
text-align: center;
font-weight: bold;
color: $gray;
color: $gray-light;
margin-top: 24px;
}
}
Expand Down Expand Up @@ -95,6 +96,7 @@
}
.badge-other-versions {
a {
padding-left: 5px;
color: white;
text-decoration: underline;
&:hover,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h4 class="badge-title">@highlight.ecosystem @highlight.currentVersion.version</
@topicsCloud(topics: Seq[TopicCount]) = {
<ul class="topic">
@for(TopicCount(topic, count) <- topics) {
<li><a href="/search?q=*&topics=@topic">@topic</a><span class = "super-count">@count</span></li>
<li><a href="/search?q=*&topics=@topic">@topic</a><span class="super-count">@count</span></li>
}
</ul>
}

0 comments on commit 0311c93

Please sign in to comment.