| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- body {
- font-family: sans-serif;
- line-height: 1.5;
- padding: 0;
- margin: 0;
- display: grid;
- grid-template-areas: "nav content" "nav footer";
- grid-template-columns: 20em auto;
- grid-template-rows: auto min-content;
- height: 100vh;
- align-items: stretch;
- }
- a {
- text-decoration: none;
- color: #36f;
- font-weight: bold;
- }
- a:focus, #toc a:focus {
- background-color: black;
- color: white;
- }
- a:visited {
- color: #36f;
- font-weight: bold;
- }
- a:hover {
- text-decoration: underline;
- }
- #header {
- background-color: #fafafa;
- grid-area: nav;
- box-shadow: 0 0 10px #cecece;
- }
- #footer {
- grid-area: footer;
- justify-self: center;
- align-self: end;
- padding: 1em;
- }
- #toc {
- padding: 1em;
- }
- #toc a {
- color: black;
- font-weight: normal;
- }
- #toc li {
- padding-bottom: .6em;
- }
- #toc ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- #toc ul ul {
- padding-left: 1.4em;
- }
- #toctitle {
- font-weight: bold;
- color: black;
- }
- #content ul {
- list-style: '\25b9 ';
- }
- h1 {
- font-size: 1.4em;
- font-weight: lighter;
- background-color: black;
- padding: .6em;
- margin: 0;
- color: white;
- }
- #toc a:hover {
- text-decoration: underline;
- }
- #content {
- background-color: white;
- grid-area: content;
- max-width: 1000px;
- padding: 1em;
- justify-self: center;
- }
- #content img {
- max-width: 100%;
- vertical-align: middle;
- }
- code {
- background-color: #f7f7f8;
- }
- pre {
- background-color: #f7f7f8;
- padding: 1em;
- word-wrap: break-word;
- white-space: no-wrap;
- overflow: auto;
- }
- table {
- border-collapse: collapse;
- }
- td, th {
- border: 1px solid gray;
- padding: .4em;
- }
- th {
- background-color: #f9f9f9;
- text-align: left;
- }
- .imageblock {
- float: center;
- }
- .imageblock.right {
- float: right;
- }
- .imageblock .title {
- margin-bottom: 2em;
- }
- .imageblock img {
- border-radius: 1em;
- box-shadow: 0 0 10px #cecece;
- }
- .imageblock.right img {
- box-shadow: none;
- }
- .listingblock {
- box-shadow: 0 0 10px #cecece;
- border-radius: 1em;
- }
- .listingblock .title {
- border-radius: 1em 1em 0 0;
- }
- .listingblock .title ~ .content, .listingblock .title ~ .content pre {
- border-radius: 0 0 1em 1em;
- }
- .listingblock .content, .listingblock .content pre {
- border-radius: 1em;
- }
- hr {
- clear: both;
- border: 0;
- border-bottom: 1px solid #efefef;
- margin: 1em;
- }
- div.admonitionblock.note {
- background-color: beige;
- }
- div.admonitionblock td {
- border: 0;
- }
- div.admonitionblock td:first-child {
- font-weight: bold;
- }
- .listingblock .title {
- background-color: #efefef;
- margin-bottom: -1em;
- padding: 1em;
- }
- .red {
- color: white;
- border: 1px solid black;
- padding: .2em;
- font-weight: bold;
- background-color: #cc0000;
- }
- .red a {
- color: white;
- }
- @media (max-width: 700px) {
- body {
- display: block;
- }
- }
|