File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 48
48
text-overflow : ellipsis ;
49
49
white-space : nowrap ;
50
50
padding-inline-start : .25rem ;
51
+
52
+ code {
53
+ font-size : inherit ;
54
+ opacity : .8 ;
55
+ }
51
56
}
52
57
53
58
.Terminal_controls {
58
63
}
59
64
.Terminal_controls span {
60
65
display : inline-block ;
61
- width : .75 rem ;
62
- height : .75 rem ;
66
+ width : .65 rem ;
67
+ height : .65 rem ;
63
68
border-radius : 50% ;
64
69
65
70
& .red {
71
76
& .green {
72
77
background : $green ;
73
78
}
79
+ [data-bs-theme = " dark" ] & {
80
+ opacity : .85 ;
81
+ filter : grayscale (.4 );
82
+ }
74
83
}
75
84
85
+
76
86
.Terminal_body {
77
87
background-color : $n-800 ;
78
88
height : 100% ;
Original file line number Diff line number Diff line change 3
3
}) }}>
4
4
{% if showFilename %}
5
5
<div class =" Terminal_header py-2 ps-4 pe-2 mb-0 d-flex justify-content-between align-items-center" >
6
- <a id =" {{ this .elementId }}" href =" #{{ this .elementId }}" class =" Terminal_title" >{{ filename }}</a >
6
+ <a id =" {{ this .elementId }}" href =" #{{ this .elementId }}" class =" Terminal_title" >< code > {{ filename }}</ code > </a >
7
7
<div class =" Terminal_actions" >
8
8
<twig:CodeBlockButtons source =" {{ this .rawSource }}" link =" {{ this .githubLink }}" />
9
9
</div >
Original file line number Diff line number Diff line change 9
9
</div >
10
10
</div >
11
11
<div class =" Terminal_body" >
12
- <pre class =" Terminal_content ps-4 pt-3" style =" padding-bottom: {{ bottomPadding }}px; height: {{ height }}" >
12
+ <pre class =" Terminal_content ps-4 pt-3" style =" padding-bottom: {{ bottomPadding }}px; height: {{ height }}" >< code >
13
13
{{- this.process (block (' content' ))| raw -}}
14
- </pre >
14
+ </code ></ pre >
15
15
</div >
16
16
</div >
You can’t perform that action at this time.
0 commit comments