mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-08 05:43:48 +00:00
Merge pull request #757 from sharelatex/as-rt-styling
Rich text styling
This commit is contained in:
commit
f08b64eeac
1 changed files with 13 additions and 5 deletions
|
@ -1,12 +1,20 @@
|
|||
@rt-font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
|
||||
// @rt-font-family-serif: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
|
||||
@rt-font-family-serif: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
|
||||
|
||||
.rich-text .CodeMirror {
|
||||
font-family: @rt-font-family;
|
||||
font-family: @rt-font-family-serif;
|
||||
font-size: 1.15em;
|
||||
|
||||
pre {
|
||||
font-family: @rt-font-family;
|
||||
font-family: @rt-font-family-serif;
|
||||
}
|
||||
|
||||
.CodeMirror-line {
|
||||
// Add horizontal padding, to emulate a manuscript more closely
|
||||
padding: 0 8%;
|
||||
}
|
||||
|
||||
.CodeMirror-linenumber {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
// TODO: Change prefix away from wl- ?
|
||||
|
@ -108,7 +116,7 @@
|
|||
.wl-figure-wrap {
|
||||
padding: 10px 0;
|
||||
background-color: #f5f5f5;
|
||||
box-shadow: 2px 2px 2px #DFDFDF;
|
||||
box-shadow: 1.3px 2px 2px #DFDFDF;
|
||||
width: 96%;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
|
|
Loading…
Add table
Reference in a new issue