Skip to content

Commit 524c158

Browse files
committed
added bage to notification
1 parent 9bba70f commit 524c158

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

assets/css/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,4 +301,10 @@ background-attachment: fixed !important;
301301
{
302302
font-size:55px;
303303
font-weight:700;
304+
}
305+
.badge
306+
{
307+
font-size:16px !important;
308+
line-height:1.5 !important;
309+
font-weight:normal !important;
304310
}

updates/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ <h3 class="mb-0">Notifications</h3>
3030
</div>
3131
<ul class="list-group list-group-flush">
3232
{% for post in site.posts %}
33-
<li class="list-group-item">
33+
<li class="list-group-item">
34+
<span class="badge badge-danger badge-pill p-2 mr-2"> New !! </span>
3435
<a class="mt-2" href="{{post.url}}">{{post.title}}</a>
3536
</li>
3637
{% endfor %}

0 commit comments

Comments
 (0)