From 911a23c2c23ad6b60166ecef5a14e5afa35d317b Mon Sep 17 00:00:00 2001 From: imfunny <36105478+imfunniee@users.noreply.github.com> Date: Tue, 21 May 2019 07:39:18 +0530 Subject: [PATCH] fixed #41 -fixed overflow of text -fixed background in dark theme --- assets/index.css | 3 +++ assets/themes/dark.css | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/index.css b/assets/index.css index 7b0c13d..496a1af 100644 --- a/assets/index.css +++ b/assets/index.css @@ -287,6 +287,7 @@ body{ font-size:24px; font-weight:bold; margin:1vh 0px; + word-wrap: break-word; } .about_section { @@ -294,11 +295,13 @@ body{ font-family: 'Questrial', sans-serif; margin:2vh 0px; font-weight:bold; + word-wrap: break-word; } .bottom_section { margin:1vh 0px; font-size:14px; + word-wrap: break-word; } .bottom_section span { diff --git a/assets/themes/dark.css b/assets/themes/dark.css index e35df13..16c28dc 100644 --- a/assets/themes/dark.css +++ b/assets/themes/dark.css @@ -4,7 +4,7 @@ --blog-gray-color: rgb(180, 180, 180); --background-image: linear-gradient(90deg, rgba(10, 10, 10, 0.6), rgb(10, 10, 10, 1)), url("{{background}}"); --background-background: linear-gradient(0deg, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0.6)), - url("{{background-image}}") center center fixed; + url("{{background}}") center center fixed; --height: 50vh; } #display h1 { @@ -25,7 +25,7 @@ } @media (max-width: 800px) { :root { - --background-image: linear-gradient(0deg, rgba(10, 10, 10, 1), rgb(10, 10, 10, 0)), - url("{{background-image}}") !important; + --background-image: linear-gradient(0deg, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0)), + url("{{background}}") !important; } }