minor adjust of style

This commit is contained in:
Yan Lin 2026-02-02 16:54:25 +01:00
parent da4ecd6305
commit 54e3135eb0
3 changed files with 199 additions and 205 deletions

View file

@ -1,12 +1,7 @@
{% extends 'base.html' %} {% block title %}Yan Lin's Homepage{% endblock %} {%
block navigation %} {% include 'partials/navigation.html' %} {% endblock %} {%
block content %}
<div
class="row g-0 border rounded text-body-emphasis bg-body-secondary flex-md-row my-4 position-relative shadow-sm transition-shadow"
style="transition: box-shadow 0.2s ease-in-out"
onmouseover="this.classList.remove('shadow-sm'); this.classList.add('shadow')"
onmouseout="this.classList.remove('shadow'); this.classList.add('shadow-sm')"
>
<div class="row g-0 border rounded text-body-emphasis bg-body-secondary flex-md-row my-4 position-relative">
<div class="col p-4 d-flex flex-column position-static">
<h3 class="fst-italic mb-3">Biography - Yan Lin</h3>
<p class="card-text mb-auto" style="font-size: calc(1.0rem + 0.1vw)">