minor adjust of style
This commit is contained in:
parent
da4ecd6305
commit
54e3135eb0
3 changed files with 199 additions and 205 deletions
|
|
@ -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)">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue