Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ body {
flex: 1;
}

.card:target {
border-color: #1595fe;
}

.card-body p {
margin-bottom: 0;
margin-top: 0;
Expand All @@ -67,6 +71,10 @@ body {
margin-bottom: 0.4rem;
}

.card:target .card-title {
font-weight: bold;
}

/* ------------------------------ Index ------------------------------------- */

.progress-bar-container {
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="row">
{% for project in completion_progress | sort(attribute='completion') | reverse %}
<div class="col-12 col-sm-6 col-md-4 d-flex">
<div class="card shadow mb-3 w-100">
<div id="{{ project.language.code }}" class="card shadow mb-3 w-100">
<div class="card-body">
<h3 class="card-title">{{ project.language.name }}</h3>
<h5 class="card-subtitle mb-2 text-muted">{{ project.translated_name }}</h5>
Expand Down
Loading