Browse Source

table styles added

master
Christian Mueller 12 years ago
parent
commit
e20811ca76
  1. 13
      resources/public/style.less
  2. 2
      src/NoteHub/views/pages.clj

13
resources/public/style.less

@ -66,7 +66,7 @@ a:visited {
font-size: 1em; font-size: 1em;
background: @background; background: @background;
} }
.landing-button, table, tr, td, textarea, fieldset { .landing-button, textarea, fieldset {
border: none; border: none;
} }
.landing-button { .landing-button {
@ -166,3 +166,14 @@ textarea {
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: @header_font,'Noticia Text','PT Serif','Georgia'; font-family: @header_font,'Noticia Text','PT Serif','Georgia';
} }
table {
border-collapse: collapse;
}
th {
padding: 0.3em;
background-color: @background_halftone;
}
td {
border-top: 1px dotted @foreground_halftone;
padding: 0.3em;
}

2
src/NoteHub/views/pages.clj

@ -143,7 +143,7 @@
[:table#stats.helvetica.central-element [:table#stats.helvetica.central-element
(map (map
#(when (% stats) #(when (% stats)
[:tr [:td (get-message %)] [:td (% stats)]]) [:tr [:td (str (get-message %) ":")] [:td (% stats)]])
[:published :edited :publisher :views])]))) [:published :edited :publisher :views])])))
; Resolving of a short url ; Resolving of a short url

Loading…
Cancel
Save