From 3112ecee11aa7f560848834a8475b3fb0b52fd79 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sat, 27 Nov 2021 03:54:23 +1300 Subject: Added XHTML, MathML, CSS validated images in footer --- project/assets/css/default.css | 14 ++++++++++++++ project/assets/img/valid-css.png | Bin 0 -> 1428 bytes project/assets/img/valid-mathml20.png | Bin 0 -> 1984 bytes project/assets/img/valid-xhtml11.png | Bin 0 -> 1842 bytes project/templates/base.xhtml | 4 ++++ project/templates/base_math.xhtml | 23 +++++++++++++++++++++++ project/templates/base_plain.xhtml | 17 +++++++++++++++++ 7 files changed, 58 insertions(+) create mode 100644 project/assets/img/valid-css.png create mode 100644 project/assets/img/valid-mathml20.png create mode 100644 project/assets/img/valid-xhtml11.png (limited to 'project') diff --git a/project/assets/css/default.css b/project/assets/css/default.css index 5655a27..287f03b 100644 --- a/project/assets/css/default.css +++ b/project/assets/css/default.css @@ -145,3 +145,17 @@ div.nav ul li { } + + +/* Evenly spaced footer images. */ + +div.footer { + display: flex; + justify-content: center; +} + +div.footer a { + margin: 1em 1em 1em 1em; +} + + diff --git a/project/assets/img/valid-css.png b/project/assets/img/valid-css.png new file mode 100644 index 0000000..e65a388 Binary files /dev/null and b/project/assets/img/valid-css.png differ diff --git a/project/assets/img/valid-mathml20.png b/project/assets/img/valid-mathml20.png new file mode 100644 index 0000000..f177679 Binary files /dev/null and b/project/assets/img/valid-mathml20.png differ diff --git a/project/assets/img/valid-xhtml11.png b/project/assets/img/valid-xhtml11.png new file mode 100644 index 0000000..1529ac9 Binary files /dev/null and b/project/assets/img/valid-xhtml11.png differ diff --git a/project/templates/base.xhtml b/project/templates/base.xhtml index 4258f12..596ff97 100644 --- a/project/templates/base.xhtml +++ b/project/templates/base.xhtml @@ -25,6 +25,10 @@
{% block content -%} +{%- endblock %} +
+
diff --git a/project/templates/base_math.xhtml b/project/templates/base_math.xhtml index fb6f429..834c116 100644 --- a/project/templates/base_math.xhtml +++ b/project/templates/base_math.xhtml @@ -11,3 +11,26 @@ {%- endblock -%} + +{%- block footer %} + + Valid XHTML 1.1 + + + Valid MathML 2.0 + + + Valid CSS + +{%- endblock -%} + + diff --git a/project/templates/base_plain.xhtml b/project/templates/base_plain.xhtml index 0f26e40..454cc0e 100644 --- a/project/templates/base_plain.xhtml +++ b/project/templates/base_plain.xhtml @@ -11,3 +11,20 @@ {%- endblock -%} + +{%- block footer %} + + Valid XHTML 1.1 + + + Valid CSS + +{%- endblock -%} + + -- cgit