Tweaked list styles after skeleton upgrade
Numbered bullets didn't stand out and text wasn't formatted correctly around them (within ol > li's). Also changed the amount of margin spacing around nested ol/ul elements. Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
This commit is contained in:
parent
110b6a0e64
commit
8205cb8c87
|
@ -22,7 +22,7 @@ module Main where
|
||||||
|
|
||||||
import Clay hiding (i, s, id)
|
import Clay hiding (i, s, id)
|
||||||
import Data.Monoid
|
import Data.Monoid
|
||||||
import Prelude hiding (div, span, (**))
|
import Prelude hiding (div, span, (**), rem)
|
||||||
import System.Environment
|
import System.Environment
|
||||||
|
|
||||||
import qualified Clay.Media as Media
|
import qualified Clay.Media as Media
|
||||||
|
@ -134,9 +134,16 @@ pageContent = do
|
||||||
ul |> li ? do
|
ul |> li ? do
|
||||||
listStyleType none
|
listStyleType none
|
||||||
|
|
||||||
|
ol |> li ? do
|
||||||
|
listStylePosition outside
|
||||||
|
marginLeft (px 20)
|
||||||
|
|
||||||
(ul <> ol) |> li ? do
|
(ul <> ol) |> li ? do
|
||||||
marginBottom (em 0.02)
|
marginBottom (em 0.02)
|
||||||
|
|
||||||
|
(ul <> ol) ** (ul <> ol) ? do
|
||||||
|
sym margin (rem 1)
|
||||||
|
|
||||||
"#page-content" # ".loading" ?
|
"#page-content" # ".loading" ?
|
||||||
opacity 0.35
|
opacity 0.35
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue