Files
darkfi/doc/theme/ayu-highlight.css
2022-10-12 17:26:00 +02:00

241 lines
2.7 KiB
CSS

/*
Based off of the Ayu theme
Original by Dempfi (https://github.com/dempfi/ayu)
*/
.hljs {
display: block;
overflow-x: auto;
background: #181818;
color: #E2E2E2;
padding: 0.5em;
}
.hljs-comment,
.hljs-quote {
color: #5c6773;
font-style: italic;
}
.hljs-variable,
.hljs-template-variable,
.hljs-attribute,
.hljs-attr,
.hljs-regexp,
.hljs-link,
.hljs-selector-id,
.hljs-selector-class {
color: #ff7733;
}
.hljs-number,
.hljs-meta,
.hljs-builtin-name,
.hljs-literal,
.hljs-type,
.hljs-params {
color: #ffee99;
}
.hljs-string,
.hljs-bullet {
color: #b8cc52;
}
.hljs-title,
.hljs-built_in,
.hljs-section {
color: #ffb454;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-symbol {
color: #ff7733;
}
.hljs-name {
color: #36a3d9;
}
.hljs-tag {
color: #00568d;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-addition {
color: #91b362;
}
.hljs-deletion {
color: #d96c75;
}
/*
-------------
DarkFi Theme
-------------
*/
#theme-list{
background-color:#000;
border-radius:0;
}
h1,h2{
font-family:'InterDisplay', sans-serif;
font-weight:900;
letter-spacing:0.035em;
}
h3,h4,h5,h6{
font-family:'Inter', sans-serif;
font-weight:900;
}
h1{
border-left: 10px solid #0ff;
padding-left:15px;
padding-top:0;
padding-bottom:0;
}
h2{
border-left: 7px solid #747474;
padding-left:10px;
}
h3{
border-left: 2px solid #222222;
padding-left:10px;
}
.menu-title{
border:0;
background-image:url("logo.png");
background-size:contain;
background-repeat:no-repeat;
background-position: center;
font-size:0;
}
#sidebar{
border-right: 1px solid #596067;
}
.sidebar-scrollbox{
margin-left:15px;
}
#menu-bar{
border-bottom: 1px solid #596067;
margin-bottom:5px;
}
#content{
margin-top:30px;
}
.hljs{
border:1px solid #104242;
border-radius:0;
padding:17px;
}
p .hljs{
border:0;
background:#232323;
}
blockquote{
border-left: 1px solid #5B8E8E;
}
.chapter{
font-family:'Inter', sans-serif;
font-weight:700;
font-size:1.1em;
}
.chapter-item{
margin-top:0px;
}
table{
width:100%;
border:1px solid #1C1C1C;
}
thead{
text-align:left;
height:40px;
border-bottom:1px solid #4B4B4B;
}
tr{
height:40px;
border-bottom:1px solid #4B4B4B;
}
.content ul{
list-style-type: square;
}
.content a:hover{
text-decoration: none; color:#C23D4C;
}
.content p a code:hover{
text-decoration:none;
color:#E76A78;
}
/* Code */
.hljs-keyword{
color:#29BFBF;
}
.hljs-literal{
color:#B1ABDB;
}
.hljs-number{
color:#C8838B;
}
.hljs-built_in{
color:#FCB8F2;
}
.hljs-string{
color:#9DE5EF;
}
.hljs-meta{
color:#65C8FF;
}
.hljs-title{
color:#BEFF03;
}
/* Notes */
.footnote-definition{
font-family:'IBMPlexMono', monospace;
color:#5C6773;
}