File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ code {
131131 font-size : 15px ;
132132 border : 1px solid $grey-color-light ;
133133 border-radius : 3px ;
134- background-color : #eef ;
134+ background-color : $code-bg-color ; // dark code background
135+ color : $text-color ; // readable on dark bg
135136}
136137
137138code {
@@ -140,7 +141,7 @@ code {
140141
141142pre {
142143 padding : 8px 12px ;
143- overflow-x : scroll ;
144+ overflow-x : auto ;
144145
145146 > code {
146147 border : 0 ;
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ $content-width: 800px;
3232$on-palm : 600px ;
3333$on-laptop : 800px ;
3434
35+ // Code colors (dark mode)
36+ $code-bg-color : hsl (225 , 15% , 18% );
37+
3538
3639
3740// Using media queries with like this:
Original file line number Diff line number Diff line change @@ -8,22 +8,22 @@ The Classical Language Toolkit (CLTK) is a Python library offering natural langu
88- Code: < https://github.com/cltk/cltk >
99- Docs: < https://docs.cltk.org >
1010
11- ## Maintainers
11+ # Maintainers
1212
1313* [ Kyle P. Johnson] ( https://github.com/kylepjohnson )
1414* [ Clément Besnier] ( https://github.com/clemsciences )
1515
16- # Previous version
16+ # Previous versions
1717
1818Previous generations of the CLTK are not supported anymore, but for those needing to use or reference past versions, these are preserved.
1919
20- ## Version ` 1.x `
20+ ## Versions ` 1.x `
2121
2222- Install: ` pip install cltk==1.5.0 `
2323- Code: < https://github.com/cltk/cltk/tree/v1 >
2424- Docs: < https://v1.cltk.org >
2525
26- ## Version ` 0.x `
26+ ## Versions ` 0.x `
2727
2828- Install: ` pip install cltk==0.1.121 `
2929- Code: < https://github.com/cltk/cltk/tree/v0 >
You can’t perform that action at this time.
0 commit comments