mirror of
https://gitlab.com/tavo-wasd/conex-pages.git
synced 2025-06-06 13:03:29 -06:00
css update, and profiles template
This commit is contained in:
parent
f9d5567513
commit
cbf1474daa
3 changed files with 43 additions and 4 deletions
11
themes/default/layouts/_default/profile.html
Normal file
11
themes/default/layouts/_default/profile.html
Normal 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>
|
9
themes/default/layouts/partials/profileheader.html
Normal file
9
themes/default/layouts/partials/profileheader.html
Normal 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>
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue