css update, and profiles template

This commit is contained in:
tavo-wasd 2024-01-25 08:29:09 -06:00
parent f9d5567513
commit cbf1474daa
3 changed files with 43 additions and 4 deletions

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
{{- partial "head.html" . -}}
{{- partial "profileheader.html" . -}}
<body>
<div id="content" class="content">
{{ .Content }}
</div>
</body>
{{- partial "footer.html" . -}}
</html>

View file

@ -0,0 +1,9 @@
<div class="header">
<div class="profilepicture">
<img src="avatar.jpg">
</div>
<div class="desc">
<h1>{{ .Title }}</h1>
<p>{{ .Params.description }}</p>
</div>
</div>

View file

@ -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 */