Skip to content

Commit

Permalink
Improve pre code styles and remove calls to client-side highlight.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Nov 18, 2022
1 parent 4d1cbe2 commit 82f4af3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions web/script/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ function(homeController, docsController, featuresController, packagesController,

page('/', controller(homeController), pageview(), adRefresh());
page('/concepts/authentication/*', controller(docsController), pageview(), adRefresh());
page('/concepts/oauth2/*', highlight());
page('/tutorials/*', highlight());
page('/howtos/*', highlight());
//page('/concepts/oauth2/*', highlight());
//page('/tutorials/*', highlight());
//page('/howtos/*', highlight());
page('/features', controller(featuresController), pageview(), adRefresh());
page('/packages', controller(packagesController, true), pageview());

Expand Down
3 changes: 2 additions & 1 deletion web/styles/base-style.styl
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// Code Style
pre
code.hljs
code, code.hljs
background #212121
display block
overflow-x auto
padding 20px
font-family Menlo, Courier New
font-size 13px
Expand Down

0 comments on commit 82f4af3

Please sign in to comment.