2016-05-21 07:39:12 +00:00
|
|
|
/*---------------------------------------------------------------------------------------------
|
|
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
|
2019-05-22 17:41:13 +00:00
|
|
|
html, body {
|
2020-06-05 08:56:07 +00:00
|
|
|
font-family: var(--markdown-font-family, -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", system-ui, "Ubuntu", "Droid Sans", sans-serif);
|
2020-05-20 22:40:27 +00:00
|
|
|
font-size: var(--markdown-font-size, 14px);
|
2017-04-10 18:03:43 +00:00
|
|
|
padding: 0 26px;
|
2020-05-20 22:40:27 +00:00
|
|
|
line-height: var(--markdown-line-height, 22px);
|
2017-01-13 00:29:27 +00:00
|
|
|
word-wrap: break-word;
|
2016-05-21 07:39:12 +00:00
|
|
|
}
|
|
|
|
|
2020-07-14 00:40:38 +00:00
|
|
|
body {
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Reset margin top for elements */
|
|
|
|
h1, h2, h3, h4, h5, h6,
|
|
|
|
p, ol, ul, pre {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-06-21 19:03:57 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-weight: 600;
|
|
|
|
margin-top: 24px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
line-height: 1.25;
|
2020-07-14 00:40:38 +00:00
|
|
|
}
|
|
|
|
|
2017-03-03 05:04:04 +00:00
|
|
|
#code-csp-warning {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
color: white;
|
|
|
|
margin: 16px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 12px;
|
|
|
|
font-family: sans-serif;
|
|
|
|
background-color:#444444;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 6px;
|
|
|
|
box-shadow: 1px 1px 1px rgba(0,0,0,.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
#code-csp-warning:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color:#007acc;
|
|
|
|
box-shadow: 2px 2px 2px rgba(0,0,0,.25);
|
|
|
|
}
|
|
|
|
|
2016-11-29 22:51:15 +00:00
|
|
|
body.scrollBeyondLastLine {
|
|
|
|
margin-bottom: calc(100vh - 22px);
|
|
|
|
}
|
|
|
|
|
2017-01-23 19:59:12 +00:00
|
|
|
body.showEditorSelection .code-line {
|
2017-01-19 01:58:45 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-09-19 05:16:06 +00:00
|
|
|
body.showEditorSelection :not(tr,ul,ol).code-active-line:before,
|
|
|
|
body.showEditorSelection :not(tr,ul,ol).code-line:hover:before {
|
2017-01-20 00:11:34 +00:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: -12px;
|
|
|
|
height: 100%;
|
2017-01-20 02:13:07 +00:00
|
|
|
}
|
|
|
|
|
2022-09-19 05:16:06 +00:00
|
|
|
.vscode-high-contrast.showEditorSelection :not(tr,ul,ol).code-line .code-line:hover:before {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
2017-01-24 23:46:01 +00:00
|
|
|
body.showEditorSelection li.code-active-line:before,
|
|
|
|
body.showEditorSelection li.code-line:hover:before {
|
|
|
|
left: -30px;
|
|
|
|
}
|
2017-01-23 23:24:53 +00:00
|
|
|
|
|
|
|
.vscode-light.showEditorSelection .code-active-line:before {
|
|
|
|
border-left: 3px solid rgba(0, 0, 0, 0.15);
|
2017-01-20 00:11:34 +00:00
|
|
|
}
|
|
|
|
|
2017-01-23 23:24:53 +00:00
|
|
|
.vscode-light.showEditorSelection .code-line:hover:before {
|
|
|
|
border-left: 3px solid rgba(0, 0, 0, 0.40);
|
|
|
|
}
|
|
|
|
|
|
|
|
.vscode-dark.showEditorSelection .code-active-line:before {
|
2017-01-25 02:51:35 +00:00
|
|
|
border-left: 3px solid rgba(255, 255, 255, 0.4);
|
2017-01-23 23:24:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.vscode-dark.showEditorSelection .code-line:hover:before {
|
2017-01-25 02:51:35 +00:00
|
|
|
border-left: 3px solid rgba(255, 255, 255, 0.60);
|
2017-01-23 23:24:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.vscode-high-contrast.showEditorSelection .code-active-line:before {
|
|
|
|
border-left: 3px solid rgba(255, 160, 0, 0.7);
|
|
|
|
}
|
|
|
|
|
|
|
|
.vscode-high-contrast.showEditorSelection .code-line:hover:before {
|
|
|
|
border-left: 3px solid rgba(255, 160, 0, 1);
|
2017-01-19 01:58:45 +00:00
|
|
|
}
|
|
|
|
|
2023-03-30 18:07:18 +00:00
|
|
|
/* Prevent `sub` and `sup` elements from affecting line height */
|
|
|
|
sub,
|
|
|
|
sup {
|
|
|
|
line-height: 0;
|
|
|
|
}
|
2021-05-26 16:32:24 +00:00
|
|
|
|
2023-08-22 22:24:53 +00:00
|
|
|
ul ul:first-child,
|
|
|
|
ul ol:first-child,
|
|
|
|
ol ul:first-child,
|
|
|
|
ol ol:first-child {
|
2021-05-26 16:05:35 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2017-04-13 18:05:35 +00:00
|
|
|
|
2022-08-29 22:52:54 +00:00
|
|
|
img, video {
|
2016-05-21 07:39:12 +00:00
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2018-05-14 21:35:43 +00:00
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2016-05-21 07:39:12 +00:00
|
|
|
a:focus,
|
|
|
|
input:focus,
|
|
|
|
select:focus,
|
|
|
|
textarea:focus {
|
|
|
|
outline: 1px solid -webkit-focus-ring-color;
|
|
|
|
outline-offset: -1px;
|
|
|
|
}
|
|
|
|
|
2020-07-14 00:40:38 +00:00
|
|
|
p {
|
2023-06-21 19:03:57 +00:00
|
|
|
margin-bottom: 16px;
|
2020-07-14 00:40:38 +00:00
|
|
|
}
|
|
|
|
|
2023-08-22 22:24:53 +00:00
|
|
|
li p {
|
|
|
|
margin-bottom: 0.7em;
|
|
|
|
}
|
|
|
|
|
2020-07-14 00:40:38 +00:00
|
|
|
ul,
|
|
|
|
ol {
|
2020-08-03 19:27:32 +00:00
|
|
|
margin-bottom: 0.7em;
|
2020-07-14 00:40:38 +00:00
|
|
|
}
|
|
|
|
|
2016-05-21 07:39:12 +00:00
|
|
|
hr {
|
|
|
|
border: 0;
|
2023-06-21 19:03:57 +00:00
|
|
|
height: 1px;
|
|
|
|
border-bottom: 1px solid;
|
2016-05-21 07:39:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2023-06-21 19:03:57 +00:00
|
|
|
font-size: 2em;
|
|
|
|
margin-top: 0;
|
2016-05-21 07:39:12 +00:00
|
|
|
padding-bottom: 0.3em;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
2023-06-21 19:03:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding-bottom: 0.3em;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 0.875em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: 0.85em;
|
2016-05-21 07:39:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
2021-05-24 19:14:01 +00:00
|
|
|
margin-bottom: 0.7em;
|
2016-05-21 07:39:12 +00:00
|
|
|
}
|
|
|
|
|
2020-11-02 21:53:02 +00:00
|
|
|
th {
|
2016-05-21 07:39:12 +00:00
|
|
|
text-align: left;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
}
|
|
|
|
|
2020-11-02 21:53:02 +00:00
|
|
|
th,
|
|
|
|
td {
|
2016-05-21 07:39:12 +00:00
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table > tbody > tr + tr > td {
|
|
|
|
border-top: 1px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2023-08-03 22:41:07 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 2px 16px 0 10px;
|
2018-05-16 22:16:15 +00:00
|
|
|
border-left-width: 5px;
|
|
|
|
border-left-style: solid;
|
2023-08-03 22:41:07 +00:00
|
|
|
border-radius: 2px;
|
2016-05-21 07:39:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2020-06-05 08:56:07 +00:00
|
|
|
font-family: var(--vscode-editor-font-family, "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace);
|
2019-05-29 22:44:48 +00:00
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1.357em;
|
2016-05-21 07:39:12 +00:00
|
|
|
}
|
|
|
|
|
2017-01-13 00:29:27 +00:00
|
|
|
body.wordWrap pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2017-02-07 01:18:58 +00:00
|
|
|
pre:not(.hljs),
|
|
|
|
pre.hljs code > div {
|
2016-05-21 07:39:12 +00:00
|
|
|
padding: 16px;
|
|
|
|
border-radius: 3px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2018-05-14 21:35:43 +00:00
|
|
|
pre code {
|
2023-11-15 20:03:04 +00:00
|
|
|
display: inline-block;
|
2018-05-14 21:35:43 +00:00
|
|
|
color: var(--vscode-editor-foreground);
|
2019-07-22 09:49:04 +00:00
|
|
|
tab-size: 4;
|
2023-11-15 20:03:04 +00:00
|
|
|
background: none;
|
2016-05-21 07:39:12 +00:00
|
|
|
}
|
|
|
|
|
2019-09-19 23:26:33 +00:00
|
|
|
/** Theming */
|
2016-05-21 07:39:12 +00:00
|
|
|
|
2023-04-05 21:02:22 +00:00
|
|
|
pre {
|
2022-02-24 00:55:41 +00:00
|
|
|
background-color: var(--vscode-textCodeBlock-background);
|
2023-08-03 22:41:07 +00:00
|
|
|
border: 1px solid var(--vscode-widget-border);
|
2016-05-21 07:39:12 +00:00
|
|
|
}
|
|
|
|
|
2016-06-15 07:47:30 +00:00
|
|
|
.vscode-high-contrast h1 {
|
2016-05-21 07:39:12 +00:00
|
|
|
border-color: rgb(0, 0, 0);
|
|
|
|
}
|
|
|
|
|
2020-11-02 21:53:02 +00:00
|
|
|
.vscode-light th {
|
2016-05-21 07:39:12 +00:00
|
|
|
border-color: rgba(0, 0, 0, 0.69);
|
|
|
|
}
|
|
|
|
|
2020-11-02 21:53:02 +00:00
|
|
|
.vscode-dark th {
|
2016-05-21 07:39:12 +00:00
|
|
|
border-color: rgba(255, 255, 255, 0.69);
|
|
|
|
}
|
|
|
|
|
2016-06-15 07:47:30 +00:00
|
|
|
.vscode-light h1,
|
2023-06-21 19:03:57 +00:00
|
|
|
.vscode-light h2,
|
2016-06-15 07:47:30 +00:00
|
|
|
.vscode-light hr,
|
2020-11-02 21:53:02 +00:00
|
|
|
.vscode-light td {
|
2016-05-21 07:39:12 +00:00
|
|
|
border-color: rgba(0, 0, 0, 0.18);
|
|
|
|
}
|
|
|
|
|
2016-06-15 07:47:30 +00:00
|
|
|
.vscode-dark h1,
|
2023-06-21 19:03:57 +00:00
|
|
|
.vscode-dark h2,
|
2016-06-15 07:47:30 +00:00
|
|
|
.vscode-dark hr,
|
2020-11-02 21:53:02 +00:00
|
|
|
.vscode-dark td {
|
2016-05-21 07:39:12 +00:00
|
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
|
|
}
|