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 {
|
.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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
}
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue