Skip to content

Commit 466bea2

Browse files
clean up
1 parent 809021c commit 466bea2

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<!-- breaking news banner (for demo purposes) -->
22
<div class="breaking-news-organism" id="primary-content">
33
<div class="breaking-news-macro">
4-
<div>
5-
<h3 class="h4"><span class="breaking-title">BREAKING NEWS: </span> <a href="https://alpha.montrealgazette.com/site-services/Newsletters/montreal-sports-newsletter/article54991.html"> Cricket is treated as the celebration in India </a></h3>
6-
</div>
7-
<div class="close-breaking-news">
8-
<svg xmlns="http://www.w3.org/2000/svg" height="13.19px" viewBox="5.41 5.41 13.18 13.18" width="13.19px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M18.3 5.71c-.39-.39-1.02-.39-1.41 0L12 10.59 7.11 5.7c-.39-.39-1.02-.39-1.41 0-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"/></svg>
9-
</div>
4+
<h3 class="h4">
5+
<span class="breaking-title">BREAKING NEWS: </span>
6+
<a href="https://alpha.montrealgazette.com/site-services/Newsletters/montreal-sports-newsletter/article54991.html"> Cricket is treated as the celebration in India </a>
7+
</h3>
8+
<div class="close-breaking-news">
9+
<svg xmlns="http://www.w3.org/2000/svg" height="13.19px" viewBox="5.41 5.41 13.18 13.18" width="13.19px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M18.3 5.71c-.39-.39-1.02-.39-1.41 0L12 10.59 7.11 5.7c-.39-.39-1.02-.39-1.41 0-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"/></svg>
10+
</div>
1011
</div>
1112
</div>

static/css/cards/breaking-news-banner.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
*/
66

77
.breaking-news-organism {
8-
--fill-color: var(--white);
98
color: var(--white);
109
background-color: var(--red);
10+
--text-color: var(--white);
11+
--fill-color: var(--text-color);
1112
max-width: 100%;
1213
height: 41px;
1314
}
@@ -28,11 +29,11 @@
2829
margin: 0;
2930
}
3031

31-
.breaking-news-macro div.breaking-title {
32-
font-weight: bold;
32+
.breaking-title {
33+
font-weight: 400;
3334
}
3435

35-
.breaking-news-macro div.close-breaking-news {
36+
.close-breaking-news {
3637
flex: none;
3738
align-content: center;
3839
opacity: 1;

0 commit comments

Comments
 (0)