Skip to content

Commit

Permalink
Merge pull request #1435 from ubyssey/1434-deck
Browse files Browse the repository at this point in the history
changed style on above cut lede and added the option to default header
  • Loading branch information
SamuelmdLow authored Mar 4, 2024
2 parents 5794758 + 86f6322 commit c91daa0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions article/templates/article/article_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ <h3>BREAKING: {{ breaking.headline|safe }}</h3>

<div class="u-container u-container--content u-container--padded">
<h1 class="o-headline o-headline--article">{{ self.title|safe }}</h1>
{% if self.fw_above_cut_lede %}
<p class="fw-description">{{ self.fw_above_cut_lede }}</p>
{% endif %}
<div class="c-article__info">
{% comment %}
{% include 'objects/social-icons.html' with article=article layout='top' %}
Expand Down
5 changes: 5 additions & 0 deletions ubyssey/static_src/src/styles/modules/article/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,11 @@ div.indicator {
padding-right: 1em;
}

p.fw-description {
font-family: $font-body;
font-size: 18px;
}

.c-article__featured-media {
// Structure
max-width: 585px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@
}

p.fw-description {
font-family: $font-headline;
font-size: 16px;
color: #464646;
font-family: $font-body;
font-size: 18px;
}

&.top-image {
Expand Down

0 comments on commit c91daa0

Please sign in to comment.