/* * __ __ * /\ \ /\ \ * \ \ \___ __ __ \_\ \ __ * \ \ _ `\/\ \/\ \ /'_` \ /'__`\ * \ \ \ \ \ \ \_\ \/\ \_\ \/\ __/ * \ \_\ \_\/`____ \ \___,_\ \____\ * \/_/\/_/`/___/> \/__,_ /\/____/ * /\___/ * \/__/ * * 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. */ div.hsidebar, .hsidebar { padding: 2rem 1rem; color: rgba(255,255,255,.5); background-color: #202020; text-align: center; margin-left: 0; margin-bottom: 0; } @media (min-width: 48em) { div.hsidebar, .hsidebar { position: fixed; text-align: left; top: 0; left: 0; bottom: 0; width: 18rem; } } /* Sidebar images */ div.hsidebar img, .hsidebar img { display: block; margin-left: auto; margin-right: auto; } img#logo { width: 200px; } /* Sidebar links */ div.hsidebar a, .hsidebar a { color: #fff; } /* About section */ .sidebar-about h1 { color: #fff; margin-top: 0; font-family: "Abril Fatface", serif; font-size: 2.75rem; } /* Sidebar nav */ .sidebar-nav { margin-bottom: 1rem; } .sidebar-nav-item { display: block; line-height: 1.50; } a.sidebar-nav-item:hover, a.sidebar-nav-item:focus { text-decoration: underline; } .sidebar-nav-item.active { font-weight: bold; } /* 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: 0; left: 1rem; } } /* * Footer * * Edit Styles for footer */ .footer { font-size: 16px; } .icon_row{ width: auto; height: auto; display: inline-block; vertical-align: middle; } .icon_row img.social_icon{ width: 24px; display: inline-block; margin: 0px auto; vertical-align: bottom; } .copyright{ font-size: smaller; line-height: 0.5; text-align: center; } /* Container * * Align the contents of the site above the proper threshold with some margin-fu * with a 25%-wide `.sidebar`. */ .content { padding-top: 4rem; padding-bottom: 4rem; } @media (min-width: 48em) { .content { max-width: 38rem; margin-left: 20rem; margin-right: 2rem; } } @media (min-width: 64em) { .content { margin-left: 22rem; margin-right: 4rem; } } /* * Reverse layout * * Flip the orientation of the page by placing the `.sidebar` on the right. */ @media (min-width: 48em) { .layout-reverse .hsidebar { left: auto; right: 0; } .layout-reverse .content { margin-left: 2rem; margin-right: 20rem; } } @media (min-width: 64em) { .layout-reverse .content { margin-left: 4rem; margin-right: 22rem; } } /* * Themes * * As of v1.1, Hyde includes optional themes to color the sidebar and links * within blog posts. To use, add the class of your choosing to the `body`. */ /* Base16 (http://chriskempson.github.io/base16/#default) */ /* Red */ .theme-base-08 .hsidebar { background-color: #ac4142; } .theme-base-08 .content a, .theme-base-08 .related-posts li a:hover { color: #ac4142; } /* Orange */ .theme-base-09 .hsidebar { background-color: #d28445; } .theme-base-09 .content a, .theme-base-09 .related-posts li a:hover { color: #d28445; } /* Yellow */ .theme-base-0a .hsidebar { background-color: #f4bf75; } .theme-base-0a .content a, .theme-base-0a .related-posts li a:hover { color: #f4bf75; } /* Green */ .theme-base-0b .hsidebar { background-color: #90a959; } .theme-base-0b .content a, .theme-base-0b .related-posts li a:hover { color: #90a959; } /* Cyan */ .theme-base-0c .hsidebar { background-color: #75b5aa; } .theme-base-0c .content a, .theme-base-0c .related-posts li a:hover { color: #75b5aa; } /* Blue */ .theme-base-0d .hsidebar { background-color: #6a9fb5; } .theme-base-0d .content a, .theme-base-0d .related-posts li a:hover { color: #6a9fb5; } /* Magenta */ .theme-base-0e .hsidebar { background-color: #aa759f; } .theme-base-0e .content a, .theme-base-0e .related-posts li a:hover { color: #aa759f; } /* Brown */ .theme-base-0f .hsidebar { background-color: #8f5536; } .theme-base-0f .content a, .theme-base-0f .related-posts li a:hover { color: #8f5536; } /* * Additional Classes pertaining to Nikola * * The accessible link at the top shouldn't be visible. The class that make * them invisible were in themes.css. * To use, example below: * ... * */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .sr-only-focusable:active, .sr-only-focusable:focus { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; } .breadcrumb { padding: 8px 15px; margin-bottom: 20px; list-style: none; } .breadcrumb > li { display: inline-block; margin-right: 0; margin-left: 0; } .breadcrumb > li:after { content: ' / '; color: #888; } .breadcrumb > li:last-of-type:after { content: ''; margin-left: 0; } .thumbnails > li { display: inline-block; margin-right: 10px; } .thumbnails > li:last-of-type { margin-right: 0; }