digital-ide/css/documentation.css

520 lines
6.8 KiB
CSS

:root {
--dark-main-color : #df733d;
--light-main-color : #cc6633;
}
body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.5;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
line-height: 1.5;
word-wrap: break-word;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-position: center 0;
background-image: url(--backgroundImage);
}
.octicon {
display: inline-block;
vertical-align: text-top;
fill: currentColor;
}
a {
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
#wrapper {
justify-content: center;
display: flex;
}
#write {
padding: 15px 30px;
width: 1000px;
}
.ImgCaption {
padding-top: 0;
margin-top: 7px;
width: fit-content;
}
.vscode-dark .ImgCaption {
border-bottom: 2px solid var(--dark-main-color);
color: white;
}
.vscode-light .ImgCaption {
border-bottom: 2px solid var(--light-main-color);
color: black;
}
a:active,
a:hover {
outline-width: 0;
}
strong {
font-weight: inherit;
}
strong {
font-weight: bolder;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
}
.error-out {
display: flex;
justify-content: center;
align-items: center;
}
.error {
color: rgb(227, 60, 60);
border-radius: 1em;
border: 1.5px solid rgb(227, 60, 60);
padding: 10px 20px;
}
code,
kbd,
pre {
font-family: monospace, monospace;
font-size: 1em;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
input {
font: inherit;
margin: 0;
}
input {
overflow: visible;
}
[type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
* {
box-sizing: border-box;
}
input {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
a {
color: #4078c0;
text-decoration: none;
}
a:hover,
a:active {
text-decoration: underline;
}
strong {
font-weight: 600;
}
hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid;
}
hr::before {
display: table;
content: "";
}
hr::after {
display: table;
clear: both;
content: "";
}
table {
border-spacing: 0;
border-collapse: collapse;
}
td,
th {
padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0;
}
h1 {
font-size: 32px;
font-weight: 600;
}
h2 {
font-size: 24px;
font-weight: 600;
}
h3 {
font-size: 20px;
font-weight: 600;
}
h4 {
font-size: 16px;
font-weight: 600;
}
h5 {
font-size: 14px;
font-weight: 600;
}
h6 {
font-size: 12px;
font-weight: 600;
}
p {
margin-top: 0;
margin-bottom: 10px;
}
blockquote {
margin: 0;
}
ul,
ol {
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
ol ol,
ul ol {
list-style-type: lower-roman;
}
ul ul ol,
ul ol ol,
ol ul ol,
ol ol ol {
list-style-type: lower-alpha;
}
dd {
margin-left: 0;
}
code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.octicon {
vertical-align: text-bottom;
}
input {
-webkit-font-feature-settings: "liga" 0;
font-feature-settings: "liga" 0;
}
.markdown-body::before {
display: table;
content: "";
}
.markdown-body::after {
display: table;
clear: both;
content: "";
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
a:not([href]) {
color: inherit;
text-decoration: none;
}
.anchor {
float: left;
padding-right: 4px;
margin-left: -20px;
line-height: 1;
}
.anchor:focus {
outline: none;
}
p,
blockquote,
ul,
ol,
dl,
table,
pre {
margin-top: 0;
margin-bottom: 16px;
}
hr {
height: 0.25em;
padding: 0;
margin: 24px 0;
border: 0;
}
blockquote {
padding: 0 1em;
}
blockquote>:first-child {
margin-top: 0;
}
blockquote>:last-child {
margin-bottom: 0;
}
kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
vertical-align: middle;
border-radius: 3px;
}
#write h1,
#write h2,
#write h3,
#write h4,
#write h5,
#write h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25;
}
.vscode-dark h1 {
color: #eee;
border-bottom: 3px solid #df733d;
width: fit-content;
margin: 0 0 1.0em 0;
line-height: 1.3;
}
.vscode-dark h2 {
color: #eee;
}
.vscode-dark h2::before {
content: 'H2';
border-radius: .3em;
font-size: .8em;
padding: 3px 7px;
margin-right: 15px;
color: #eee;
background-color: #df733d;
}
.vscode-light h1 {
color: #000;
border-bottom: 3px solid #cc6633;
width: fit-content;
margin: 0 0 1.0em 0;
line-height: 1.3;
}
.vscode-light h2 {
color: #000;
}
.vscode-light h2::before {
content: 'H2';
border-radius: .3em;
font-size: .8em;
padding: 3px 7px;
margin-right: 15px;
color: #eee;
background-color: #cc6633;
}
h1 {
padding-bottom: 0.3em;
font-size: 2em;
}
h2 {
padding-bottom: 0.3em;
font-size: 1.5em;
}
h3 {
font-size: 1.25em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: 0.875em;
}
h6 {
font-size: 0.85em;
}
ul,
ol {
padding-left: 2em;
}
ul ul,
ul ol,
ol ol,
ol ul {
margin-top: 0;
margin-bottom: 0;
}
li>p {
margin-top: 16px;
}
li+li {
margin-top: 0.25em;
}
/*
table {
display: block;
width: 100%;
overflow: auto;
}
table th {
font-weight: bold;
}
table th,
table td {
padding: 6px 13px;
border: .7px solid;
}
table tr {
border-top: .7px solid;
} */
img {
max-width: 100%;
box-sizing: content-box;
}
#write table
{
width: 95%;
border-collapse: collapse;
text-align: center;
margin: 20px;
max-width: 750px;
}
#write table td, table th
{
border: 1px solid transparent;
padding: 12px 10px;
border-radius: .5em;
word-wrap: break-word;
}
#write table thead th
{
background-color: var(--dark-main-color);
font-size: 20px;
font-weight: bolder;
width: 100px;
text-align: center;
vertical-align: middle;
padding: 10px;
}
.vscode-dark table thead th {
color: white;
}
.vscode-dark table td, table th {
color: rgb(234, 231, 231);
}
.vscode-light table thead th {
color: white;
}
.vscode-light table td, table th {
color: rgb(16, 16, 16);
}
.vscode-dark table tr:nth-child(even)
{
background: #20242b;
}
.vscode-light table tr:nth-child(even)
{
background: #e7e1e1;
}