style fixes to keep links page 3 columns
This commit is contained in:
parent
90c04ab544
commit
d6899677d1
|
@ -2,7 +2,6 @@
|
|||
title: "Projects"
|
||||
date: 2023-10-09T14:21:12-07:00
|
||||
---
|
||||
# Projects
|
||||
|
||||
Here are some projects I'm currently working on or have worked on in the past.
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{{- $u := urls.Parse .Destination -}}
|
||||
<a href="{{ .Destination | safeURL }}"
|
||||
{{- with .Title }} title="{{ . }}"{{ end -}}
|
||||
{{- if $u.IsAbs }} rel="external"{{ end -}}
|
||||
>
|
||||
{{- with .Text | safeHTML }}{{ . }}{{ end -}}
|
||||
</a>{{- if $u.IsAbs }}🔗{{ end -}}
|
||||
{{- /* chomp trailing newline */ -}}
|
||||
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
{{ .name }}
|
||||
<p>
|
||||
{{ $u := urls.Parse .url }}
|
||||
<a target="_blank" href="{{ .url }}" >{{ $u.Hostname }}</a>
|
||||
🔗<a target="_blank" href="{{ .url }}" >{{ $u.Hostname }}</a>
|
||||
</p>
|
||||
</summary>
|
||||
{{ .description }}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<section class="content">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<section class="content">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<section class="content">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<section class="content posts h-feed hfeed">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<section class="content posts h-feed hfeed">
|
||||
{{ range .Pages }}
|
||||
<article class="h-entry">
|
||||
<h2><a class="title u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<section class="content posts h-feed hfeed">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<section class="content posts h-feed hfeed">
|
||||
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
|
||||
<article class="h-entry">
|
||||
{{ partial "post-header.html" .}}
|
||||
|
|
|
@ -265,13 +265,13 @@ nav li a:hover, nav li a:active {
|
|||
display: flex;
|
||||
flex-flow: row wrap-reverse;
|
||||
box-shadow: 10px 5px 5px #00000066;
|
||||
padding: 30px;
|
||||
padding: 30px 0;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
flex: 0 1 20%;
|
||||
border-right: 1px solid black;
|
||||
padding: 15px 15px 15px 0;
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.sidebar h1 {
|
||||
|
@ -321,7 +321,7 @@ nav li a:hover, nav li a:active {
|
|||
|
||||
main {
|
||||
flex: 1 3 70%;
|
||||
padding: 15px 15px 15px 30px;
|
||||
padding: 0 25px;
|
||||
}
|
||||
|
||||
main li {
|
||||
|
@ -445,7 +445,7 @@ h3.index {
|
|||
flex-flow: row wrap;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
#links-main ul {
|
||||
|
@ -481,10 +481,14 @@ h3.index {
|
|||
.links-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 3 10%;
|
||||
flex: 1 3 20%;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.links-column h2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* webmention box */
|
||||
|
||||
.send-webmention {
|
||||
|
|
Loading…
Reference in New Issue