Debian Codegraph @

debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments.sass

raw
1 .codeblock-example
2 border: 1px solid $table-border-color
3 border-bottom: none
4 padding: $base-line-height
5 padding-top: $base-line-height * 2
6 font-weight: 500
7 background: $white
8 position: relative
9 &:after
10 content: "Example"
11 position: absolute
12 top: 0px
13 left: 0px
14 background: $purple
15 color: lighten(purple, 80%)
16 padding: $base-line-height / 4 $base-line-height / 2
17 &.prettyprint-example-only
18 border: 1px solid $table-border-color
19 margin-bottom: $base-line-height
20
21 .codeblock, div[class^='highlight']
22 border: 1px solid $table-border-color
23 padding: 0px
24 overflow-x: auto
25 background: $white
26 // 1px hack otherwise border won't show. lame
27 margin: 1px 0 $base-line-height 0
28 div[class^='highlight']
29 border: none
30 background: none
31 margin: 0
32 // Needs 100% width for line highlighting to work properly
33 div[class^='highlight'] td.code
34 width: 100%
35 .linenodiv pre
36 border-right: solid 1px lighten($table-border-color, 2%)
37 margin: 0
38 padding: $base-line-height / 2 $base-line-height / 2
39 font-family: $code-font-family
40 font-size: 12px
41 line-height: 1.5
42 color: $text-lighter
43 div[class^='highlight'] pre
44 white-space: pre
45 margin: 0
46 padding: $base-line-height / 2 $base-line-height / 2
47 font-family: $code-font-family
48 font-size: 12px
49 line-height: 1.5
50 display: block
51 overflow: auto
52 color: $text-color
53 pre.literal-block
54 @extend .codeblock
55
56 @media print
57 .codeblock, div[class^='highlight'], div[class^='highlight'] pre
58 white-space: pre-wrap
59