mirror of
https://github.com/correl/elm-mdl.git
synced 2024-12-18 03:00:11 +00:00
Demo styling
This commit is contained in:
parent
cffe60d1fc
commit
69e61cef1c
1 changed files with 5 additions and 2 deletions
|
@ -137,10 +137,14 @@ stylesheet = Style.stylesheet """
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
padding-left: 1.3ex;
|
padding-left: 1.3ex;
|
||||||
border-color: rgb(255,82,82);
|
border-color: rgb(255,82,82);
|
||||||
|
font-style: normal;
|
||||||
/* TODO: Really need a way to specify "secondary color" in
|
/* TODO: Really need a way to specify "secondary color" in
|
||||||
inline css.
|
inline css.
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
p, blockquote {
|
||||||
|
max-width: 33em;
|
||||||
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -150,8 +154,7 @@ view addr model =
|
||||||
let top =
|
let top =
|
||||||
div
|
div
|
||||||
[ style
|
[ style
|
||||||
[ ("max-width", "55rem")
|
[ ("margin", "auto")
|
||||||
, ("margin", "auto")
|
|
||||||
, ("padding-left", "5%")
|
, ("padding-left", "5%")
|
||||||
, ("padding-right", "5%")
|
, ("padding-right", "5%")
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue