bugfix
This commit is contained in:
+18
-34
@@ -83,8 +83,8 @@
|
|||||||
link-visited (get-in theme [:link :visited])
|
link-visited (get-in theme [:link :visited])
|
||||||
link-hover (get-in theme [:link :hover])
|
link-hover (get-in theme [:link :hover])
|
||||||
width (px 800)
|
width (px 800)
|
||||||
header-font (str "'" (or (params "header-font") "Noticia Text") "'")
|
header-font (or (params "header-font") "Noticia Text")
|
||||||
text-font (str "'" (or (params "text-font") "Georgia") "'")
|
text-font (or (params "text-font") "Georgia")
|
||||||
header-size-factor (Float/parseFloat (or (params "header-size") "1"))
|
header-size-factor (Float/parseFloat (or (params "header-size") "1"))
|
||||||
text-size-factor (Float/parseFloat (or (params "text-size") "1"))
|
text-size-factor (Float/parseFloat (or (params "text-size") "1"))
|
||||||
|
|
||||||
@@ -123,8 +123,7 @@
|
|||||||
:font-size (em 1)
|
:font-size (em 1)
|
||||||
:background background
|
:background background
|
||||||
}
|
}
|
||||||
helvetica
|
helvetica thin-border]
|
||||||
thin-border]
|
|
||||||
[:.landing-button, :textarea, :fieldset { :border "none" }]
|
[:.landing-button, :textarea, :fieldset { :border "none" }]
|
||||||
[:.landing-button {
|
[:.landing-button {
|
||||||
:box-shadow "0 2px 5px #aaa"
|
:box-shadow "0 2px 5px #aaa"
|
||||||
@@ -201,71 +200,56 @@
|
|||||||
:margin (em 2)
|
:margin (em 2)
|
||||||
}]
|
}]
|
||||||
|
|
||||||
[:.centered {
|
[:.centered { :text-align "center" }]
|
||||||
:text-align "center"
|
[:.bottom-space { :margin-bottom (em 7) }]
|
||||||
}]
|
|
||||||
[:.bottom-space {
|
|
||||||
:margin-bottom (em 7)
|
|
||||||
}]
|
|
||||||
[:code, :pre {
|
[:code, :pre {
|
||||||
:font-family "monospace"
|
:font-family "monospace"
|
||||||
:background background-halftone
|
:background background-halftone
|
||||||
:font-size (em (* 1.2 text-size-factor))
|
:font-size (em (* 1.2 text-size-factor))
|
||||||
}]
|
}]
|
||||||
|
|
||||||
[:pre {
|
[:pre {
|
||||||
:border-radius (px 3)
|
:border-radius (px 3)
|
||||||
:padding (em 0.5)
|
:padding (em 0.5)
|
||||||
:border (str "1px dotted" foreground-halftone)
|
:border (str "1px dotted" foreground-halftone)
|
||||||
}]
|
}]
|
||||||
|
|
||||||
["*:focus" {
|
["*:focus" { :outline "0px none transparent" }]
|
||||||
:outline "0px none transparent"
|
(at-media {:screen true :min-width (px 1024)} [:textarea {:width width}])
|
||||||
}]
|
|
||||||
(at-media {:screen true :min-width (px 1024)} [:textarea {:width width}])
|
|
||||||
|
|
||||||
[:textarea {
|
[:textarea {
|
||||||
:border-radius (px 5)
|
:border-radius (px 5)
|
||||||
:font-family "Courier"
|
:font-family "Courier"
|
||||||
:font-size (em 1)
|
:font-size (em 1)
|
||||||
:height (px 500)
|
:height (px 500)
|
||||||
}]
|
}]
|
||||||
[:.hidden {
|
[:.hidden { :display "none" }]
|
||||||
:display "none"
|
[:#dashed-line {
|
||||||
}]
|
|
||||||
[:#dashed-line {
|
|
||||||
:border-bottom (str "1px dashed" foreground-halftone)
|
:border-bottom (str "1px dashed" foreground-halftone)
|
||||||
:margin-top (em 3)
|
:margin-top (em 3)
|
||||||
:margin-bottom (em 3)
|
:margin-bottom (em 3)
|
||||||
}]
|
}]
|
||||||
[:table {
|
[:table {
|
||||||
:width "100%"
|
:width "100%"
|
||||||
:border-collapse "collapse"
|
:border-collapse "collapse"
|
||||||
}]
|
}]
|
||||||
[:th {
|
[:th {
|
||||||
:padding (em 0.3)
|
:padding (em 0.3)
|
||||||
:background-color background-halftone
|
:background-color background-halftone
|
||||||
}]
|
}]
|
||||||
[:td {
|
[:td {
|
||||||
:border-top (str "1px dotted" foreground-halftone)
|
:border-top (str "1px dotted" foreground-halftone)
|
||||||
:padding (em 0.3)
|
:padding (em 0.3)
|
||||||
:line-height (em 2.5)
|
:line-height (em 2.5)
|
||||||
}]
|
}]
|
||||||
[:.middot {
|
[:.middot { :padding (em 0.5) }]
|
||||||
:padding (em 0.5)
|
|
||||||
}]
|
|
||||||
|
|
||||||
[:body {
|
[:body { :display "-webkit-flex" }]
|
||||||
:display "-webkit-flex"
|
|
||||||
}]
|
|
||||||
|
|
||||||
[:body {
|
[:body {
|
||||||
:display "flex"
|
:display "flex"
|
||||||
:min-height "100vh"
|
:min-height "100vh"
|
||||||
:flex-direction "column"
|
:flex-direction "column"
|
||||||
:-webkit-flex-direction "column"
|
:-webkit-flex-direction "column"
|
||||||
}]
|
}]
|
||||||
|
)))
|
||||||
|
|
||||||
))
|
|
||||||
)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user