From 8a75fbf16cced6962010c31bb978d4b7732496a1 Mon Sep 17 00:00:00 2001 From: matrixfox Date: Mon, 20 May 2024 12:40:49 -0700 Subject: [PATCH] Fixing Code word-wrap --- _src/less/main.less | 4 ---- _src/less/reset.less | 10 +++++----- stylesheets/style.css | 9 ++++----- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/_src/less/main.less b/_src/less/main.less index 7f30aa8..cccbb6f 100644 --- a/_src/less/main.less +++ b/_src/less/main.less @@ -21,11 +21,8 @@ body { margin-left:auto; margin-right:auto; background: url('http://matrixfox.com/images/stressed_linen.png') center center; - // wordpress - //background: url('/wp-content/themes/ocultism/images/stressed_linen.png') center center; background-color: #000; color: #fff; - word-wrap:break-word; } img { max-width: @fluid-max-width; @@ -191,7 +188,6 @@ body { background: url('/images/stressed_linen.png') center center; background-color: #000; color: #fff; - word-wrap:break-word; } a { diff --git a/_src/less/reset.less b/_src/less/reset.less index 3162471..5ac9bbc 100644 --- a/_src/less/reset.less +++ b/_src/less/reset.less @@ -1,3 +1,8 @@ +pre { + word-break: normal; + word-wrap: normal; +} + h1, h2, h3 { margin-top: 0px; margin-bottom: 0px; @@ -8,14 +13,9 @@ margin: 0 0 0px; button:focus { outline: -webkit-focus-ring-color none; } -code { -white-space: normal; -} .nav>li>a { padding: 10px 0px; -//wordpress -// padding: 0px 0px; } .navbar { diff --git a/stylesheets/style.css b/stylesheets/style.css index 1ae11ac..66459cb 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -3,6 +3,10 @@ * Variables */ /* Override Hosted Cascading Style Sheets */ +pre { + word-break: normal; + word-wrap: normal; +} h1, h2, h3 { @@ -15,9 +19,6 @@ p { button:focus { outline: -webkit-focus-ring-color none; } -code { - white-space: normal; -} .nav > li > a { padding: 10px 0px; } @@ -137,7 +138,6 @@ body { background: url('http://matrixfox.com/images/stressed_linen.png') center center; background-color: #000; color: #fff; - word-wrap: break-word; } img { max-width: 100%; @@ -273,7 +273,6 @@ body { background: url('/images/stressed_linen.png') center center; background-color: #000; color: #fff; - word-wrap: break-word; } a { color: #f21d2f;