Style inline code snippets
This commit is contained in:
parent
8e94928183
commit
be498d4f43
6 changed files with 660 additions and 4927 deletions
2254
assets/css/ie.css
2254
assets/css/ie.css
File diff suppressed because it is too large
Load diff
3314
assets/css/main.css
3314
assets/css/main.css
File diff suppressed because it is too large
Load diff
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue