Commit Graph

60 Commits

Author SHA1 Message Date
Wei Ting 79f250f387
Coy: Set z-index to make shadows visible in colored table cells (#3161) 2021-10-24 16:50:01 +02:00
Michael Schmidt a6a4ce7e2e
Coy: Added padding to account for box shadow (#3143) 2021-10-19 14:27:30 +02:00
Michael Schmidt d63d6c0e78
Added minified CSS (#3073)
Co-authored-by: ashwinjayan <ashwinjayanam@gmail.com>
2021-10-04 14:06:12 +02:00
Wei Ting ffb2043909
Twilight theme: Increase selector specificities of plugin overrides (#3081) 2021-09-15 20:11:57 +02:00
Michael Schmidt 7109c18c2b
Coy: Minor improvements (#2176) 2020-06-27 21:34:40 +02:00
Ayesh Karunaratne 06495f9095
Okaidia theme: Update comment text color to meet WCAG contrast recommendations to AA level (#2292) 2020-06-27 20:43:47 +02:00
Michael Schmidt 937e2691f9
Default Theme: Added a comment that declares the background color of `operator` tokens as intentional (#2309) 2020-06-07 18:51:45 +02:00
Michael Schmidt 8678045735
Added missing `.token` selector (#2161)
This fixes lone `.namespace` rules without the .token component selector some themes had.
2020-01-06 20:09:40 +01:00
Michael Schmidt e7702ae110
Diff: Added support for syntax highlighting inside diff blocks (#1889)
This adds support for syntax highlighting inside diff blocks via a new plugin called: Diff Highlight.
2019-07-22 01:27:48 +02:00
Michael Schmidt 7d05659157
Fixed typo in Funky theme (#1960)
The `.toke.variable` selector has been fixed to be `.token.variable`.
2019-07-15 22:59:33 +02:00
Michael Schmidt 878ef29556
Themes: Normalized the font-size of pre and code (#1791)
Normalized the font-size of pre and code in all themes. This fixes a Coy line drift issue.
2019-03-05 22:26:50 +01:00
Thomas Steiner c322fc802b Correct typo (#1508)
Corrects “accomodate” to spell “accommodate”.
2018-08-19 10:55:06 -04:00
paladox f356dfe71b Add .token.class-name to rest of themes (#1360)
* Add .token.class-name to rest of themes

* Update prism-okaidia.css

* Update prism-solarizedlight.css
2018-06-05 23:28:05 +02:00
James DiGioia b848e9d690 Add double-class specificity hack (#1435)
Yeah, this isn't ideal, but it does work.

Any other ideas?
2018-06-04 17:15:00 -04:00
Olivier Tassinari 8aea939a62 Reach AA contrast ratio level (#1296) 2018-03-26 22:47:44 +02:00
Golmote c6c7fd1ab3 Coy theme: Inherit pre's height on code, so it does not break on Download page. 2018-03-19 08:56:05 +01:00
paladox 8572474858 Highlight token class-name with colour #DD4A68 (#1350)
Fixes #1346
2018-03-12 00:16:33 +01:00
Timothy Allen ac219d7a52 Coy Theme: The 'height' element makes code blocks the height of the browser canvas. (#1224) 2017-12-05 20:18:52 +01:00
nickersonm 310990b237 Scroll 'Coy' background with contents (#1163)
* Scroll 'Coy' background with contents

Attaches <pre> background (alternating line colors in 'Coy') to <code> contents when in limited-height <pre> that requires scrolling.

* Moves background to <code> element

Move background from <pre> element to <code> element to preserve <pre> drop-shadows while keeping background attached during scroll.
2017-09-09 12:43:25 +02:00
Valtteri Laitinen 5e568330c0 Remove unneeded prefixed CSS (#989)
This PR removes
– prefixed `linear-gradient`
– prefixed `box-shadow`
– prefixed `border-radius`
– prefixed `opacity` + legacy IE alternatives
– `-moz-transition` (http://caniuse.com/css-transitions)
2016-07-19 11:20:18 -04:00
Dave Wasmer cd234dcd3c update linear-gradient syntax from `left` to `to right` 2016-03-08 19:26:52 -07:00
Andreas Rohner 16f6f39fac Remove direction-property from themes
Remove direction-property from all themes, because it is
incompatible with the EPUB-format. This was reported in issue
#902.
2016-02-19 23:16:42 +01:00
Andreas Rohner a16c62a1ce Fix Solarized Light theme
The official color palette is included as a CSS comment and every
color used is named with a comment.
2016-01-28 15:11:03 +01:00
Andreas Rohner 0e87ff0a15 Add solarized light theme to the list of themes and update
auto-generated files generated by gulp.
2016-01-27 11:55:16 +01:00
Andreas Rohner 661fa26385 Merge pull request #855 from hectormatos2011/gh-pages
Solarized Light Theme for PrismJS
2016-01-27 11:51:53 +01:00
Lea Verou 6ba9183f74 Merge pull request #865 from zeitgeist87/fix-coy-theme
Fix coy theme shadows
2016-01-24 15:57:48 +02:00
Andreas Rohner 58d2337d1e Fix coy theme shadows
This patch removes max-height from the pre tag in the coy theme,
because this height limitation is inconsistent with the other
themes.

The above change causes a bug in the shadows of the coy theme.
Adding max-height: 13em to the ::before and ::after selector fixes
the shadow bug.
2016-01-24 04:01:16 +01:00
Jordan Danielewski 6d54717569 Add prefix for Firefox selection and move prefixed rule first 2016-01-24 02:46:45 +01:00
Jordan Danielewski 36ddfb5a1f Don't add new rule 2016-01-22 16:41:25 +01:00
Jordan Danielewski 8c310bccd9 No background for <code> in <pre> 2016-01-22 15:00:59 +01:00
Andreas Rohner fe318d8351 Add @media type for the max-height property in the coy theme, so
that it is disabled for printouts.
2016-01-21 11:59:25 +01:00
hectormatos2011 35ac9921a4 Highlight rules suck. I think these work.
This is what happens when an iOS Dev tries his hand at CSS.
2016-01-16 20:51:30 -08:00
hectormatos2011 a5c8b67607 Add highlighting rule 2016-01-16 20:40:13 -08:00
hectormatos2011 70846ba987 New Theme for PrismJS - Solarized Light
I quite like the solarized themes - they are pretty accessible and a lot of work was done on created something that is easy on the eyes. I ported Solarized Light for PrismJS. It would be pretty cool if the solarized themes were included with PrismJS! However, after some research, I couldn't quite see any attribution rules so I provided a link to the original creator of the solarized formats in a comment at the top of the css file.
2016-01-16 20:35:19 -08:00
Robin Berjon 1a971b54bc revert white-space to normal when code is inline instead of in a pre 2015-10-28 10:21:41 -04:00
Anuj Nair 47bf31aefb Fixing coy theme + line numbers plugin when used in conjunction with bootstrap. 2015-09-09 12:22:05 -07:00
Anuj Nair 1df5ce8b3e Fixing coy theme + line numbers plugin overflowing on long blocks of text 2015-09-08 22:40:45 -07:00
Anuj Nair 56b3d295cb Issue 324 - Fixing word wrap on long code lines, which is breaking the line-numbers plugin 2015-08-28 23:42:08 -07:00
Anuj Nair 52829b3c3e Issue 675 - fixing inline style for Coy theme 2015-08-27 21:48:00 -07:00
Golmote ed9d7e354c Add Ubuntu Mono font to font stack 2015-07-26 11:26:07 +02:00
Shawn Sparks d76ede9372 added color for function tokens 2015-03-14 10:23:58 -05:00
Golmote ca8d24f3f5 Fix bug related to line-highlighting plugin 2015-03-01 00:59:49 +01:00
Golmote eaf8ac0c61 Improved Markdown + added example 2015-01-07 19:48:29 +01:00
Lea Verou f2984edbb9 Added SQL variable support 2014-09-11 18:40:27 -04:00
lgiraudel b14b05e266 Use of existing colors for `deleted` and `inserted` tokens. 2014-09-01 00:36:03 +02:00
lgiraudel 7a9d3b79d6 Adding default colors for `.token.deleted` and `.token.inserted` 2014-08-29 18:45:12 +02:00
Jannik Zschiesche e1a659d3f2 Merge pull request #295 from bholst/gh-pages
Add language definition for Haskell
2014-08-13 16:46:45 +02:00
Bastian Holst 6e26a58b9d Correct haskell support for strings and characters
This commit adds correct support for Haskell characters and strings.
To me, having only one type of token for characters and strings makes
no sense in Haskell as they can be distinguished easily.
Characters start with a single quote and strings start with a double
quote. Furthermore, characters can only contain —guess what— one
character whereas strings can caintain multiple or none of them.
String can also have gaps.
2014-08-12 21:39:00 +02:00
Jannik Zschiesche 8cc777d975 Make coding style in the themes more consistent
* Use tabs
* Use the same indention & whitespaces rules everywhere
2014-08-12 18:26:03 +02:00
Jannik Zschiesche ce354254c0 Define default line height in all themes
This should fix #40 & #278
2014-08-12 18:06:54 +02:00