Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 30 additions & 3 deletions assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ body {
background-image: linear-gradient(#d7cdc0ff, #fdf7f6ff);
margin-right: 10%;
margin-left: 10%;
overflow-wrap: break-word;
}
.block {
background-color: rgb(247, 243, 239);
Expand All @@ -13,19 +14,36 @@ body {
padding-bottom: .1em;
border-radius: 2em;
}
img {
max-width: 100%;
height: auto;
}
.banner {
text-align: center;
font-weight: bold;
td img {
height: 150px;
}
}
big {
font-size: 400%;
}
small {
font-size: 70%;
}
pre {
background-color: rgb(247, 243, 239);
border: 1px solid #c5bbb0;
border-radius: 0.5em;
padding: 1em;
overflow-x: auto;
}
code {
background-color: rgb(247, 243, 239);
padding: 0.1em 0.3em;
border-radius: 0.25em;
}
pre code {
background-color: transparent;
padding: 0;
}
div.feature-matrix {
table {
border-collapse: collapse;
Expand Down Expand Up @@ -60,7 +78,16 @@ div.feature-matrix {
vertical-align: center;
}
}
@media screen and (max-width: 450px) {
big {
font-size: 300%;
}
}
@media screen and (max-width: 767px) {
body {
margin-right: 3%;
margin-left: 3%;
}
.tg {
width: auto !important;
}
Expand Down
2 changes: 2 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Title }}</title>
{{- $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "main.scss" . | css.Sass }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
Expand Down
15 changes: 0 additions & 15 deletions layouts/partials/banner.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,6 @@
<small>... one iteration at a time... </small>
{{- end -}}
<div class="banner">
{{- if eq .Kind "home" }}
{{ partial "logo.html" . }}
{{ partial "subtitle.html" . }}
{{- else }}
<table style="width: 100%">
<tbody>
<tr>
<td>
{{ partial "logo.html" . }}
</td>
<td>
{{ partial "subtitle.html" . }}
</td>
</tr>
</tbody>
</table>
{{- end }}
</div>{{ if eq .Kind "home" }}<hr />{{ end }}