Skip to content

Commit

Permalink
fixed: design features on hackthon box gitcoinco#6870
Browse files Browse the repository at this point in the history
  • Loading branch information
developerfred committed Jun 22, 2020
1 parent ad10737 commit 13439ba
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
23 changes: 19 additions & 4 deletions app/townsquare/templates/townsquare/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
<link rel="stylesheet" href="{% static "v2/css/theme_switcher.css" %}">
<style>
img.hackathon-card-logo{
max-height: 4rem;
max-width: 4rem;
max-height: 5rem;
max-width: 5rem;
border-radius: .3rem;
background: rgb(25, 0, 63);
}

.hackathon-card-logo a {
Expand All @@ -43,29 +45,42 @@
padding: 10px;
border-bottom: 1px solid #ddd;
text-transform: none;
border-radius: 5px 5px 0 0;
}

.box-hackathons {
background: #ffff;
border-bottom: 1px solid #ddd;
border-radius: 0 0 5px 5px;
}

.box-hackathons .card {
border: none;
}

.box-hackathons .card-header {
padding: 1.75rem 1.25rem;
border-bottom: none;
background-color: transparent;
}

.box-hackathons-townsquare .hackathon-actions {
font-weight: 700;
margin: 0;
}

.box-hackathons-townsquare .card-body {
padding: 11px 0;
}

.box-hackathons-townsquare .card-body .font-smaller-2 {
color: #666666;
}

.box-hackathons-townsquare .card-body .font-weight-semibold {
margin: 0;
}

.box-hackathons .view-all {
background-color: #fff;
padding: 0px 0px 0px 20px;
font-weight: 700;
}
Expand Down
2 changes: 1 addition & 1 deletion app/townsquare/templates/townsquare/shared/hackathons.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h5 class="font-subheader font-weight-semibold">
<time class="font-weight-bold"
datetime="{{ hackathon.end_date|date:'c' }}">{{ hackathon.end|date:"m/d/Y" }}</time>
</div>
<div class="mt-3 hackathon-actions">
<div class="mt-1 hackathon-actions">
{% if hackathon.end|timesince <= "1 min" %}
<a href="{% url 'hackathon_onboard' hackathon.slug %}">
Join Hackathon >
Expand Down

0 comments on commit 13439ba

Please sign in to comment.