File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,6 +64,13 @@ div.highlighter-rouge {
6464
6565#page-title {
6666 @include markdown-header ;
67+ font-size : calc (1.375em + 1.5vw );
68+ }
69+
70+ @media (min-width : 1200px ) {
71+ #page-title {
72+ font-size : 2.5em ;
73+ }
6774}
6875
6976#toc-container {
@@ -82,13 +89,15 @@ div.highlighter-rouge {
8289
8390.markdown-content {
8491 h2 {
92+ font-size : 1.55em ;
8593 counter-increment : h2- section;
8694 > span ::before {
8795 content : counter (h2-section ) " ." ;
8896 }
8997 }
9098
9199 h3 {
100+ font-size : 1.45em ;
92101 counter-increment : h3- section;
93102 ~ h2 {
94103 counter-reset : h3- section;
@@ -99,6 +108,7 @@ div.highlighter-rouge {
99108 }
100109
101110 h4 {
111+ font-size : 1.28em ;
102112 counter-increment : h4- section;
103113 ~ h3 {
104114 counter-reset : h4- section;
@@ -107,6 +117,12 @@ div.highlighter-rouge {
107117 content : counter (h2-section ) " ." counter (h3-section ) " ." counter (h4-section ) " ." ;
108118 }
109119 }
120+ h5 {
121+ font-size : 1.16em ;
122+ }
123+ h6 {
124+ font-size : 1em ;
125+ }
110126
111127 h2 , h3 {
112128 @include markdown-header ;
@@ -121,6 +137,10 @@ div.highlighter-rouge {
121137 }
122138}
123139
140+ #toc {
141+ font-size : 0.95em ;
142+ }
143+
124144#toc > li {
125145 counter-increment : h2- section;
126146 & ::marker {
You can’t perform that action at this time.
0 commit comments