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
7109c18c2b
Coy: Minor improvements ( #2176 )
2020-06-27 21:34:40 +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
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
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
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
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
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
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
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
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
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
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
Jannik Zschiesche
2e0b8ce4bb
Coy theme: Fix issue with defined height of the <pre> tag
...
* The max-height on the `<pre>` is if there is no defined height.
The definitions of the code ensure, that the contents stay inside the `<pre>`. The `width: 100%` is need if there is no defined height of the `<pre>`, see http://stackoverflow.com/questions/14262938/child-with-max-height-100-overflows-parent .
2014-07-22 18:49:19 +02:00
Jannik Zschiesche
fa2dedc25a
Fix small scrollbar issue in the coy theme
2014-07-22 18:27:23 +02:00
Jannik Zschiesche
84d21b1967
Further improvements of the coy themes
...
* Shadows are now visible again!
* Small code cleanup (removed now unnecessary outer `max-height`)
2014-07-22 17:24:28 +02:00
Jannik Zschiesche
b42f3b0b13
Fix hidden line numbers
...
The issue is that the `<code>` element needs the `overflow: scroll` (since the code block has a `max-height`). So the line numbers container, which is positioned absolutely using a negative left position is hidden.
This is fixed by changing the way the `<code>` element is positioned: not with a margin and a small size, but with the padding & a larger container.
2014-07-22 15:25:48 +02:00
Shane Osbourne
989481a384
Add 'word-break: normal' to allow code overflow on the new Ghost Blogging platform
2013-10-24 20:51:59 +01:00
Lea Verou
87d7640e0b
Moved themes to themes/ folder
2013-10-07 09:46:33 +02:00