diff --git a/public/css/components/mini_profile.css b/public/css/components/mini_profile.css new file mode 100644 index 0000000..dcfe646 --- /dev/null +++ b/public/css/components/mini_profile.css @@ -0,0 +1,76 @@ +.profile-list { + display: flex; + flex-direction: column; + width: 70%; + margin: 0 auto; +} + +.profile-card { + display: flex; + flex-direction: column; + gap: 1rem; + padding: 10px; + box-sizing: border-box; + text-align: center; + border: 1px solid #ddd; + border-radius: 1rem; + margin: 5px; + background-color: white; + + .profile-user { + display: flex; + flex-direction: rows; + justify-content: space-around; + align-items: center; + + .profile-name { + font-size: 2em; + font-weight: bold; + } + + a { + font-size: 2em; + font-weight: bold; + margin: 0; + } + } + + .profile-info { + display: flex; + flex-direction: row; + justify-content: space-around; + + .profile-info-element { + display: flex; + flex-direction: column; + align-items: center; + } + } +} + +.profile-card img { + width: 100px; + height: 100px; + object-fit: cover; +} + +.profile-card a { + display: block; + margin-top: 10px; + text-decoration: none; + color: #333; +} + +.profile-card a:hover { + text-decoration: underline; +} + +.title { + color: white; + font-size: 2em; +} + +a { + text-decoration: none; + color: black; +} \ No newline at end of file diff --git a/templates/profil/follow-list.html.twig b/templates/profil/follow-list.html.twig index 4ade7db..3b712a1 100644 --- a/templates/profil/follow-list.html.twig +++ b/templates/profil/follow-list.html.twig @@ -1,53 +1,18 @@ -{# templates/profil/list.html.twig #} - {% extends 'base.html.twig' %} {% block title %}Liste des Profils{% endblock %} {% block stylesheets %} - - - + {% endblock %} {% block body %} - -