Commit f432467c authored by Titia de Castro's avatar Titia de Castro

added announcement index styles

parent 4adf1242
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
{% block title %}Announcements{% endblock %} {% block title %}Announcements{% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{% static 'css/styles.css' %}"> <link rel="stylesheet" href="{% static 'announcements.css' %}">
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h1>Announcement Board</h1> <h1 class="announcement-heading">Announcement Board</h1>
<h2>Important Announcements:</h2> <h2 class="announcement-subheading">Important Announcements:</h2>
<ul> <ul class="announcement-list">
{% for announcement in announcements %} {% for announcement in announcements %}
<li> <li>
<a href="/announcements/{{ announcement.id }}/details"> <a href="/announcements/{{ announcement.id }}/details">
......
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
* {
font-family: 'Open Sans', sans-serif;
box-sizing: border-box;
margin: 0;
padding: 6px;
}
.announcement-heading {
text-align: center;
}
.announcement-subheading {
font-weight: 500;
}
.announcement-list {
margin-left: 24px;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment