pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/scientific-python/scientific-python.org/pull/646/files

://github.githubassets.com/assets/code-34e10031edc15af1.css" /> Add SPEC tags rendering by stefanv · Pull Request #646 · scientific-python/scientific-python.org · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ table.spec__table thead {
width: 20rem;
}

.spec__label {
border-radius: 10px;
background: var(--pst-color-info-bg);
color: var(--pst-color-info);
padding-left: 0.5rem;
padding-right: 0.5rem;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}

.spec__status a {
font-weight: normal;
text-decoration: none;
Expand Down
20 changes: 14 additions & 6 deletions layouts/partials/specs/spec_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<tr>
<td>Recommendations</td>
<td title="The following projects support these recommendations">
Endorsed By
Endorsed By
</td>
<td>
Tags
</td>
</tr>
</thead>
Expand All @@ -22,14 +25,19 @@
{{- range $idx, $el := $endorsed_by }}
{{ $project_page := $.GetPage (printf "core-projects/%s" $el) }}
{{ $url := $project_page.RelPermalink }}
<a href="{{ $url }}">
<img title="{{ $project_page.Title }}" src="{{ $project_page.Params.avatar }}" class="icon"/>
</a>
{{ end }}
<a href="{{ $url }}">
<img title="{{ $project_page.Title }}" src="{{ $project_page.Params.avatar }}" class="icon"/>
</a>
{{ end }}
{{ else }}
DRAFT
DRAFT
{{ end -}}
</td>
<td class="spec__tags">
{{ range .Params.tags }}
<span class="spec__label"> {{ . }}</span>
{{ end }}
</td>
</tr>
{{ end }}
{{- end }}
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy