tomlplusplus/docs/tomlplusplus.css

219 lines
2.8 KiB
CSS
Raw Normal View History

table.m-table th
{
color: #ffe698;
}
article section > h2
{
padding-top: 0.5rem;
padding-bottom: 0.1rem;
background-color: #282e36;
padding-left: 1rem;
margin-left: -1rem;
margin-right: -1rem;
margin-top: 2rem;
border-color: #282e36;
border-style: solid;
border-width: 0.0625rem;
border-left-width: 0.25rem;
border-radius: 0.2rem;
}
article section:target
{
border-radius: 0.2rem;
}
article section:target > h2
{
border-color: #a5c9ea;
}
table.m-table thead th
{
border-bottom-width: 0.0rem;
}
table.m-table tbody td
{
border: 0px;
}
table.m-table thead tr:first-child th
{
border-top-width: 0.1rem;
}
code.m-code, aside code
{
margin-left: 0.1em;
padding-left: 0.2em;
padding-right: 0.1em;
}
dl.m-doc dd
{
margin-bottom: 0.8rem;
}
a.tpp-external
{
font-weight: normal;
}
.m-doc-template a, dl.m-doc dd a, ul.m-doc li > span.m-doc a
{
color: #858585;
}
.m-doc-template a.tpp-external:hover,
dl.m-doc dd a.tpp-external:hover,
ul.m-doc li > span.m-doc a.tpp-external:hover
{
color: inherit;
}
.tpp-swatch, .tpp-enable-if > *
{
display: inline-block;
border-radius: 0.2rem;
}
.tpp-enable-if
{
margin-bottom: 2px;
}
.tpp-enable-if > *
{
background-clip: padding-box !important;
padding: 0px 2px;
text-decoration: none;
}
.tpp-enable-if > a
{
white-space: nowrap;
font-size: 0.8rem;
font-weight: bold;
background-color: #858585;
color: #050505;
padding-bottom: 0px;
margin: 0px 1px;
margin-bottom: 2px;
}
.tpp-enable-if > a:hover
{
background-color: #747474;
color: initial;
}
.tpp-enable-if > span
{
display: none;
padding-left: 2em;
}
.tpp-swatch
{
min-width: 3em;
min-height: 1em;
}
body > header > nav
{
background-color: #1e1e1e;
}
html
{
background-color: #2d2d30;
}
pre, code, .m-label/*.m-flat.m-success*/, .tpp-enable-if > a
{
font-family: 'Consolas', monospace;
}
pre, .m-doc-search-content /*, .tpp-enable-if > full*/
{
background-color: #1e1e1e;
}
pre.m-code, code
{
background-color: #1e1e1e88;
}
.m-code .c1 /* comments */
{
color: rgb(87,166,74);
}
.m-code .mi, .m-code .mf /* literals */
{
color: rgb(181,206,168);
}
.m-code .k /* keywords */
{
color: rgb(86,156,214);
}
.m-code .n /* names */
{
color: rgb(220,220,220);
}
.m-code .p /* punctuation */
{
color: rgb(120,120,120);
}
article section.m-doc-details > div > h3:first-child, article section > h2, body > footer > nav
{
background-color: #252526;
}
.tpp-external-navbar
{
background-color: #007acc11;
}
.m-label:not(.m-flat)
{
font-weight: bold;
}
header
{
position: fixed;
left: 0;
right: 0;
top: 0;
z-index: 100;
}
body
{
margin-top: 3rem;
}
div.m-doc-include
{
font-size: 0.9rem;
}
.m-doc-include span.cp
{
display: none;
}
.m-doc-include a.cpf
{
color: #9999AA;
}
article, article > header, article section
{
margin-bottom: 3em;
background-color: red;
background-color: inherit;
}