diff --git a/static/main.css b/static/main.css index d2f410e3..aecf157a 100644 --- a/static/main.css +++ b/static/main.css @@ -1,3 +1,56 @@ +.bio { + padding: 2rem 0rem; + height: 45%; +} + +.card .card-action { + background-color: #263238; + color:white; + height: 380px; + padding: 10px; +} + +.contributor-card { + width: 300px; +} + +.contributor-image { + margin-top: -5rem; + border-radius: 100%; + max-width:40%; +} + +.contributors { + display: flex; + flex-wrap: wrap; + justify-content: space-around; +} + +.data { + background-color: #263238; + height: 300px; + padding: 10px; +} + +.empty { + background-color: #eceff1; + height: 5em; +} + +.github-icon { + width: 100px; + background-color: black; +} + +.icon { + font-size:30px; + color: white; +} + +.stats { + margin: 1rem 0rem; +} + .student { padding-bottom: 20px; } @@ -5,3 +58,11 @@ .students { list-style: none; } + +.tiny-label { + font-size: 12px; + letter-spacing: 0.1em; + text-align: center; + font-weight: 500; + opacity: 0.2; +} diff --git a/templates/contributors.html b/templates/contributors.html index 32abe1a6..a4042478 100644 --- a/templates/contributors.html +++ b/templates/contributors.html @@ -1,40 +1,60 @@ +{% load staticfiles %}
- + + +login: {{ contributor.login }}
-name: {{ contributor.name }}
-bio: {{ contributor.bio }}
-num_commits: {{ contributor.num_commits }}
-reviews: {{ contributor.reviews }}
-issues_opened: {{ contributor.issues_opened }}
-teams: - {% for team in contributor.teams.all %} - {{ team.name }} - {% endfor %}{# for team in contributor.teams.all #} -
+