Files
Odin/tools/odin-html-docs/style.css

107 lines
1.7 KiB
CSS

/* doc directories */
table.`directory {
/*border: 1px solid #ccc!important;*/
table-layout: fixed;
border-collapse: collapse;
}
.doc-directory tr {
padding-left: 1em!important;
border-top: 1px solid #ccc!important;
border-bottom: 1px solid #ccc!important;
}
.doc-directory td {
padding: 0.25em 0.5em;
}
.directory-child td {
padding-left: 2em!important;
}
.directory-child td+td {
position: relative;
left: -1.5em!important;
padding-right: 0;
}
.doc-directory tr[aria-controls]:hover {
background-color: #eee;
}
.doc-directory tr[aria-expanded=true] td.pkg-name:before {
content: "\2193";
}
.doc-directory tr[aria-expanded=false] td.pkg-name:before {
content: "\2192"!important;
}
.doc-directory tr[aria-hidden=true] {
display: none;
}
/* doc page */
pre.doc-code {
white-space: pre-wrap;
word-break: keep-all;
word-wrap: break-word;
tab-size: 8;
background-color: #f8f8f8;
color: #202224;
border: 1px solid #c6c8ca;
border-radius: 0.25rem;
padding: 0.625rem;
}
pre.doc-code a {
font-family: Consolas,Liberation Mono,Menlo,monospace!important;
text-decoration: none;
/*font-weight: bold;*/
color: #00bfd5;
}
pre.doc-code a.code-procedure {
color: #079300;
}
.pkg-line-doc {
color: #444;
}
.doc-source {
display: inline;
float: right;
}
.doc-source a {
text-decoration: none;
color: #666666;
font-size: 0.75em;
}
.doc-source a:hover {
text-decoration: underline;
}
a > .a-hidden {
opacity: 0;
}
a:hover > .a-hidden {
opacity: 100;
}
article.documentation h2 {
border-bottom: 1px dashed #c6c8ca;
padding-bottom: 0.5rem;
}
section.documentation h3 {
font-size: calc(1.1rem + .2vw);
}
.doc-index h3 {
border-bottom: 1px solid #c6c8ca;
padding-bottom: 0.25rem;
}