commit: ee74a0e8315964dfb4425e3415486cc4718c1c5c
parent: b9296d2316568e2bbea3690b3b9d9dc60dee8dc0
author: Chris Noxz <chris@noxz.tech>
date: Sat, 21 Sep 2019 17:52:39 +0200
Make mathematical parenthesis visible in text based web browsers
2 files changed, 7 insertions(+)
diff --git a/noxz.tech/guides/mathematics/index.md b/noxz.tech/guides/mathematics/index.md
@@ -66,6 +66,7 @@ Say we have a number
..{- class="equation"}
....{-}2{--}
....{- class="fenced parenthesis"}
+......{-}({--}
......{-}50{--}
......{- class="variable"}x{--}
......{- class="operator"}+{--}
@@ -73,6 +74,7 @@ Say we have a number
......{- class="variable"}y{--}
......{- class="operator"}+{--}
......{- class="variable"}n{--}
+......{-}){--}
....{--}
..{--}
{--}
diff --git a/noxz.tech/pub/style.css b/noxz.tech/pub/style.css
@@ -307,6 +307,11 @@ ul.repo-log li .log-date {
margin : 0 0.2em;
}
+.math .fenced :first-child,
+.math .fenced :last-child {
+ display : none;
+}
+
.math .fenced.parenthesis {
border-radius : 3px;
border : 1px solid #444;