/* Default theme */ html, body { margin: 0; padding: 0.5ex 1ex; font-family: 'Atkinson Hyperlegible', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 110%; } body { max-width: 80ex; margin: 0 auto; } body nav { text-align: center; } body nav h1 { text-align: center; color: #000; display: inline-block; } /* Search box */ body nav input { background-color: transparent; color: #000; border: none; border-bottom: 1px solid #222; } .results-box-container { z-index: 5; position: fixed; width: 100vw; height: 100vh; background-color: rgba(0,0,0,0.3); top: 0; left: 0; } .results-box-container.hidden { display: none; } .results-box { min-width: 50vw; max-width: 90vw; min-height: 20ex; max-height: 90vh; overflow: auto; border-radius: 4px; margin: 2rem auto; box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.25); background-color: #fff; } .results-box-container .results-box input { width: 90%; margin: 0 auto; padding-top: 2ex; display: block; background-color: transparent; color: #000; border: none; border-bottom: 1px solid #444; } /* Search box results */ .results-box ul { list-style: none; padding: 0; } .results-box ul li { padding: 0.25ex; margin: 1ex; border-radius: 4px; box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.25); } .results-box ul li h2 { font-size: 125%; padding: 1.25ex; display: block; margin: 0; } @font-face { font-family: "Atkinson Hyperlegible"; src: url('./fonts/atkinson-hyperlegible/eot/Atkinson-Hyperlegible-Regular-102.eot'); src: url('./fonts/atkinson-hyperlegible/eot/Atkinson-Hyperlegible-Regular-102.eot') format('embedded-opentype'), url('./fonts/atkinson-hyperlegible/woff2/Atkinson-Hyperlegible-Regular-102a.woff2') format('woff2'), url('./fonts/atkinson-hyperlegible/woff/Atkinson-Hyperlegible-Regular-102.woff') format('woff'), url('./fonts/atkinson-hyperlegible/ttf/Atkinson-Hyperlegible-Regular-102.ttf') format('truetype'); } } /* Node styling */ .node { max-width: min(650px, 100ex); margin: 0 auto; } .node .node { padding: 1ex 0 1ex 1ex; border-left: 1px dashed #2c3e50; } .node.collapsed > .contents { display: none; } .node .node.collapsed > .title::before { content: "🮥"; } .node .node.expanded > .title::before { content: "🮦"; } .node .title { margin: 0; } /* Inhibit

tags inside inlined items */ /* TODO: Remove need for this on generator */ .item p { display: inline; } h1 p,h2 p,h3 p,h4 p,h5 p,h6 p, li p { display: inline; } /* Headers */ body > .node > h1 { text-align: center; } .node .node h1 { font-size: 150%; } h1,h2,h3,h4,h5,h6 { margin-top: 0; color: #2c3e50; } h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a { text-decoration: none; color: inherit; } h1.title .state { font-size: 50%; vertical-align: middle; /* background-color: rgba(255,255,255,0.3); */ background-color: rgba(0,0,0,0.1); padding: 4px; border-radius: 5px; } h1.title .state.todo-True { background-color: rgba(255,0,0,0.5); } h1.title .state.todo-False { background-color: rgba(0,255,0,0.25); } h1.title .tags { float: right; } h1.title .tags .tag { font-size: 50%; vertical-align: middle; /* background-color: rgba(255,255,255,0.3); */ background-color: rgba(0,0,0,0.1); padding: 4px; margin-left: 2px; border-radius: 5px; } h1.title .tags .tag:before { content: '['; } h1.title .tags .tag:after { content: ']'; } /* Lists */ li .tag { font-weight: bold; } li .tag::after { content: ":: "; } /* Code blocks */ pre { overflow: auto; padding: 0.25ex; box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.25); border-radius: 2px; } pre > code { display: block; line-height: 1.2em; overflow: auto; } pre code { padding: 0.5ex; font-size: medium; background: #fff; color: #000; border: none; font-size: 85%; } code { padding: 0.25ex 0.5ex; margin: 0.25ex; background: #eee; color: #600; font-family: Menlo, Monaco, "Courier New", monospace; font-size: 85%; } .content { margin: 1ex; } article.post { max-width: min(650px, 100ex); margin: 0 auto; } /* Header */ .site-header { background-color: #F7F7FF; border-bottom: rgba(0,0,0,0.1) 1px solid; text-align: center; padding: 1ex; } .site-header h1 { margin-top: 0; font-size: 200%; font-family: monospace, sans; color: #000; } .site-header .site-links .fancy-link { border-right: 1px solid #000; padding-left: 0.75ex; } .site-header .site-links .fancy-link:last-child { border: none; } /* Post header */ .post-metadata ul.post-tags { list-style: none; display: inline; padding: 0; } .post-metadata ul.post-tags li.post-tag::before { content: '#'; } .post-metadata ul.post-tags li { display: inline; } /* Post index. */ .post-index .post-container { /* box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.26); */ /* border-radius: 2px; */ /* padding: 1ex; */ margin-bottom: 1em; padding-bottom: 1em; border-bottom: #000 1px dashed; } /* Tables. */ table, th, td, tr { border: 1px solid black; border-collapse: collapse; } td { padding: 0.5ex; } tr.__table-separator { border-bottom: 0.5ex solid black; } /* Dark mode. */ @media (prefers-color-scheme: dark) { html { background-color: #1d1f21; color: #fafafe; } h2 a { color: #fafafe; } a { color: #00fdf2; } h1,h2,h3,h4,h5,h6 { color: #f7da4a; } /* Header */ .site-header { background-color: #303330; border-bottom: rgba(0,0,0,0.1) 1px solid; } .site-header h1 { color: #fff; } .site-header .site-links .fancy-link { border-right: 1px solid #fff; } /* Nav bar */ body nav h1 { color: #eee; } body nav input { color: #ddd; border-bottom: 1px solid #888; } .results-box-container .results-box input { color: #ddd; border-bottom: 1px solid #888; } .results-box { box-shadow: none; background-color: #262826; } .results-box ul li { background-color: #303330; box-shadow: none; } .results-box ul li h2 { color: white; } /* Code blocks */ pre { padding: 0.5ex; background-color: inherit; box-shadow: none; } pre code { padding: 1ex; font-size: medium; border: none; background: #000; color: #fff; } code { background: #262826; color: #FFF; font-family: Menlo, Monaco, "Courier New", monospace; } /* Tables. */ table, th, td, tr { border: 1px solid #eee; } tr.__table-separator { border-bottom: 0.5ex solid #eee; } }