diff --git a/_pages/group.html b/_pages/group.html index e8e3ce7..17597e0 100644 --- a/_pages/group.html +++ b/_pages/group.html @@ -53,18 +53,46 @@ } .card-body { - background-color: rgba(225, 225, 225, 0.9); /* Light background for text */ z-index: 3; /* Ensure text stays on top */ + padding: 10px; + font-size: 0.55rem; + } + + /* Category Background Colors */ + .category-phd { + background-color: #1a75cf; /* Blue for PhD */ + color: white; + } + + .category-msc { + background-color: #1f8a3d; /* Green for MSc */ + color: white; + } + + .category-staff { + background-color: #4e4e4e; /* Gray for Staff */ + color: white; } .card-title { - font-size: 0.75rem; /* Smaller font for titles */ + font-size: 0.65rem; font-weight: bold; } .card-text { - font-size: 0.6rem; /* Smaller font for details */ - line-height: 0.8; + font-size: 0.55rem; + line-height: 1.2; + } + + /* Responsive Fonts */ + @media (max-width: 768px) { + .card-title { + font-size: 0.6rem; + } + + .card-text { + font-size: 0.5rem; + } } a.card-link { @@ -100,22 +128,22 @@
+ {{ person.category }} {{ person.graduation_start }} - {{ person.graduation_end }} -
-
+
+
Now at {{ person.current_position }}
-