Skip to content
Merged
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
27 changes: 27 additions & 0 deletions lccf_assets/snippets/news-styles-scripts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{% load static %}
<style id="news-styles-scripts--css">
@import url("{% static "site_cms/css/build/app.blog.css" %}") layer(project);

/* to hide "Back" link (which opens all TACC news) */
.blog-back {
display: none;
}

/* to remove bottom border of last article if no pagination */
.blog-list:not(
:has(.pagination)
) article:last-of-type {
border-bottom: unset;
}

/* to hide the "— Lccf" in news list title */
:is(.blog-list) h1 > strong::after, /* the "—" */
:is(.blog-list) h1 > em /* the "Lccf" */ {
display: none;
}
</style>
<script id="news-styles-scripts--js" type="module">
import { changeHowExternalArticleOpens } from '{% static "site_cms/js/modules/manageExternalArticles.js" %}';

changeHowExternalArticleOpens('external');
</script>