From 7dd5d48fcf38fc031746333291f4a9eb67b2f82d Mon Sep 17 00:00:00 2001 From: Sumesh Premraj Date: Tue, 24 Nov 2020 19:52:41 +0530 Subject: [PATCH] Add custom stylesheet for content image border --- courses/stylesheets/custom.css | 1 + mkdocs.yml | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 courses/stylesheets/custom.css diff --git a/courses/stylesheets/custom.css b/courses/stylesheets/custom.css new file mode 100644 index 0000000..7b56339 --- /dev/null +++ b/courses/stylesheets/custom.css @@ -0,0 +1 @@ +div.md-content img { border: 4px solid #ddd; padding: 12px; } \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index ea1e821..54bfd0e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,6 +5,8 @@ theme: logo: img/sos.png favicon: img/favicon.ico custom_dir: overrides +extra_css: + - stylesheets/custom.css nav: - Home: index.md - Fundamentals Series: