From cbf1474daa3d02b6d121696fc52f567ea6032d8d Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Thu, 25 Jan 2024 08:29:09 -0600 Subject: [PATCH] css update, and profiles template --- themes/default/layouts/_default/profile.html | 11 ++++++++ .../layouts/partials/profileheader.html | 9 +++++++ themes/default/static/css/default.css | 27 ++++++++++++++++--- 3 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 themes/default/layouts/_default/profile.html create mode 100644 themes/default/layouts/partials/profileheader.html diff --git a/themes/default/layouts/_default/profile.html b/themes/default/layouts/_default/profile.html new file mode 100644 index 0000000..9ce434b --- /dev/null +++ b/themes/default/layouts/_default/profile.html @@ -0,0 +1,11 @@ + + +{{- partial "head.html" . -}} +{{- partial "profileheader.html" . -}} + +
+ {{ .Content }} +
+ +{{- partial "footer.html" . -}} + diff --git a/themes/default/layouts/partials/profileheader.html b/themes/default/layouts/partials/profileheader.html new file mode 100644 index 0000000..556c1ac --- /dev/null +++ b/themes/default/layouts/partials/profileheader.html @@ -0,0 +1,9 @@ +
+
+ +
+
+

{{ .Title }}

+

{{ .Params.description }}

+
+
diff --git a/themes/default/static/css/default.css b/themes/default/static/css/default.css index d92c432..d47ea8a 100644 --- a/themes/default/static/css/default.css +++ b/themes/default/static/css/default.css @@ -37,6 +37,15 @@ div.banner p { color: white; } +div.profilepicture img { + display: flex; + margin: 0 auto; + margin-top: 2em; + width: 50%; + max-width: 250px; + border-radius: 50%; +} + /* SEARCH */ div.search { @@ -72,6 +81,11 @@ div.cardscontainer p { line-height: 1.2em; } +div.cardscontainer h1,h2,h3 { + line-height: 1.2em; + margin-bottom: -0.4em; +} + div.card { color: black; border-radius: 10px; @@ -98,17 +112,22 @@ div.card:hover { margin-bottom: 4vh; } +.content h1 { + margin-top: 1em; +} + .content p,li { line-height: 1.4em; } +.content p { + text-align: justify; +} + .content img { margin: 0 auto; width: 100%; -} - -.content p { - text-align: justify; + margin: 1em 0; } /* FOOTER */