Commit 349ca2e3 authored by Charles Lim's avatar Charles Lim

Changed stying of assignment page

parent e2cfce4e
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
.subtable { .subtable {
flex-wrap:wrap; flex-wrap:wrap;
align-items: center;
} }
.subtable>* { .subtable>* {
...@@ -39,4 +40,20 @@ ...@@ -39,4 +40,20 @@
#assignment-image { #assignment-image {
max-width:25em; max-width:25em;
}
.assignment-name {
color: white;
text-decoration: none;
}
.table-links {
text-decoration: none;
transition: .2s ease-in-out;
}
.table-links:hover {
background-color: #9b00f5;
font-size: 25px;
font-weight: 700;
} }
\ No newline at end of file
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<li>No assignments found.</li> <li>No assignments found.</li>
{% else %} {% else %}
{% for assignment in course.assignment_set.all %} {% for assignment in course.assignment_set.all %}
<a href='{{request.path}}{{assignment.pk}}/details'><li>{{assignment.name}}</li></a> <a class="table-links" href='{{request.path}}{{assignment.pk}}/details'><li class="assignment-name">{{assignment.name}}</li></a>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</ul> </ul>
......
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