Format files

pull/4/head
Maik de Kruif 4 years ago
parent 3044b66a6e
commit ce8ae5abff
No known key found for this signature in database
GPG Key ID: 46C1200ACD3A432F
  1. 21
      themes/maik-blog/archetypes/default.md
  2. 23
      themes/maik-blog/archetypes/posts.md
  3. 66
      themes/maik-blog/assets/scss/_normalize.scss
  4. 32
      themes/maik-blog/layouts/_default/baseof.html
  5. 4
      themes/maik-blog/layouts/partials/theme-icon.html

@ -1,8 +1,13 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
comments: false
images:
---
+++
author = "Maik de Kruif"
title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
description = ""
images = []
tags = [
"untagged",
]
categories = [
"uncategorized",
]
+++

@ -1,10 +1,13 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
toc: false
images:
tags:
- untagged
---
+++
author = "Maik de Kruif"
title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
description = ""
images = []
tags = [
"untagged",
]
categories = [
"uncategorized",
]
+++

@ -24,8 +24,8 @@
}
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
line-height: 1.15; // 1
-webkit-text-size-adjust: 100%; // 2
}
/* Sections
@ -66,9 +66,9 @@ h1 {
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
box-sizing: content-box; // 1
height: 0; // 1
overflow: visible; // 2
}
/**
@ -77,9 +77,9 @@ hr {
*/
pre {
font-family: monospace, monospace; /* 1 */
font-family: monospace, monospace; // 1
font-display: auto;
font-size: 1em; /* 2 */
font-size: 1em; // 2
}
/* Text-level semantics
@ -99,9 +99,9 @@ a {
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
border-bottom: none; // 1
text-decoration: underline; // 2
text-decoration: underline dotted; // 2
}
/**
@ -121,9 +121,9 @@ strong {
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-family: monospace, monospace; // 1
font-display: auto;
font-size: 1em; /* 2 */
font-size: 1em; // 2
}
/**
@ -179,11 +179,11 @@ input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-family: inherit; // 1
font-display: auto;
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
font-size: 100%; // 1
line-height: 1.15; // 1
margin: 0; // 2
}
/**
@ -192,8 +192,8 @@ textarea {
*/
button,
input { /* 1 */
overflow: visible;
input {
overflow: visible; // 1
}
/**
@ -202,8 +202,8 @@ input { /* 1 */
*/
button,
select { /* 1 */
text-transform: none;
select {
text-transform: none; // 1
}
/**
@ -256,12 +256,12 @@ fieldset {
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
box-sizing: border-box; // 1
color: inherit; // 2
display: table; // 1
max-width: 100%; // 1
padding: 0; // 3
white-space: normal; // 1
}
/**
@ -287,8 +287,8 @@ textarea {
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
box-sizing: border-box; // 1
padding: 0; // 2
}
/**
@ -306,8 +306,8 @@ textarea {
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
-webkit-appearance: textfield; // 1
outline-offset: -2px; // 2
}
/**
@ -324,8 +324,8 @@ textarea {
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
-webkit-appearance: button; // 1
font: inherit; // 2
}
/* Interactive
@ -364,4 +364,4 @@ template {
[hidden] {
display: none;
}
}

@ -1,22 +1,24 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
<head>
{{ partial "head.html" . }}
</head>
<body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}">
<div class="container">
{{ partial "header.html" . }}
<head>
{{ partial "head.html" . }}
</head>
<div class="content">
{{ block "main" . }}{{ end }}
</div>
<body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}">
<div class="container">
{{ partial "header.html" . }}
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ end }}
<div class="content">
{{ block "main" . }}{{ end }}
</div>
{{ partial "javascript.html" . }}
</body>
</html>
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ end }}
</div>
{{ partial "javascript.html" . }}
</body>
</html>

@ -1,5 +1,5 @@
<svg class="theme-toggler" width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22 41C32.4934 41 41 32.4934 41 22C41 11.5066 32.4934 3 22
3C11.5066 3 3 11.5066 3 22C3 32.4934 11.5066 41 22 41ZM7 22C7
13.7157 13.7157 7 22 7V37C13.7157 37 7 30.2843 7 22Z"/>
</svg>
13.7157 13.7157 7 22 7V37C13.7157 37 7 30.2843 7 22Z" />
</svg>

Before

Width:  |  Height:  |  Size: 317 B

After

Width:  |  Height:  |  Size: 317 B

Loading…
Cancel
Save