mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-11-02 11:26:26 +00:00
2219fd22bb
- added `toml::is_number<>` - added `toml::node_type::none` - added initializer_list and vector relops to `toml::array` - added constructors for `time_offset` and `date_time` - added much to `node_view` - added tests for `node_view` value relops - added lots more documentation - removed `time_offset::from_hh_mm` - removed the handling of `\s` literals (looks like it's not going be accepted as-is)
171 lines
2.3 KiB
CSS
171 lines
2.3 KiB
CSS
html, body
|
|
{
|
|
scroll-padding-top: 3.5rem;
|
|
}
|
|
|
|
body
|
|
{
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
header
|
|
{
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
article, article > header, article section
|
|
{
|
|
margin-bottom: 3em;
|
|
}
|
|
|
|
pre, code, .tpp-enable-if > a
|
|
{
|
|
font-family: 'Consolas', 'Source Sans Pro', monospace;
|
|
}
|
|
|
|
a.tpp-external
|
|
{
|
|
font-weight: normal;
|
|
}
|
|
|
|
.tpp-enable-if
|
|
{
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.tpp-enable-if > *
|
|
{
|
|
display: inline-block;
|
|
border-radius: 0.2rem;
|
|
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;
|
|
}
|
|
|
|
nav .m-thin
|
|
{
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
nav .github
|
|
{
|
|
padding-left: 44px !important;
|
|
background-image: url("github-icon.png");
|
|
background-repeat: no-repeat;
|
|
background-size: 25px 25px;
|
|
background-position: -30px center;
|
|
background-origin: content-box;
|
|
}
|
|
|
|
pre.m-code + pre
|
|
{
|
|
margin-top: -1.0rem;
|
|
color: #bababa; /* is yououou */
|
|
background-color: #383e46;
|
|
border-top: 2px solid #181e26;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* "Parameters", "Returns" etc */
|
|
.m-doc-details div table.m-table.m-fullwidth.m-flat thead tr th,
|
|
.m-doc-details div table.m-table.m-fullwidth.m-flat tfoot tr th,
|
|
.m-doc-details div table.m-table.m-fullwidth.m-flat tfoot tr td strong em,
|
|
.m-doc-details div table.m-table.m-fullwidth.m-flat tbody tr td strong em
|
|
{
|
|
color: #a5c9ea;
|
|
}
|
|
|
|
/* comments */
|
|
.m-code .c1
|
|
{
|
|
color: rgb(87,166,74);
|
|
}
|
|
|
|
/* int and float literals */
|
|
.m-code .mi,
|
|
.m-code .mf
|
|
{
|
|
color: rgb(181,206,168);
|
|
}
|
|
|
|
/* keywords */
|
|
.m-code .k
|
|
{
|
|
color: rgb(86,156,214);
|
|
}
|
|
|
|
/* identifier names */
|
|
.m-code .n
|
|
{
|
|
color: rgb(220,220,220);
|
|
}
|
|
|
|
/* punctuators (brackets etc) */
|
|
.m-code .p
|
|
{
|
|
color: rgb(120,120,120);
|
|
}
|
|
|
|
/* preprocessor directives */
|
|
.m-code .cp
|
|
{
|
|
color: rgb(120,120,120);
|
|
}
|
|
|
|
/* string literals, "includes" */
|
|
.m-code .s,
|
|
.m-code .sa,
|
|
.m-code .dl,
|
|
.m-code .cpf
|
|
{
|
|
color: rgb(214,157,133);
|
|
}
|
|
|
|
.m-code .kt,
|
|
.m-code .k,
|
|
.m-code .nc
|
|
{
|
|
font-weight: normal;
|
|
}
|
|
|
|
/* user types and typedefs */
|
|
.m-code .ut,
|
|
.m-code .nc
|
|
{
|
|
color: rgb(78,201,176);
|
|
}
|
|
|
|
/* namespace::scopes:: */
|
|
.m-code .ns
|
|
{
|
|
color: rgb(140,140,140);
|
|
}
|