blob: c16b99d4fa51bd2c42a6aa43f0c63e32466fd79c (
plain) (
tree)
|
|
/* ikiwiki local style sheet */
h1 { font-weight: bold }
#content a { text-decoration: underline }
.pageheader, #pagebody, #footer {
max-width: 60rem;
margin: 0 auto;
padding-left: 2em;
padding-right: 2em;
}
.pageheader-wrapper {
margin: 0;
overflow: hidden;
background: #eee;
border-color: #999;
border-style: none none solid none;
border-width: 1px;
}
.pageheader { border: none }
body.has-sidebar #content {
max-width: 38rem;
margin: 0;
line-height: 1.5;
}
video { max-width: 100%; width: 100% }
#footer { font-size: 0.9em }
.pagecopyright, .pagelicense { font-style: normal }
.pagecopyright + .pagelicense { margin-top: 0.5em }
.pagecopyright p { margin-bottom: 0; line-height: 1.2 }
.pagelicense p { margin-top: 0 }
.muted { color: #666 }
.center { text-align: center }
.right { text-align: right }
.justify { text-align: justify }
pre { padding: 1em }
pre, code {
background-color: #f8f8f8;
border: 1px solid #e6e6e6;
border-radius: 4px;
}
code { padding: .2em .3em }
pre > code { border: none; padding: 0 }
.sidebar { padding: 0 1em }
.sidebar ul, .sidebar ol { padding-left: 1em }
.sidebar > p:nth-child(1) { margin-bottom: 0.1em }
.sidebar > p:nth-child(2) { margin-top: 0; margin-bottom: 0 }
.sidebar > p:nth-child(3) { margin-top: 0.1em }
/*
* Yoinked from http://live.emacsconf.org/
*/
table {
margin: 0 auto 1rem;
border-collapse: collapse;
}
th, td {
font-size: 0.9em;
text-align: left;
min-width: 8em;
}
tbody td {
vertical-align: middle;
padding: 0.1rem 0.75rem;
padding: 0.5em;
border: 1px solid #ced4da;
}
.subtitle { cursor: pointer }
summary h1 { display: inline-block }
.speaker-details { margin: 0 }
.vid .resources ul { margin: 0; list-style-type: none; padding: 0 }
ol.chapters { list-style-type: none; padding: 0; }
#content ol.chapters a { text-decoration: none; color: inherit }
.vid figure { margin: 0; padding: 0 }
video.sticky { position: fixed; bottom: 15px; right: 15px; }
.all > ol { list-style-type: none; padding: 0 }
.all > ol > li {
display: block;
box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
padding: 10px;
position: relative;
margin-bottom: 10px;
border: 1px solid rgb(0 0 0 / 20%);
border-radius: 5px; }
.all > ol > li video { max-width: 100%; width: 100% }
ol.chapters .current { background-color: rgba(0, 255, 0, 0.2); }
.help { border: 1px solid green; padding: 1em; }
|