Commit 8a6b7a91 authored by Eyad Hasan's avatar Eyad Hasan

Removed inline CSS and instead moved it to style.css

parent 2e9fa7e2
......@@ -120,3 +120,10 @@ outline-offset: none;
.img-right {
float: right;
}
.img-circle {
margin-right: 10px;
margin-left: -2px;
margin-top: -5px;
margin-bottom: -5px;
}
......@@ -28,7 +28,7 @@
</li>
<!-- Puts profile picture in navbar next to username-->
<li><a href="{{ user.student.get_absolute_url }}"><img src="{{ request.user.student.profile_image_url }}" height="30" width="30" style="margin: -5px 10px" alt="{{ student.profile_image_url }}" class="img-circle">{{ user.username }}</a>
<li><a href="{{ user.student.get_absolute_url }}"><img src="{{ request.user.student.profile_image_url }}" height="30" width="30" alt="{{ student.profile_image_url }}" class="img-circle">{{ user.username }}</a>
</li>
<li class="visible-lg visible-md visible-sm">
<a href="{% url 'update_student' request.user.username %}"><i class="fa fa-cog fa-fw fa-lg"></i></a>
......
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