-
Notifications
You must be signed in to change notification settings - Fork 20
/
styles.module.css
122 lines (106 loc) · 2.57 KB
/
styles.module.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.codeBlockContainer {
margin-bottom: var(--ifm-leading);
border-radius: var(--ifm-global-radius);
box-shadow: var(--ifm-global-shadow-lw);
}
.codeBlockContent {
position: relative;
/* rtl:ignore */
direction: ltr;
}
.codeBlockTitle {
border-bottom: 1px solid var(--ifm-color-emphasis-300);
font-size: var(--ifm-code-font-size);
font-weight: 500;
padding: 0.75rem var(--ifm-pre-padding);
border-top-left-radius: var(--ifm-global-radius);
border-top-right-radius: var(--ifm-global-radius);
}
.codeBlock {
margin: 0;
padding: 0;
border-radius: var(--ifm-global-radius);
}
.codeBlockTitle + .codeBlockContent .codeBlock {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.codeBlockStandalone {
padding: 0;
border-radius: var(--ifm-global-radius);
}
.copyButton {
background: rgb(0 0 0 / 30%);
border-radius: var(--ifm-global-radius);
color: var(--ifm-color-white);
opacity: 0;
user-select: none;
padding: 0.4rem 0.5rem;
position: absolute;
right: calc(var(--ifm-pre-padding) / 2);
top: calc(var(--ifm-pre-padding) / 2);
transition: opacity 200ms ease-in-out;
}
.copyButton:focus,
.codeBlockContent:hover > .copyButton,
.codeBlockTitle:hover + .codeBlockContent .copyButton {
opacity: 1;
}
.codeBlockLines {
font: inherit;
/* rtl:ignore */
float: left;
min-width: 100%;
padding: var(--ifm-pre-padding);
}
.codeBlockLines :global(.token-linetheme-code-block-highlighted-line) {
background-color: var(--docusaurus-highlighted-code-line-bg);
display: block;
margin: 0 calc(var(--ifm-pre-padding) * -1);
padding: 0 var(--ifm-pre-padding);
}
@media print {
.codeBlockLines {
white-space: pre-wrap;
}
}
.bufTerminalOutput {
color: #6f7377;
}
.bufTerminalOutputSeparator {
float: left;
width: 100%;
font-size: var(--ifm-code-font-size);
font-weight: 500;
color: rgb(57, 58, 52);
font-family: var(--ifm-font-family-base);
display: flex;
flex-direction: row;
margin-top: -0.4rem;
margin-bottom: -0.3rem;
}
.bufTerminalOutputSeparator > span {
padding-left: 0.5rem;
padding-right: 0.5rem;
color: #6f7377;
}
.bufTerminalOutputSeparator::before,
.bufTerminalOutputSeparator::after {
content: " ";
flex-grow: 0;
display: inline;
width: 1rem;
height: 1px;
border-radius: 0;
border-bottom: 1px solid var(--ifm-color-emphasis-300);
padding-top: 0.5rem;
}
.bufTerminalOutputSeparator::after {
width: 100%;
}