all repos — website @ b871117569b7fdb69dcd292de24a80d94b5cbeb3

personal website hosted at prithu.xyz, built using hugo

css: change width of the blog content
Prithu Goswami pg@prithu.dev
Sat, 17 Feb 2024 21:49:41 +0530
commit

b871117569b7fdb69dcd292de24a80d94b5cbeb3

parent

4af9e1c674c9e7a10f6ff0984047dfe405cbfc00

1 files changed, 11 insertions(+), 2 deletions(-)

jump to
M static/css/blog.cssstatic/css/blog.css

@@ -1,7 +1,7 @@

@import url('https://rsms.me/inter/inter.css'); .bcontainer{ - max-width: 664px; + max-width: 720px; width: 100%; margin: 2rem auto; justify-content: center;

@@ -30,7 +30,7 @@ font-weight: 200;

} .bcontent{ - max-width: 664px; + max-width: 720px; } .bcontent h1{

@@ -157,6 +157,10 @@ line-height: 1.6;

margin: 1rem 0; } +.post-text li{ + line-height: 1.6; +} + .post-text h1{ font-family: 'Exo 2'; font-weight: 500;

@@ -235,6 +239,11 @@ border-radius: 6px;

background-color: #40a6ff14; padding: 0.5rem 2.5rem; margin-top: 1rem; +} + +.vid { + max-width: 100%; + height: auto; } .post-text blockquote {