vscode/extensions/markdown/media/markdown.css

204 lines
3.4 KiB
CSS
Raw Normal View History

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.
*--------------------------------------------------------------------------------------------*/
body {
font-family: "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
font-size: 14px;
padding: 0 12px;
2016-05-21 07:39:12 +00:00
line-height: 22px;
word-wrap: break-word;
2016-05-21 07:39:12 +00:00
}
body.scrollBeyondLastLine {
margin-bottom: calc(100vh - 22px);
}
body.showEditorSelection .code-line {
position: relative;
}
body.showEditorSelection .code-active-line:before,
body.showEditorSelection .code-line:hover:before {
content: "";
display: block;
position: absolute;
top: 0;
left: -12px;
height: 100%;
}
body.showEditorSelection .code-active-line:before {
border-left: 3px solid rgba(0, 122, 204, 0.5);
}
body.showEditorSelection .code-line:hover:before {
border-left: 3px solid #4080D0;
}
2016-05-21 07:39:12 +00:00
img {
max-width: 100%;
max-height: 100%;
}
a {
color: #4080D0;
text-decoration: none;
}
a:focus,
input:focus,
select:focus,
textarea:focus {
outline: 1px solid -webkit-focus-ring-color;
outline-offset: -1px;
}
hr {
border: 0;
height: 2px;
border-bottom: 2px solid;
}
h1 {
padding-bottom: 0.3em;
line-height: 1.2;
border-bottom-width: 1px;
border-bottom-style: solid;
}
h1, h2, h3 {
font-weight: normal;
}
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code {
font-size: inherit;
line-height: auto;
}
2016-05-21 07:39:12 +00:00
a:hover {
color: #4080D0;
text-decoration: underline;
}
table {
border-collapse: collapse;
}
table > thead > tr > th {
text-align: left;
border-bottom: 1px solid;
}
table > thead > tr > th,
table > thead > tr > td,
table > tbody > tr > th,
table > tbody > tr > td {
padding: 5px 10px;
}
table > tbody > tr + tr > td {
border-top: 1px solid;
}
blockquote {
margin: 0 7px 0 5px;
padding: 0 16px 0 10px;
border-left: 5px solid;
}
code {
font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";
font-size: 14px;
line-height: 19px;
}
body.wordWrap pre {
white-space: pre-wrap;
}
2016-05-21 07:39:12 +00:00
.mac code {
font-size: 12px;
line-height: 18px;
}
code > div {
padding: 16px;
border-radius: 3px;
overflow: auto;
}
/** Theming */
2016-06-15 07:47:30 +00:00
.vscode-light {
2016-05-21 07:39:12 +00:00
color: rgb(30, 30, 30);
}
2016-06-15 07:47:30 +00:00
.vscode-dark {
2016-05-21 07:39:12 +00:00
color: #DDD;
}
2016-06-15 07:47:30 +00:00
.vscode-high-contrast {
2016-05-21 07:39:12 +00:00
color: white;
}
2016-06-15 07:47:30 +00:00
.vscode-light code {
2016-05-21 07:39:12 +00:00
color: #A31515;
}
2016-06-15 07:47:30 +00:00
.vscode-dark code {
2016-05-21 07:39:12 +00:00
color: #D7BA7D;
}
2016-06-15 07:47:30 +00:00
.vscode-light code > div {
2016-05-21 07:39:12 +00:00
background-color: rgba(220, 220, 220, 0.4);
}
2016-06-15 07:47:30 +00:00
.vscode-dark code > div {
2016-05-21 07:39:12 +00:00
background-color: rgba(10, 10, 10, 0.4);
}
2016-06-15 07:47:30 +00:00
.vscode-high-contrast code > div {
2016-05-21 07:39:12 +00:00
background-color: rgb(0, 0, 0);
}
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);
}
2016-06-15 07:47:30 +00:00
.vscode-light table > thead > tr > th {
2016-05-21 07:39:12 +00:00
border-color: rgba(0, 0, 0, 0.69);
}
2016-06-15 07:47:30 +00:00
.vscode-dark table > thead > tr > 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,
.vscode-light hr,
.vscode-light table > tbody > tr + tr > 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,
.vscode-dark hr,
.vscode-dark table > tbody > tr + tr > td {
2016-05-21 07:39:12 +00:00
border-color: rgba(255, 255, 255, 0.18);
}
2016-06-15 07:47:30 +00:00
.vscode-light blockquote,
.vscode-dark blockquote {
2016-05-21 07:39:12 +00:00
background: rgba(127, 127, 127, 0.1);
border-color: rgba(0, 122, 204, 0.5);
}
2016-06-15 07:47:30 +00:00
.vscode-high-contrast blockquote {
2016-05-21 07:39:12 +00:00
background: transparent;
border-color: #fff;
}