Browse Source

bugfix

master
Christian Müller 11 years ago
parent
commit
a0373fee81
  1. 36
      src/notehub/css.clj

36
src/notehub/css.clj

@ -83,8 +83,8 @@ @@ -83,8 +83,8 @@
link-visited (get-in theme [:link :visited])
link-hover (get-in theme [:link :hover])
width (px 800)
header-font (str "'" (or (params "header-font") "Noticia Text") "'")
text-font (str "'" (or (params "text-font") "Georgia") "'")
header-font (or (params "header-font") "Noticia Text")
text-font (or (params "text-font") "Georgia")
header-size-factor (Float/parseFloat (or (params "header-size") "1"))
text-size-factor (Float/parseFloat (or (params "text-size") "1"))
@ -123,8 +123,7 @@ @@ -123,8 +123,7 @@
:font-size (em 1)
:background background
}
helvetica
thin-border]
helvetica thin-border]
[:.landing-button, :textarea, :fieldset { :border "none" }]
[:.landing-button {
:box-shadow "0 2px 5px #aaa"
@ -201,12 +200,8 @@ @@ -201,12 +200,8 @@
:margin (em 2)
}]
[:.centered {
:text-align "center"
}]
[:.bottom-space {
:margin-bottom (em 7)
}]
[:.centered { :text-align "center" }]
[:.bottom-space { :margin-bottom (em 7) }]
[:code, :pre {
:font-family "monospace"
:background background-halftone
@ -219,9 +214,7 @@ @@ -219,9 +214,7 @@
:border (str "1px dotted" foreground-halftone)
}]
["*:focus" {
:outline "0px none transparent"
}]
["*:focus" { :outline "0px none transparent" }]
(at-media {:screen true :min-width (px 1024)} [:textarea {:width width}])
[:textarea {
@ -230,9 +223,7 @@ @@ -230,9 +223,7 @@
:font-size (em 1)
:height (px 500)
}]
[:.hidden {
:display "none"
}]
[:.hidden { :display "none" }]
[:#dashed-line {
:border-bottom (str "1px dashed" foreground-halftone)
:margin-top (em 3)
@ -251,13 +242,9 @@ @@ -251,13 +242,9 @@
:padding (em 0.3)
:line-height (em 2.5)
}]
[:.middot {
:padding (em 0.5)
}]
[:.middot { :padding (em 0.5) }]
[:body {
:display "-webkit-flex"
}]
[:body { :display "-webkit-flex" }]
[:body {
:display "flex"
@ -265,7 +252,4 @@ @@ -265,7 +252,4 @@
:flex-direction "column"
:-webkit-flex-direction "column"
}]
))
)
)))

Loading…
Cancel
Save