@@ -23,7 +13,7 @@
I work as a full stack developer, but I prefer working on servers and mobile apps.
-
diff --git a/theme/static/src/scss/index.scss b/theme/static/src/scss/index.scss
index cdf148f..22dd28b 100644
--- a/theme/static/src/scss/index.scss
+++ b/theme/static/src/scss/index.scss
@@ -71,16 +71,18 @@ p a {
padding: 1px 0;
}
-#header {
+header#header {
display: flex;
align-items: center;
+ min-height: 50vh;
+
&.image .section-heading {
@extend .text-shadow;
}
- @media screen and (min-height: $screen-xs-max) {
- height: 40vh;
+ @media screen and (max-height: $screen-xs-max) {
+ height: 100vh;
}
}
@@ -99,3 +101,7 @@ p a {
}
}
}
+
+.github-card-container > iframe {
+ max-width: 100%;
+}
diff --git a/theme/templates/category.html b/theme/templates/category.html
index a2f1216..e7cab7e 100644
--- a/theme/templates/category.html
+++ b/theme/templates/category.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block htmltitle %}
- {{ category|title }}
+ {{ category.name|title }}
{% endblock %}
{% block metadata %}
@@ -9,16 +9,7 @@
{% endblock %}
{% block content %}
-
-
-
-
-
{{ category.name|title }}
-
-
-
-
-
+ {% include 'extras/header.html' with instance=category %}
{% if category.page.content %}
diff --git a/theme/templates/extras/header.html b/theme/templates/extras/header.html
index f1538a7..033c1cf 100644
--- a/theme/templates/extras/header.html
+++ b/theme/templates/extras/header.html
@@ -1,6 +1,8 @@
-