You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
188 lines
3.1 KiB
188 lines
3.1 KiB
// variables |
|
|
|
@background: #fff; |
|
@foreground: #333; |
|
@background_halftone: #efefef; |
|
@foreground_halftone: #888; |
|
@link_fresh: #097; |
|
@link_visited: #054; |
|
@link_hover: #0a8; |
|
|
|
@width: 800px; |
|
|
|
@header_font: 'Noticia Text'; |
|
@text_font: 'Georgia'; |
|
|
|
@font_size: 1.2em; |
|
|
|
// mixins |
|
.helvetica { |
|
font-weight: 300; |
|
font-family: 'Helvetica Neue','Helvetica','Arial','Lucida Grande','sans-serif'; |
|
} |
|
|
|
.central-element { |
|
@media screen and (min-width: 1024px) { |
|
width: @width; |
|
} |
|
@media screen and (max-width: 1023px) { |
|
width: 90%; |
|
} |
|
margin-left: auto; |
|
margin-right: auto; |
|
} |
|
.thin-border { |
|
border: 1px solid @foreground; |
|
} |
|
// end mixins |
|
|
|
.ui-border { |
|
border-radius: 3px; |
|
.thin-border; |
|
} |
|
|
|
a { |
|
color: @link_fresh; |
|
text-decoration: none; |
|
border-bottom: 1px dotted; |
|
} |
|
a:hover { |
|
color: @link_hover; |
|
} |
|
a:visited { |
|
color: @link_visited; |
|
} |
|
#draft { |
|
margin-bottom: 3em; |
|
} |
|
.button { |
|
cursor: pointer; |
|
} |
|
.ui-elem { |
|
.helvetica; |
|
border-radius: 3px; |
|
.thin-border; |
|
padding: 0.3em; |
|
opacity: 0.8; |
|
font-size: 1em; |
|
background: @background; |
|
} |
|
.landing-button, textarea, fieldset { |
|
border: none; |
|
} |
|
.landing-button { |
|
box-shadow: 0 2px 5px #aaa; |
|
text-decoration: none; |
|
font-size: 1.5em; |
|
background: #0a2; |
|
border-radius: 10px; |
|
padding: 10px; |
|
.helvetica; |
|
} |
|
.landing-button:hover { |
|
background: #0b2; |
|
} |
|
#footer { |
|
.helvetica; |
|
width: 100%; |
|
font-size: 0.8em; |
|
padding-bottom: 1em; |
|
text-align: center; |
|
@media screen and (max-width: 767px) { |
|
font-size: 0.4em; |
|
} |
|
} |
|
#footer a { |
|
border: none; |
|
} |
|
html, body { |
|
background: @background; |
|
color: @foreground; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
#hero { |
|
padding-top: 5em; |
|
padding-bottom: 5em; |
|
text-align: center; |
|
} |
|
h1, h2, h3, h4, h5, h6 { |
|
font-weight: bold; |
|
} |
|
#hero h1 { |
|
font-size: 2.5em; |
|
} |
|
|
|
#hero h2 { |
|
.helvetica; |
|
margin: 2em; |
|
} |
|
article { |
|
font-family: @text_font, 'Georgia'; |
|
.central-element; |
|
margin-top: 5em; |
|
text-align: justify; |
|
} |
|
article p { |
|
font-size: @font_size; |
|
line-height: 140%; |
|
} |
|
article > h1:first-child { |
|
text-align: center; |
|
font-size: 2em; |
|
margin: 2em; |
|
} |
|
.centered { |
|
text-align: center; |
|
} |
|
.bottom-space { |
|
margin-bottom: 7em; |
|
} |
|
code, pre { |
|
font-family: monospace; |
|
background: @background_halftone; |
|
font-size: @font_size; |
|
} |
|
pre { |
|
border-radius: 3px; |
|
padding: 0.5em; |
|
border: 1px dotted @foreground_halftone; |
|
} |
|
*:focus { |
|
outline: 0px none transparent; |
|
} |
|
textarea { |
|
@media screen and (min-width: 1024px) { |
|
width: @width; |
|
} |
|
border-radius: 5px; |
|
font-family: Courier; |
|
font-size: 1em; |
|
height: 500px; |
|
} |
|
.hidden, #links { |
|
display: none; |
|
} |
|
#dashed-line { |
|
border-bottom: 1px dashed @foreground_halftone; |
|
margin-top: 3em; |
|
margin-bottom: 3em; |
|
} |
|
h1, h2, h3, h4, h5, h6 { |
|
font-family: @header_font,'Noticia Text','PT Serif','Georgia'; |
|
} |
|
table { |
|
width: 100%; |
|
border-collapse: collapse; |
|
} |
|
th { |
|
padding: 0.3em; |
|
background-color: @background_halftone; |
|
} |
|
td { |
|
border-top: 1px dotted @foreground_halftone; |
|
padding: 0.3em; |
|
} |
|
.middot { |
|
padding: 0.5em; |
|
}
|
|
|