NimYAML/doc/style.css

188 lines
3.0 KiB
CSS
Raw Permalink Normal View History

h1.title {
margin-top: .5em;
margin-bottom: .5em;
padding-bottom: .5em;
}
2016-01-13 21:43:12 +00:00
header {
position: sticky;
display: flex;
flex-wrap: wrap;
2016-01-13 21:43:12 +00:00
background: #111;
margin: 0;
padding: 0 .5em;
top: 0;
2016-01-13 21:43:12 +00:00
z-index: 1;
font-size: large;
2016-01-13 21:43:12 +00:00
}
header > a {
display: block;
flex-grow: 0;
padding: .8em .2em;
2016-01-13 21:43:12 +00:00
}
header a.active {
background: #877 !important;
color: black !important;
}
header > span {
display: block;
flex-grow: 0;
2016-01-13 21:43:12 +00:00
font-size: large;
color: white;
padding: .8em .2em;
padding-left: .6em;
2016-01-13 21:43:12 +00:00
}
header > span.space {
flex-grow: 1;
}
header > span > a {
display: block;
}
header span ul {
display: none;
position: absolute;
top: 100%;
list-style: none;
background: #111;
margin: 0;
padding-bottom: .5em;
}
header span ul:after {
content: ""; clear: both; display: block;
}
header span:hover > ul {
display: block;
}
header span ul a {
padding: 0 .8em;
line-height: 1.8em;
}
header span ul.monospace a {
font-size: smaller;
font-family: "Source Code Pro", Menlo, "Courier New", Courier, monospace;
}
2016-01-13 21:43:12 +00:00
header a:link,
header a:visited {
background: inherit;
color: #aaa;
}
header a:hover {
background: inherit;
color: white;
text-decoration: inherit;
}
header a:active {
background: #222;
color: white;
text-decoration: inherit;
}
a.pagetitle:link,
a.pagetitle:hover,
a.pagetitle:active,
a.pagetitle:visited {
background: inherit;
color: white;
text-decoration: inherit;
}
body {
margin: 0;
2016-01-13 21:43:12 +00:00
padding: 0;
}
html {
background-color: rgba(252, 248, 244, 0.75);
}
/* necessary for links to scroll to the right position */
dt a:before {
margin-top: -2em;
height: 2em;
content: ' ';
display: block;
visibility: hidden;
}
#testingground {
margin-left: -2em;
margin-right: -2em;
}
2016-01-13 21:43:12 +00:00
#testingground textarea {
width: 100%;
height: 100%;
}
#testingground textarea,
#testingground pre {
font-family: "Source Code Pro", Menlo, "Courier New", Courier, monospace;
margin: 0;
}
#testingground pre {
font-size: small;
}
#testingground #style-options {
margin-top: 10px;
width: 100%;
text-align: center;
}
2016-01-13 21:43:12 +00:00
#testingground .style-option {
display: inline-block;
margin-right: 20px;
}
object {
margin-left: auto;
margin-right: auto;
display: block;
2016-03-20 21:58:39 +00:00
}
.quickstart-example {
border-collapse: collapse;
border: 1px solid #e8e8e8;
width: 100%;
}
.quickstart-example th {
background: #e8e8e8;
}
.quickstart-example td {
width: 50%;
vertical-align: top;
padding: 0;
background: whitesmoke;
}
.quickstart-example td:first-child {
border-right: 1px solid #e8e8e8;
}
.quickstart-example pre {
border: 0;
margin: 0;
display: block;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
}
/* hide autogenerated stuff we don't need */
.theme-select-wrapper, #global-links, #searchInputDiv,
#searchInputDiv + div /* this is the group by section */
{
display: none;
2016-01-13 21:43:12 +00:00
}