Sha256: 09d49f1c98165ce7388f507ca0c4d00fc04a26a50d2b213eef8b442486080da4
Contents?: true
Size: 1.65 KB
Versions: 4
Compression:
Stored size: 1.65 KB
Contents
// stylelint-disable selector-max-type .markdown-body { // Inline code snippets code, tt { // stylelint-disable-next-line primer/spacing padding: 0.2em 0.4em; margin: 0; // stylelint-disable-next-line primer/typography font-size: 85%; white-space: break-spaces; // keeps rendering spaces, but breaks them onto multiple lines background-color: var(--bgColor-neutral-muted, var(--color-neutral-muted)); border-radius: $border-radius; br { display: none; } } del code { text-decoration: inherit; } samp { // stylelint-disable-next-line primer/typography font-size: 85%; } pre { word-wrap: normal; code { // stylelint-disable-next-line primer/typography font-size: 100%; } // Code tags within code blocks (<pre>s) > code { padding: 0; margin: 0; word-break: normal; white-space: pre; background: transparent; border: 0; } } .highlight { margin-bottom: $spacer-3; pre { margin-bottom: 0; word-break: normal; } } .highlight pre, pre { padding: $spacer-3; overflow: auto; // stylelint-disable-next-line primer/typography font-size: 85%; // stylelint-disable-next-line primer/typography line-height: 1.45; color: var(--fgColor-default, var(--color-fg-default)); background-color: var(--bgColor-muted, var(--color-canvas-subtle)); border-radius: $border-radius; } pre code, pre tt { display: inline; max-width: auto; padding: 0; margin: 0; overflow: visible; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } }
Version data entries
4 entries across 4 versions & 1 rubygems