457 lines
7.2 KiB
CSS
457 lines
7.2 KiB
CSS
:root {
|
|
--property: #b77804;
|
|
--value: #0451A5;
|
|
--attr_value: #2aa198;
|
|
--background_titles: #000;
|
|
}
|
|
|
|
|
|
|
|
.er_toc_tag,
|
|
:not(.code-content) > p {
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.tag {
|
|
color: #800000 !important;
|
|
font-weight:400;
|
|
}
|
|
.token.punctuation {
|
|
color: #800000 !important;
|
|
font-weight: 480;
|
|
}
|
|
.token.property,
|
|
.color.property {
|
|
color: var(--property) !important;
|
|
}
|
|
|
|
.token.value,
|
|
.color.value {
|
|
color: var(--value) !important;
|
|
}
|
|
.token.selector,
|
|
.token.attr-value {
|
|
color: var(--attr_value) !important;
|
|
font-weight: 480;
|
|
}
|
|
|
|
|
|
.language-markup .token.attr-name {
|
|
color: #E50000 !important;
|
|
font-weight: 500;
|
|
}
|
|
.language-markup .token.value {
|
|
color: #0451A5 !important;
|
|
font-weight: 500;
|
|
}
|
|
|
|
code[class*="language-markup"] {
|
|
color: #595959 !important;
|
|
}
|
|
code[class*="language-markup"]:hover {
|
|
color: #898989 !important;
|
|
}
|
|
|
|
code[class*="language-css"] {
|
|
color: var(--value) !important;
|
|
}
|
|
|
|
.token.number {
|
|
color: #FF0095 !important;
|
|
}
|
|
.token.unit {
|
|
color: #7400DA;
|
|
}
|
|
/* .token.hexcode.color {
|
|
color: #00c3ff;
|
|
} */
|
|
|
|
.token.function {
|
|
color: #4A8147 !important;
|
|
}
|
|
|
|
|
|
|
|
.token.comment {
|
|
color: #008000b3 !important;
|
|
}
|
|
pre[class*="language-"]:hover
|
|
.token.comment {
|
|
color: #04008017 !important;
|
|
}
|
|
|
|
|
|
body,
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
counter-reset: compteListe;
|
|
}
|
|
body {
|
|
font-family: sans-serif;
|
|
margin: auto;
|
|
max-width: 1280px;
|
|
}
|
|
|
|
/* h1 { */
|
|
/* text-align: center; */
|
|
/* } */
|
|
|
|
#navbar {
|
|
background-color: #fff !important;
|
|
border-radius: 2px;
|
|
/* position: sticky; */
|
|
top: 0px;
|
|
width: 100%;
|
|
display: block;
|
|
max-width: none;
|
|
text-align: center;
|
|
|
|
* {
|
|
}
|
|
|
|
a {
|
|
/* color: #000; */
|
|
color: blue;
|
|
display: inline-block;
|
|
font-size: 15px;
|
|
padding: 10px 10px 10px 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: red;
|
|
}
|
|
}
|
|
|
|
.resume {
|
|
white-space: pre-line;
|
|
border: 1px solid #aaf;
|
|
border-radius: 0;
|
|
padding: 0px;
|
|
line-height: 1.8em;
|
|
background: #f2f2ff;
|
|
padding: 15px 10px 20px 20px;
|
|
}
|
|
/* .resume + .wrap_css_html {
|
|
margin-top: -20px;
|
|
} */
|
|
|
|
.code-toolbar + .code-toolbar {
|
|
margin-top: -30px !important;
|
|
}
|
|
|
|
/* .exemple, */
|
|
.code-content {
|
|
/* border: 1px solid #e8cf8b; */
|
|
border-radius: 0 0 3px 3px;
|
|
padding: 8px 16px 12px;
|
|
margin-top: -16px;
|
|
background: #fff;
|
|
/* margin-bottom: 10px; */
|
|
float: none;
|
|
}
|
|
|
|
.code-content::after {
|
|
content: "";
|
|
clear: both;
|
|
display: table;
|
|
}
|
|
|
|
.code-toolbar {
|
|
border: 1px solid #e8cf8b;
|
|
margin-bottom: 50px;
|
|
}
|
|
pre[class*="language-"] {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
pre[class*="language-"] {
|
|
margin-top: 0 !important;
|
|
padding-bottom: 30px !important;
|
|
}
|
|
/* .exemple {
|
|
padding-top: 22px;
|
|
} */
|
|
pre.language-css {
|
|
background: #f5fde3 !important;
|
|
}
|
|
|
|
codecss,
|
|
codescaped {
|
|
background-color: #fdf6e3;
|
|
border-radius: 0 0 3px 3px;
|
|
padding: 3px;
|
|
color: #000 !important;
|
|
}
|
|
codecss {
|
|
background-color: #f5fde3;
|
|
}
|
|
codescaped.espace {
|
|
white-space: pre;
|
|
display: block;
|
|
border: 1px solid #e8cf8b;
|
|
padding: 15px 20px 22px 20px;
|
|
}
|
|
|
|
.wrap_css_html_button {
|
|
position: relative;
|
|
z-index: 9999;
|
|
float: right;
|
|
margin-left: -310px;
|
|
right: -11px;
|
|
top: -12px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
background: darkgreen;
|
|
border: 2px solid darkgreen;
|
|
border-radius: 0 4px 0px 4px;
|
|
color: #fff;
|
|
}
|
|
|
|
.wrap_anchor_link {
|
|
float: left;
|
|
position: absolute;
|
|
right: 25px;
|
|
text-decoration: none;
|
|
z-index: 999;
|
|
margin-right: 13px;
|
|
font-size: 16px;
|
|
margin-top: -11px;
|
|
background: rgb(161, 255, 161);
|
|
color: #000000;
|
|
padding: 1px 7px;
|
|
|
|
float: right;
|
|
margin-right: 33px;
|
|
position: sticky !important;
|
|
margin-left: -570px;
|
|
}
|
|
.anchor_link {
|
|
color: rgb(60, 99, 171);
|
|
}
|
|
|
|
.file {
|
|
background: #e3eafd;
|
|
font-style: normal;
|
|
color: #000 !important;
|
|
text-decoration: none !important;
|
|
padding: 0 7px;
|
|
}
|
|
|
|
.wrap_css_html div.code-toolbar[data-type="language-css"] > .toolbar {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
code:not([class]) {
|
|
font-size: 1.3em;
|
|
color: #000;
|
|
background: #fdf6e3;
|
|
padding: 0 5px;
|
|
}
|
|
/* :is(.code-toolbar) + :not(.exemple) {
|
|
margin-top: 1rem;
|
|
} */
|
|
:is(.exemple, .code-content) p {
|
|
color: #000;
|
|
}
|
|
|
|
div.code-toolbar > .toolbar {
|
|
opacity: 1 !important;
|
|
}
|
|
.toolbar-item:first-child span {
|
|
border-radius: 0 !important;
|
|
background: #fff !important;
|
|
box-shadow: none !important;
|
|
left: -10px !important;
|
|
position: relative !important;
|
|
}
|
|
|
|
.language-markup {
|
|
word-wrap: anywhere !important;
|
|
white-space: break-spaces !important;
|
|
}
|
|
|
|
/* code.language-css::before {
|
|
content: attr(id) " -- " attr(data-num_css);
|
|
position: relative;
|
|
float: right;
|
|
margin-right: 100px;
|
|
margin-top: -12px;
|
|
font-size: 12px;
|
|
} */
|
|
|
|
cmd,
|
|
code.term,
|
|
code.key,
|
|
kdb,
|
|
kdb.key {
|
|
background: gray;
|
|
color: #fff !important;
|
|
font-size: 1.3em;
|
|
font-weight: bold;
|
|
padding: 3px 13px;
|
|
border-radius: 4px;
|
|
white-space: pre-line;
|
|
}
|
|
kdb,
|
|
kdb.key {
|
|
font-size: 1em;
|
|
padding: 0px 10px;
|
|
}
|
|
code.term {
|
|
background: rgb(237, 221, 221);
|
|
color: #000000 !important;
|
|
}
|
|
cmd {
|
|
background: #000;
|
|
color: #3fff3f !important;
|
|
font-size: 1em;
|
|
}
|
|
|
|
hr.space {
|
|
height: 2rem;
|
|
border: 0;
|
|
}
|
|
hr.visible {
|
|
background-color: #000;
|
|
height: 10px;
|
|
margin: 3rem 0;
|
|
}
|
|
|
|
.copy-notification {
|
|
color: #ffffff;
|
|
background-color: rgba(0, 0, 0, 1);
|
|
padding: 20px;
|
|
border-radius: 20px;
|
|
position: fixed;
|
|
top: 30%;
|
|
left: 50%;
|
|
/* width: 150px; */
|
|
margin-top: -30px;
|
|
margin-left: -85px;
|
|
display: none;
|
|
text-align: center;
|
|
}
|
|
|
|
.wrap_css_html {
|
|
border: 2px solid #59b2a5;
|
|
padding: 10px;
|
|
margin-left: -10px;
|
|
margin-right: -10px;
|
|
border-radius: 6px;
|
|
}
|
|
.wrap_css_html .code-toolbar:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.wrap_css_html + .wrap_css_html {
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.wrap_css_html + *:not(.wrap_css_html) {
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.wrap_css_html:target {
|
|
border-color: red !important;
|
|
}
|
|
|
|
|
|
.color.property {
|
|
color: var(--property) !important;
|
|
font-weight: 550 !important;
|
|
}
|
|
.color.value {
|
|
color: var(--value) !important;
|
|
font-weight: bold;
|
|
}
|
|
|
|
|
|
:not(.code-content) > :is(h1, h2, h3, h4, h5, h6) {
|
|
background: var(--background_titles);
|
|
color: #FFF;
|
|
padding: 10px 20px;
|
|
}
|
|
:is(html#centred, section.centred) :not(.code-content) > :is(h1, h2, h3, h4, h5, h6) {
|
|
margin-left: -10px;
|
|
}
|
|
|
|
#next_flexbox {
|
|
display: block;
|
|
float: left;
|
|
margin: 3rem 0;
|
|
}
|
|
|
|
.hash_title {
|
|
position: absolute;
|
|
margin-left: -110px;
|
|
text-decoration: none;
|
|
width: 80px;
|
|
text-align: right;
|
|
color: blue;
|
|
}
|
|
|
|
.hash_title::before {
|
|
counter-increment: compteListe 1;
|
|
content: counter(compteListe) " ";
|
|
font-size: 13px;
|
|
}
|
|
|
|
div.pre {
|
|
white-space: pre-line;
|
|
}
|
|
|
|
|
|
|
|
.er_toc {
|
|
margin: 2rem 0;
|
|
border: 1px solid gray;
|
|
padding: 2em 0 1em 2em;
|
|
}
|
|
|
|
#toc {
|
|
display: none;
|
|
}
|
|
#toc_checkbox:checked + #toc {
|
|
display: block;
|
|
}
|
|
#toc li {
|
|
margin-bottom: 1em;
|
|
}
|
|
#toc_wrapper {
|
|
margin: 40px 0px -40px 0;
|
|
}
|
|
.er_toc_top {
|
|
float: right;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#top_page {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
#top_page a {
|
|
padding: 10px;
|
|
font-size: 1.2em;
|
|
text-decoration: none;
|
|
font-style: normal;
|
|
color: #000 !important;
|
|
}
|
|
|
|
.language-markup .token.keyword-class {
|
|
color: #000ECF !important;
|
|
}
|
|
.language-markup .token.keyword-id {
|
|
color: #C300FF !important;
|
|
}
|
|
|
|
/* quickfix ok with Normalise spaces (prism plugin) */
|
|
/* pre code[class^="language-"] {
|
|
color: #595959 !important;
|
|
margin-top: -1em;
|
|
display: block;
|
|
padding-bottom: 1em;
|
|
} */ |