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 { .CodeRay {
background-color: #efefef; background-color: #efefef;
font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; font-family: @codefont;
font-size: 80%; font-size: 80%;
color: #333332; color: #333332;
margin-bottom: 1.5em; margin-bottom: 1.5em;

View file

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

View file

@ -99,3 +99,16 @@ blockquote {
.footnotes { .footnotes {
font-size: 90%; 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 ================================================ // TYPOGRAPHY ================================================
@basefont: 'PT Serif', serif; @basefont: 'PT Serif', serif;
@baseheadingfont: 'PT Sans Narrow', sans-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 ==================================================== // COLOR ====================================================
@bodycolor : #fff; @bodycolor : #fff;