Green header colour as per header
This commit is contained in:
@@ -51,7 +51,6 @@
|
||||
@import 'elements/notification';
|
||||
@import 'elements/alertbar';
|
||||
@import 'elements/utilities';
|
||||
@import 'elements/avatar';
|
||||
|
||||
/**
|
||||
/* Sections
|
||||
@@ -61,7 +60,7 @@
|
||||
@import 'sections/forum';
|
||||
@import 'sections/people';
|
||||
@import 'sections/events';
|
||||
|
||||
@import 'sections/contributors';
|
||||
|
||||
/**
|
||||
/* Pages
|
||||
|
||||
@@ -3,35 +3,13 @@
|
||||
@foreach (var contributor in Model.Contributors)
|
||||
{
|
||||
<a href="@contributor.HtmlUrl" class="contributor" target="_blank">
|
||||
<div class="avatar" style="position: relative;">
|
||||
<div class="avatar">
|
||||
<img alt="@contributor.Login" src="@contributor.AvatarUrl" title="@contributor.Login" />
|
||||
<span class="contrib-count" title="@(contributor.Contributions + " contributions")">@contributor.Contributions</span>
|
||||
</div>
|
||||
</a>
|
||||
}
|
||||
|
||||
<style>
|
||||
.contributor {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.contributor img {
|
||||
border: 3px solid #98d768;
|
||||
}
|
||||
|
||||
.contrib-count {
|
||||
position: absolute;
|
||||
left: 25px;
|
||||
bottom: 0px;
|
||||
text-align: center;
|
||||
right: 25px;
|
||||
color: #425a2e;
|
||||
font-weight: bold;
|
||||
background-color: #98d768;
|
||||
border-radius: 15px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@if (Model.Contributors.Any() == false)
|
||||
{
|
||||
<h2>Could not load recent GitHub contributors.</h2>
|
||||
|
||||
Reference in New Issue
Block a user