minor css stuff, new headers
This commit is contained in:
parent
f05115de6f
commit
5ae45a9d73
4 changed files with 30 additions and 4 deletions
|
@ -2,12 +2,12 @@
|
||||||
title: Home
|
title: Home
|
||||||
permalink: /
|
permalink: /
|
||||||
---
|
---
|
||||||
<h1>Lynnesbian dot Space</h1>
|
{% include h.html level=1 content="Lynnesbian dot Space" %}
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Welcome to my website, where I write about and catalogue things that are interesting to me, and maybe even to you, too!
|
Welcome to my website, where I write about and catalogue things that are interesting to me, and maybe even to you, too!
|
||||||
</p>
|
</p>
|
||||||
<h2>About me</h2>
|
{% include h.html level=2 content="About me" %}
|
||||||
<p>
|
<p>
|
||||||
At some point I will write more here.
|
At some point I will write more here.
|
||||||
<p>
|
<p>
|
||||||
|
|
1
_includes/h.html
Normal file
1
_includes/h.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<h{{ include.level }} id="#{{ include.content | slugify }}"><a href="#{{ include.content | slugify }}">{{ include.content }}</a></h{{ include.level }}>
|
|
@ -5,6 +5,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||||
<link rel="stylesheet" type="text/css" href="/assets/style.css">
|
<link rel="stylesheet" type="text/css" href="/assets/style.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/fonts/fonts.css">
|
||||||
<script src='/assets/script.js'></script>
|
<script src='/assets/script.js'></script>
|
||||||
{% comment %}<script async src="https://ackee.lynnesbian.space/script.js" data-ackee-server="https://ackee.lynnesbian.space" data-ackee-domain-id="f0217e7d-ec2a-4a9b-baf3-d2d2215810ba"></script>{% endcomment %}
|
{% comment %}<script async src="https://ackee.lynnesbian.space/script.js" data-ackee-server="https://ackee.lynnesbian.space" data-ackee-domain-id="f0217e7d-ec2a-4a9b-baf3-d2d2215810ba"></script>{% endcomment %}
|
||||||
<title>{{ page.title | default: "lynnesbian dot space" }}</title>
|
<title>{{ page.title | default: "lynnesbian dot space" }}</title>
|
||||||
|
|
|
@ -9,6 +9,28 @@ body {
|
||||||
background: #ccc;
|
background: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
font-family: "Open Sans", sans-serif;
|
||||||
|
}
|
||||||
|
h1 a,
|
||||||
|
h2 a,
|
||||||
|
h3 a,
|
||||||
|
h4 a,
|
||||||
|
h5 a,
|
||||||
|
h6 a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
h1, h2 {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 2em;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: 1.6em;
|
||||||
|
}
|
||||||
|
|
||||||
main article {
|
main article {
|
||||||
max-width: 1800px;
|
max-width: 1800px;
|
||||||
box-shadow: 0 0 20px #777;
|
box-shadow: 0 0 20px #777;
|
||||||
|
@ -22,7 +44,9 @@ main article {
|
||||||
|
|
||||||
main article h1,
|
main article h1,
|
||||||
main article h2 {
|
main article h2 {
|
||||||
margin-left: -20px;
|
border-left: 5px solid mediumpurple;
|
||||||
|
padding-left: 5px;
|
||||||
|
margin-left: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
@ -53,4 +77,4 @@ nav a:hover {
|
||||||
display: block;
|
display: block;
|
||||||
width: min(100%, 150px);
|
width: min(100%, 150px);
|
||||||
margin: 30px auto 80px auto;
|
margin: 30px auto 80px auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue