/* * __ __ * /\ \ /\ \ * \ \ \___ __ __ \_\ \ __ * \ \ _ `\/\ \/\ \ /'_` \ /'__`\ * \ \ \ \ \ \ \_\ \/\ \_\ \/\ __/ * \ \_\ \_\/`____ \ \___,_\ \____\ * \/_/\/_/`/___/> \/__,_ /\/____/ * /\___/ * \/__/ * * Designed, built, and released under MIT license by @mdo. Learn more at * https://github.com/poole/hyde. */ /* * Contents * * Global resets * Sidebar * Container * Reverse layout * Themes */ /* * Global resets * * Update the foundational and global aspects of the page. */ html { font-family: "PT Sans", Helvetica, Arial, sans-serif; } @media (min-width: 48em) { html { font-size: 16px; } } @media (min-width: 58em) { html { font-size: 20px; } } /* * Sidebar * * Flexible banner for housing site name, intro, and "footer" content. Starts * out above content in mobile and later moves to the side with wider viewports. */ .sidebar { text-align: center; padding: .5rem 1rem 0.5rem 1rem; color: rgba(255,255,255,.5); background-color: #202020; } div.logo { text-align: center; clear: both; margin-top: 1rem; margin-bottom: 1rem; } @media (min-width: 48em) { .sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 12rem; text-align: center; } div.logo { text-align: center; clear: both; margin-top: 3rem; } } /* Sidebar links */ .sidebar a { color: #fff; } /* About section */ /* .sidebar-about h1:before { content: url('/images/redimp_w.png'); display: inline; padding-right:.2rem; } */ .sidebar-about h1 { color: #fff; margin-top: 0; /*font-family: "Abril Fatface", serif;*/ font-size: 1rem; margin-bottom: 0; letter-spacing: .2rem; } /* Sidebar nav */ .sidebar-nav { padding-left: 0; list-style: none; text-transform: lowercase; letter-spacing: .14rem; } ul.sidebar-nav { margin-top: 1rem; display: block; } li.sidebar-nav { display: inline; margin: 0 1rem 0 1rem; } @media (min-width: 48em) { ul.sidebar-nav { margin-top: 1rem; display: block; } li.sidebar-nav { display: block; margin-top: 1rem; } } a.sidebar-nav-item:hover, a.sidebar-nav-item:focus { text-decoration: none; color: #8e030f; } .sidebar-nav-item.active { font-weight: normal; } /* Sticky sidebar * * Add the `sidebar-sticky` class to the sidebar's container to affix it the * contents to the bottom of the sidebar in tablets and up. */ @media (min-width: 48em) { .sidebar-sticky { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; } } /* Container * * Align the contents of the site above the proper threshold with some margin-fu * with a 25%-wide `.sidebar`. */ .content { padding-top: 2rem; padding-bottom: 2rem; } @media (min-width: 48em) { .content { max-width: 38rem; margin-left: 14rem; margin-right: 6rem; } } @media (min-width: 64em) { .content { margin-left: 16rem; margin-right: 6rem; } } /* redimp.de stuff */ .theme-base-ff .sidebar { background-color: #202020 } a { color: #8e030f; } pre { background-color: #202020; color:#fff; } code, pre { } div.footnotes { font-size: .6rem; } div.footnotes hr { margin: 1.5rem 0 .5rem 0; } img[src$='#50'] { max-width: 50%; } img[src$='#25r'] { max-width: 25%; margin: .5rem .5rem; float: right; }