Skip to content

Commit 5a08216

Browse files
authored
Change style of pre so that pre and ACE editor share the same text style (#170)
* Use Noto Mono for pre * no more gh pages warning * why did it not work? * guess this will work * line height for pre * Add back CNAME
1 parent a2536bd commit 5a08216

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CNAME

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
www.learnlatex.org
2-
1+
www.learnlatex.org

assets/css/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,12 @@ pre {
988988
overflow: auto;
989989
padding: 0 .4rem;
990990
background-color: #F5F5F5;
991+
code {
992+
font-family: var(--font_default-mono-regular);
993+
font-size: .8rem;
994+
line-height: 1.2rem;
991995
}
996+
}
992997

993998

994999

0 commit comments

Comments
 (0)