mirror of
https://gitlab.wasp.best/sel/web.git
synced 2026-07-30 00:48:40 +02:00
new blog post!!! also some small tweaks to css
This commit is contained in:
parent
395eaf1333
commit
7606669394
17 changed files with 239 additions and 9 deletions
|
|
@ -76,6 +76,10 @@ section.full-height {
|
|||
min-height: calc(100vh - 4rem);
|
||||
}
|
||||
|
||||
section.full-height > p {
|
||||
max-width: 60ch;
|
||||
}
|
||||
|
||||
section {
|
||||
border-bottom: 1px solid light-dark(#bcc0cc, #313244);
|
||||
|
||||
|
|
@ -85,8 +89,10 @@ section {
|
|||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
section > p {
|
||||
section.content {
|
||||
max-width: 60ch;
|
||||
border-bottom: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
section > div.buttons {
|
||||
|
|
@ -117,10 +123,6 @@ main > :first-child {
|
|||
padding-top: 4rem;
|
||||
}
|
||||
|
||||
main > :first-child.highlighted {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
main > :first-child.highlighted > p {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
@ -156,6 +158,11 @@ small {
|
|||
color: light-dark(#6c6f85, #a6adc8)
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border: 1px solid light-dark(#bcc0cc, #313244);
|
||||
|
|
@ -211,3 +218,7 @@ li {
|
|||
.tag {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,12 +2,14 @@
|
|||
<section class="highlighted">
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
<p>{{ .Summary }}</p>
|
||||
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format "2006-01-02, 15:04 -07:00" }}
|
||||
<p class="date"><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<section class="content">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue