From 942c9a08961c3092029c0bf1c0ac8ec3d1b89011 Mon Sep 17 00:00:00 2001 From: Mavlon4658 Date: Mon, 7 Apr 2025 20:56:37 +0500 Subject: [PATCH] author pages are ready --- assets/css/gp-style-desktop.css | 20 +++++++--- assets/css/gp-style-mobile.css | 15 ++++--- assets/css/gp-style-tablet.css | 2 +- author.html | 6 +-- authors.html | 70 +++++++++++++++++++-------------- 5 files changed, 67 insertions(+), 46 deletions(-) diff --git a/assets/css/gp-style-desktop.css b/assets/css/gp-style-desktop.css index 1c19497..e053e36 100644 --- a/assets/css/gp-style-desktop.css +++ b/assets/css/gp-style-desktop.css @@ -420,7 +420,6 @@ .authors li { background: #F5F5F5; border-radius: 48px; - padding: 52px 17px 57px; display: flex; flex-direction: column; align-items: center; @@ -428,6 +427,15 @@ width: calc(100% / 3 - 16px); } +.authors a { + padding: 52px 17px 57px; + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + align-items: center; +} + .authors .main-img { width: 200px; height: 200px; @@ -443,7 +451,7 @@ object-fit: cover; } -.authors h3 { +.authors-name { font-size: 24px; font-weight: bold; text-transform: uppercase; @@ -452,7 +460,7 @@ margin-bottom: 5px; } -.authors h4 { +.authors-type { color: #121212; font-size: 24px; font-weight: 500; @@ -494,7 +502,7 @@ object-fit: cover; } -.author h3 { +.author-name { font-size: 24px; font-weight: bold; line-height: 28px; @@ -503,7 +511,7 @@ text-transform: uppercase; } -.author h5 { +.author-type { font-size: 24px; font-weight: 500; line-height: 32px; @@ -511,7 +519,7 @@ margin-bottom: 5px; } -.author h4 { +.author-description { font-size: 24px; font-weight: 500; line-height: 32px; diff --git a/assets/css/gp-style-mobile.css b/assets/css/gp-style-mobile.css index bb68057..b87e1ed 100644 --- a/assets/css/gp-style-mobile.css +++ b/assets/css/gp-style-mobile.css @@ -142,10 +142,13 @@ } .authors li { - padding: 32px 17px 52px; border-radius: 24px; width: 100%; } + + .authors a { + padding: 32px 17px 52px; + } .authors .main-img { width: 180px; @@ -153,12 +156,12 @@ margin-bottom: 20px; } - .authors h3 { + .authors-name { font-size: 20px; line-height: 24px; } - .authors h4 { + .authors-type { font-size: 18px; line-height: 24px; margin-bottom: 20px; @@ -186,17 +189,17 @@ line-height: 38px; } - .author h3 { + .author-name { font-size: 20px; line-height: 24px; } - .author h5 { + .author-type { font-size: 18px; line-height: 24px; } - .author h4 { + .author-description { font-size: 18px; line-height: 24px; margin-bottom: 24px; diff --git a/assets/css/gp-style-tablet.css b/assets/css/gp-style-tablet.css index 7904f94..a14d4a3 100644 --- a/assets/css/gp-style-tablet.css +++ b/assets/css/gp-style-tablet.css @@ -129,8 +129,8 @@ } .authors li { - width: calc(50% - 12px); border-radius: 32px; + width: calc(50% - 12px); } .authors .main-img { diff --git a/author.html b/author.html index a778938..ab331ba 100644 --- a/author.html +++ b/author.html @@ -124,9 +124,9 @@
-

АвТОР АВТОР 1

-
главный редактор
-

Эксперт компании Cosmopet

+
АвТОР АВТОР 1
+
главный редактор
+
Эксперт компании Cosmopet

статей: 10

diff --git a/authors.html b/authors.html index dc61b1d..05a1391 100644 --- a/authors.html +++ b/authors.html @@ -122,44 +122,54 @@

Все авторы