From 93278c00b745a67fda03395f73c79cb2ddeb12d7 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 6 May 2023 19:41:02 +0000 Subject: update profile vcard to implement the cover image --- view/css/widgets.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'view/css') diff --git a/view/css/widgets.css b/view/css/widgets.css index 6b5ef3986..6f5a90aa5 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -231,6 +231,30 @@ a.wikilist { display: none !important; } +/* vcard */ + +.vcard-card { + background-color: rgba(var(--bs-body-bg-rgb), .7); +} + +.vcard { + word-wrap: break-word; +} + +.profile-edit-side-link { + opacity: 0; + filter:alpha(opacity=0); +} + +.card:hover .profile-edit-side-link { + opacity: 1; + filter:alpha(opacity=100); +} + +#profile-cover-text { + background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent); +} + /* contact block */ .contact-block-div .oneway-overlay { font-size: .9rem; -- cgit v1.2.3