mirror of
https://gitlab.com/tavo-wasd/conex-pages.git
synced 2025-06-06 21:13: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;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.profilepicture img {
|
||||||
|
display: flex;
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-top: 2em;
|
||||||
|
width: 50%;
|
||||||
|
max-width: 250px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
/* SEARCH */
|
/* SEARCH */
|
||||||
|
|
||||||
div.search {
|
div.search {
|
||||||
|
@ -72,6 +81,11 @@ div.cardscontainer p {
|
||||||
line-height: 1.2em;
|
line-height: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.cardscontainer h1,h2,h3 {
|
||||||
|
line-height: 1.2em;
|
||||||
|
margin-bottom: -0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
div.card {
|
div.card {
|
||||||
color: black;
|
color: black;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
@ -98,17 +112,22 @@ div.card:hover {
|
||||||
margin-bottom: 4vh;
|
margin-bottom: 4vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content h1 {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.content p,li {
|
.content p,li {
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content p {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
|
||||||
.content img {
|
.content img {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
margin: 1em 0;
|
||||||
|
|
||||||
.content p {
|
|
||||||
text-align: justify;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FOOTER */
|
/* FOOTER */
|
||||||
|
|
Loading…
Reference in a new issue