mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-23 00:56:01 +00:00
Style inline code snippets
This commit is contained in:
parent
1a7c72c5c0
commit
16f547908e
2 changed files with 10 additions and 0 deletions
|
@ -42,6 +42,7 @@ figcaption{padding-top:10px;font-size:14px;font-size:0.875rem;line-height:1.7143
|
|||
blockquote p{font-family:'volkorn',serif;font-style:italic;font-size:24px;font-size:1.5rem;line-height:1;margin-bottom:24px;margin-bottom:1.5rem;padding-left:20px;border-left:8px solid #000000;}
|
||||
.footnotes{font-size:14px;font-size:0.875rem;line-height:1.7143;font-family:'source-sans-pro',sans-serif;}
|
||||
tt,code,kbd,samp,pre{font-family:'source-code-pro',monospace;}
|
||||
p code{font-size:16px;font-size:1rem;white-space:nowrap;margin:0 2px;padding:0 5px;border:1px solid #e6e6e6;background-color:#f2f2f2;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
|
||||
.highlight{overflow-x:auto;font-size:12px;font-size:0.75rem;line-height:2;border:1px solid #dedede;}.highlight pre{position:relative;margin:0;padding:1em;}
|
||||
.hll{background-color:#ffffcc;}
|
||||
.c{color:#999988;font-style:italic;}
|
||||
|
|
|
@ -74,4 +74,13 @@ blockquote {
|
|||
// --------------------------------------------------
|
||||
tt, code, kbd, samp, pre {
|
||||
font-family: @code-font;
|
||||
}
|
||||
p code {
|
||||
.font-rem(16);
|
||||
white-space: nowrap;
|
||||
margin: 0 2px;
|
||||
padding: 0 5px;
|
||||
border: 1px solid lighten(@black, 90);
|
||||
background-color: lighten(@black, 95);
|
||||
.rounded(3px);
|
||||
}
|
Loading…
Reference in a new issue