Browse Source

style improvement

master
Christian Mueller 12 years ago
parent
commit
828a8f43d5
  1. 14
      resources/public/style.less

14
resources/public/style.less

@ -13,6 +13,8 @@
@header_font: 'Noticia Text'; @header_font: 'Noticia Text';
@text_font: 'Georgia'; @text_font: 'Georgia';
@font_size: 1.2em;
// mixins // mixins
.helvetica { .helvetica {
font-weight: 300; font-weight: 300;
@ -27,6 +29,12 @@
border: 1px solid @foreground; border: 1px solid @foreground;
} }
// end mixins
code, pre {
font-family: "Menlo", "Andale Mono", "Consolas", Fixed, monospace;
font-size: 0.9em;
}
a { a {
color: @link_fresh; color: @link_fresh;
text-decoration: none; text-decoration: none;
@ -114,7 +122,7 @@ article {
margin-top: 5em; margin-top: 5em;
font-family: @text_font, 'Georgia'; font-family: @text_font, 'Georgia';
text-align: justify; text-align: justify;
font-size: 1.2em; font-size: @font_size;
} }
article p { article p {
line-height: 140%; line-height: 140%;
@ -122,6 +130,7 @@ article p {
article > h1:first-child { article > h1:first-child {
text-align: center; text-align: center;
font-size: 2em;
margin: 2em; margin: 2em;
} }
.centered { .centered {
@ -149,9 +158,6 @@ textarea {
.hidden, .markdown { .hidden, .markdown {
display: none; display: none;
} }
h1 {
font-size: 2em;
}
#dashed-line { #dashed-line {
border-bottom: 1px dashed @foreground_halftone; border-bottom: 1px dashed @foreground_halftone;
margin-top: 3em; margin-top: 3em;

Loading…
Cancel
Save