parent
60e1a513e1
commit
750123e0f9
|
@ -53,10 +53,9 @@
|
|||
{{ range .Data.Pages.GroupByParam "section_id" }}
|
||||
|
||||
{{ range .Pages }}
|
||||
{{- $key := substr .Params.title 0 1 }}
|
||||
{{- $rating := index .Site.Data.compatibility .Params.compatibility }}
|
||||
{{- $type := index .Site.Data.gameTypes (.Params.game_type | default "3ds") }}
|
||||
<tr data-key="{{ $key }}">
|
||||
<tr data-key="{{ .Params.section_id }}">
|
||||
<td class="hidden listing-metadata">
|
||||
<span>{{ .Params.title }} {{ $type.name }} {{ $rating.name }} {{ dateFormat "January 2, 2006" .Params.testcase_date }}</span>
|
||||
</td>
|
||||
|
|
|
@ -341,6 +341,18 @@ tbody td {
|
|||
margin: 0 20px;
|
||||
}
|
||||
|
||||
/* Used for showing section id at the start of each game section */
|
||||
.key:after {
|
||||
content: attr(data-key);
|
||||
position: absolute;
|
||||
left: -10px;
|
||||
font-family: Dosis,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
text-transform: lowercase;
|
||||
color: #888;
|
||||
margin: 15px 0;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
/* Downloads */
|
||||
#updater-view, #manual-view, .dl-updater-button, #dl-unknown, #dl-autodetect {
|
||||
display: none;
|
||||
|
|
Reference in New Issue