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 }}" author = "Maik de Kruif"
date: {{ .Date }} title = "{{ replace .Name "-" " " | title }}"
draft: true date = {{ .Date }}
comments: false description = ""
images: images = []
--- tags = [
"untagged",
]
categories = [
"uncategorized",
]
+++

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

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

@ -1,22 +1,24 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Site.Language }}"> <html lang="{{ .Site.Language }}">
<head>
{{ partial "head.html" . }}
</head>
<body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}"> <head>
<div class="container"> {{ partial "head.html" . }}
{{ partial "header.html" . }} </head>
<div class="content"> <body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}">
{{ block "main" . }}{{ end }} <div class="container">
</div> {{ partial "header.html" . }}
{{ block "footer" . }} <div class="content">
{{ partial "footer.html" . }} {{ block "main" . }}{{ end }}
{{ end }}
</div> </div>
{{ partial "javascript.html" . }} {{ block "footer" . }}
</body> {{ partial "footer.html" . }}
</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"> <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 <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 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"/> 13.7157 13.7157 7 22 7V37C13.7157 37 7 30.2843 7 22Z" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 317 B

After

Width:  |  Height:  |  Size: 317 B

Loading…
Cancel
Save