diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-11 14:29:21 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-11 14:29:21 -0400 |
commit | ce2e4c010c68527f10e0c7b3df59f1c2f22ddc6f (patch) | |
tree | b3754a2134ccdcf649409b7ff183a7beedabcab1 /app/assets/stylesheets/main | |
parent | 6e70f376d23c21a63ff4875a1f77e19f7961b7b4 (diff) | |
download | thoughts-ce2e4c010c68527f10e0c7b3df59f1c2f22ddc6f.tar.gz thoughts-ce2e4c010c68527f10e0c7b3df59f1c2f22ddc6f.tar.bz2 thoughts-ce2e4c010c68527f10e0c7b3df59f1c2f22ddc6f.zip |
Syntax highlighting
Diffstat (limited to 'app/assets/stylesheets/main')
-rw-r--r-- | app/assets/stylesheets/main/rouge.css.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/stylesheets/main/rouge.css.erb b/app/assets/stylesheets/main/rouge.css.erb new file mode 100644 index 0000000..120dc02 --- /dev/null +++ b/app/assets/stylesheets/main/rouge.css.erb | |||
@@ -0,0 +1,11 @@ | |||
1 | <%= Rouge::Themes::Pastie.render(:scope => '.highlight') %> | ||
2 | |||
3 | .highlight { | ||
4 | background-color: white; | ||
5 | padding: 1em; | ||
6 | } | ||
7 | |||
8 | .highlight .err { | ||
9 | color: #a61717; | ||
10 | background-color: #f5f7f9; | ||
11 | } | ||