Skip to content

Commit

Permalink
changinmg styles
Browse files Browse the repository at this point in the history
  • Loading branch information
romer8 committed Dec 19, 2023
1 parent b395b05 commit 1abd03f
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions backend/templates/single_hs_resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,23 @@
</div>
<div class="col-md-8 col-lg-8">
<div class="card-body">
<h5 class="card-title card-h5">{{ resource.title }}</h5>
<div style="width:fit-content;">
<p class="card-text my-2 fs-6 lh-1.5 fw-light d-flex flex-row justify-content-between w-100 gap-3 " style="max-width:300px;">
{% if resource.github_url %}
<a href="{{ resource.github_url }}" target="_blank" class="text-decoration-none text-secondary" title="source_code"> <i class="bi bi-github"></i></a>
{% endif %}
{% if resource.web_site_url %}
<a href="{{ resource.web_site_url }}" target="_blank" class="text-decoration-none text-secondary" title="web page"> <i class="bi bi-arrow-up-right-square"></i> </a>
{% endif %}
{% if resource.documentation_url %}
<a href="{{ resource.documentation_url }}" target="_blank" class="text-decoration-none text-secondary" title="documentation"> <i class="bi bi-journals"></i> </a>
{% endif %}
</p>
<div style="display:flex; align-items: baseline; gap:10px;">
<h5 class="card-title card-h5">{{ resource.title }}</h5>
<div style="width:fit-content;">
<p class="card-text my-2 fs-6 lh-1.5 fw-light d-flex flex-row justify-content-between w-100 gap-3 " style="max-width:300px;">
{% if resource.github_url %}
<a href="{{ resource.github_url }}" target="_blank" class="text-decoration-none text-secondary" title="source_code"> <i class="bi bi-github"></i></a>
{% endif %}
{% if resource.web_site_url %}
<a href="{{ resource.web_site_url }}" target="_blank" class="text-decoration-none text-secondary" title="web page"> <i class="bi bi-arrow-up-right-square"></i> </a>
{% endif %}
{% if resource.documentation_url %}
<a href="{{ resource.documentation_url }}" target="_blank" class="text-decoration-none text-secondary" title="documentation"> <i class="bi bi-journals"></i> </a>
{% endif %}
</p>
</div>
</div>

<p class="card-subtitle mb-2 text-muted fst-italic">{{ resource.subtitle }}</p>
<div class="d-flex flex-column">
<div>
Expand Down

0 comments on commit 1abd03f

Please sign in to comment.