How to change width of content area in Dawn theme?

The text area in posts in the Dawn theme is too narrow for me. What css code can I add to make it wider?

I recently did the same. See this commit: Make content area wider (1.2 times) · srijan/Dawn@3fbdef7 · GitHub

Also pasting the diff here for convenience:

diff --git a/assets/css/general/grid.css b/assets/css/general/grid.css
index 7195079..ec967f1 100644
--- a/assets/css/general/grid.css
+++ b/assets/css/general/grid.css
@@ -8,11 +8,11 @@
 }
 
 .container.medium {
-    max-width: calc(750px + 8vw);
+    max-width: calc(900px + 8vw);
 }
 
 .container.small {
-    max-width: calc(640px + 8vw);
+    max-width: calc(768px + 8vw);
 }
 
 .row {
diff --git a/assets/css/misc/kg.css b/assets/css/misc/kg.css
index 79c7c0e..7791a1e 100644
--- a/assets/css/misc/kg.css
+++ b/assets/css/misc/kg.css
@@ -133,7 +133,7 @@
         [wide-start]
         minmax(auto, 140px)
         [main-start]
-        min(640px, calc(100% - 8vw))
+        min(768px, calc(100% - 8vw))
         [main-end]
         minmax(auto, 140px)
         [wide-end]

1 Like

It worked! Thank you so much!