Style inline code snippets

This commit is contained in:
Michael Rose 2013-06-30 15:41:53 -04:00
parent 8e94928183
commit be498d4f43
6 changed files with 660 additions and 4927 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
.CodeRay {
background-color: #efefef;
font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
font-family: @codefont;
font-size: 80%;
color: #333332;
margin-bottom: 1.5em;

View file

@ -1,6 +1,6 @@
.highlight {
background-color: #efefef;
font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
font-family: @codefont;
font-size: 80%;
color: #333332;
margin-bottom: 1.5em;

View file

@ -98,4 +98,17 @@ blockquote {
/* Footnotes ============================================= */
.footnotes {
font-size: 90%;
}
/* Code ================================================== */
tt, code, kbd, samp, pre {
font-family: @codefont;
}
p code {
font-size: 80%;
white-space: nowrap;
margin: 0 2px;
padding: 0 5px;
border: 1px solid lighten(@black, 90);
background-color: lighten(@black, 95);
.rounded(3px);
}

View file

@ -1,7 +1,7 @@
// TYPOGRAPHY ================================================
@basefont: 'PT Serif', serif;
@baseheadingfont: 'PT Sans Narrow', sans-serif;
@codefont: Monaco, Courier New, monospace;
@codefont: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
// COLOR ====================================================
@bodycolor : #fff;