From 1bfd50cad9f42eadda3e58e015a62371d2d6d97b Mon Sep 17 00:00:00 2001 From: Roshan Kumar <67013997+roshanwaa@users.noreply.github.com> Date: Tue, 9 Jan 2024 09:06:38 +0530 Subject: [PATCH] Fix Custom CSS - Width of text rendered --- assets/ananke/css/custom.css | 11 +++++++++++ config.yaml | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 assets/ananke/css/custom.css diff --git a/assets/ananke/css/custom.css b/assets/ananke/css/custom.css new file mode 100644 index 0000000..0ce9ab7 --- /dev/null +++ b/assets/ananke/css/custom.css @@ -0,0 +1,11 @@ +p { + text-align: left !important; +} +body { + max-width: none; /* Removes the maximum width constraint */ +} + +article { + max-width: 100%; /* Use the full width of the parent container */ + margin: 0 auto; /* Center the content if needed */ +} diff --git a/config.yaml b/config.yaml index 3caba77..e943335 100644 --- a/config.yaml +++ b/config.yaml @@ -1,3 +1,7 @@ module: hugoVersion: - min: "0.84.0" \ No newline at end of file + min: "0.84.0" +params: + custom_css: + - custom.css + text_color: black