readme merge

This commit is contained in:
Oliver Atkinson 2023-01-07 14:09:01 -07:00 committed by Oliver Atkinson
parent 809b1bcc8c
commit f6ef294529
3 changed files with 61 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Lugo - a fork of Luke's theme
# Oliver's Hugo Theme
A basic hugo theme based off of [Luke Smith's](https://lukesmith.xyz) hugo theme. Quite a lot has been changed so it is barely a fork at this point.
Fork of [lugo](https://github.com/LukeSmithxyz/lugo). Used for my personal website(s).
## Get started

View File

@ -5,7 +5,16 @@
<body>
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
<main>
<header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
<header>
<h1 id="tag_{{ .Title }}">
{{ if .IsHome }} {{ .Site.Title }} {{ end }}
{{ block "title" . }}
{{ end }}</h1>
<h4 id="tag_{{ .Title }}">
{{ if not .IsHome }} {{ .Params.description }} {{ end }}
</h4>
</header>
<article>
{{ block "main" . }}
{{ .Content }}

View File

@ -16,10 +16,28 @@ main {
max-width: 75%;
margin: auto;
}
header h1 {
h1 {
text-align: center;
}
h2 {
text-align: center;
}
h3 {
text-align: center;
}
h4 {
text-align: center;
}
header h1 {
color: white;
}
header h4 {
/*
The color half-way between the
background color and pure white
*/
color: rgb(163, 163, 163);
}
a:link {
color: white;
}
@ -42,6 +60,9 @@ hr {
border-top: 2px solid cadetblue;
border-radius: 4px;
}
br {
clear: both;
}
pre {
/*
This has to be flagged important because somewhere in hugo a style
@ -69,14 +90,21 @@ code {
border-radius: 4px;
}
img {
border-radius: 4px;
}
article img {
max-width: 100%;
max-height: 100%;
outline: cadetblue solid 3px;
}
figure {
margin: 2%;
}
footer {
padding-top: 2%;
text-align: center;
clear: both;
}
footer a:any-link {
color: white;
}
@ -112,3 +140,22 @@ main {
clear: both;
color: rgb(64, 64, 64);
}
/* For putting right / left boxes next to each other */
.left {
width: 45%;
padding-right: 5%;
float: left;
clear: both;
}
.right {
width: 45%;
padding-left: 5%;
float: right;
}
.subtext {
color: rgb(69, 69, 69);
font-style: italic;
}