From b8908ef02c05620c75eab7d8ca01a6ac473a5ee8 Mon Sep 17 00:00:00 2001 From: S-kus Date: Sun, 16 Jan 2022 02:15:36 +0530 Subject: [PATCH] Fix profiles again Bullet points apepared in navbar with 1ae8e43. * updated 'page title' and 'return to main-page', * made page responsive to geometry changes, * add title and last updated, * add return to main page link, * remove extra padding, * use similar font sizes, * remove unused profile layout. --- _layouts/profile.html | 21 --------------------- _layouts/profiles.html | 17 ++++++++++++++++- css/contributors.css | 32 ++++++++++---------------------- 3 files changed, 26 insertions(+), 44 deletions(-) delete mode 100755 _layouts/profile.html diff --git a/_layouts/profile.html b/_layouts/profile.html deleted file mode 100755 index fd7e0c16..00000000 --- a/_layouts/profile.html +++ /dev/null @@ -1,21 +0,0 @@ ---- -layout: default ---- -

{{ page.title }}

-

Last Updated: {{ page.date | date: "%b %-d %Y" }}

-
-{{ content }} -
- -

Return to main page

- diff --git a/_layouts/profiles.html b/_layouts/profiles.html index 6a3851d9..c2473572 100644 --- a/_layouts/profiles.html +++ b/_layouts/profiles.html @@ -6,9 +6,24 @@ +
+ {{ page.title }} +

Last Updated: {{ page.date | date: "%b %-d %Y" }}

+
-
+
{{ content }}
+ + +
+
+ +
+
diff --git a/css/contributors.css b/css/contributors.css index 887f0bb0..83109448 100644 --- a/css/contributors.css +++ b/css/contributors.css @@ -1,50 +1,38 @@ -*{ - line-height: 3rem; -} -.padding{ - padding: 2rem 5rem; - margin-left: 2rem; -} .contributors{ font-size: 2.5rem; } .contributors>ul{ + padding-left: 2rem; word-wrap: break-word; - padding: 0rem 5rem; } .link, .link:active, .link:visited, .contributors>ul{ color: black; text-decoration: black underline !important; } .contributors>ul>li{ - margin-top: 2rem; + margin-bottom: 1rem; + font-size: 2rem; } .contributors>ul>li>a, .contributors>ul>li>p, .contributors>ul>li>p>a { text-decoration: none !important; - font-size: 2.5rem; + font-size: 2rem; font-weight: 500; - padding: 0.5rem 0.5rem; color: black; } .contributors>ul, .contributors>ul:active, .contributors>ul:visited, .contributors>ul:hover{ text-decoration: none !important; } -h3{ - font-size: 4rem; - font-weight: 800; +.contributors>h3{ + font-size: 3rem; + font-weight: 600; padding-left: 2rem; } -strong{ - padding-right: 1rem; -} -ul{ +.contributors>ul{ list-style:disc !important; } -ul>li>ul{ - margin-left:1rem ; +.contributors>ul>li>ul{ list-style: none !important; } -ul>li>ul>li{ - +.contributors>ul>li>ul>li{ font-size: 1.5rem; }