From 57d3d78c9a429655ee087ffdbc3d153e50aed1a0 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Feb 27 2018 14:37:56 +0000 Subject: update styles & convert to fedora bootstrap --- diff --git a/_images/docs_logo.png b/_images/docs_logo.png new file mode 100644 index 0000000..90421ec Binary files /dev/null and b/_images/docs_logo.png differ diff --git a/_images/docs_logo.svg b/_images/docs_logo.svg new file mode 100644 index 0000000..476b13a --- /dev/null +++ b/_images/docs_logo.svg @@ -0,0 +1,158 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + DOCS + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_stylesheets/asciibinder.css b/_stylesheets/asciibinder.css index 31dba30..ef00798 100644 --- a/_stylesheets/asciibinder.css +++ b/_stylesheets/asciibinder.css @@ -73,35 +73,62 @@ License: https://creativecommons.org/licenses/by/2.0/ font-size: 28px; } -.page-header { - height: 100% !important; -} .page-header .img-responsive { display: inline; } -.page-header h2 { - font-size: 32px; - display: inline; - vertical-align: bottom; + +.docs-content h1, +.docs-content h2, +.docs-content h3, +.docs-content h4, +.docs-content h5, +.docs-content h6 + { + font-weight: bold; + color: #444; } -.navbar-brand { - padding: initial; - height: initial; - padding: 12px; +.docs-content h1{ + font-size: 1.5rem +} +.docs-content h2{ + font-size: 1.3rem +} +.docs-content h3{ + font-size: 1.1rem +} +.docs-content h4, +.docs-content h5, +.docs-content h6{ + font-size: 1rem; } -.navbar-header h2 { - display: inline; - position: absolute; - font-weight: bold; - margin-top: 50px ; +.docs-content .page-header h1 { + line-height: 1.5rem; + padding-bottom: 0.2em; + margin-bottom: 0.7em; + border-bottom: 1px solid #ccc; + +} + + +nav .breadcrumb{ + background: none; + font-size:0.8em; + padding-left:10px; + padding-bottom:0px; } .nav > li > a.hover{ background-color: none; } +.breadcrumb-item + .breadcrumb-item::before{ + content: '\f054'; + font-family: FontAwesome; + font-size: 0.8em; +} + h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { position: relative; } @@ -158,10 +185,20 @@ h6 > a.anchor:hover { } } +.masthead, .footer{ + position: relative; + z-index: 1; +} + /* * Sidebar */ + .docs-sidebar{ + background: #eee; + box-shadow: -3000px 0 0 3000px #eee; + } + .nav-header { font-size: 16px; } @@ -223,66 +260,6 @@ h6 > a.anchor:hover { } } -/* - * Off Canvas - * -------------------------------------------------- - */ - -body, html { - overflow-x: hidden; /* Prevent scroll on narrow devices */ - font-family: "Overpass", sans-serif; -} - -.toggle-nav { - margin-right: 20px; -} - -@media screen and (max-width: 767px) { - .row-offcanvas { - position: relative; - -webkit-transition: all .25s ease-out; - -o-transition: all .25s ease-out; - transition: all .25s ease-out; - } - - .row-offcanvas-right { - right: 0; - } - - .row-offcanvas-left { - left: 0; - } - - .row-offcanvas-right - .sidebar-offcanvas { - right: -75%; /* 8 columns */ - } - - .row-offcanvas-left - .sidebar-offcanvas { - left: -75%; /* 8 columns */ - } - - .row-offcanvas-right.active { - right: 75%; /* 8 columns */ - } - - .row-offcanvas-left.active { - left: 75%; /* 8 columns */ - } - - .sidebar-offcanvas { - overflow: hidden; - position: absolute; - top: 0; - width: 75%; /* 8 columns */ - } -} - - p { - margin: 0 0 1.6em; - } - /* Remnants of Asciidoctor default stylesheet - remove styles as needed */ #map_canvas img, #map_canvas embed, #map_canvas object, .map_canvas img, .map_canvas embed, .map_canvas object { max-width: none !important; } diff --git a/_templates/_nav.html.erb b/_templates/_nav.html.erb index 95a7e5c..4710efb 100644 --- a/_templates/_nav.html.erb +++ b/_templates/_nav.html.erb @@ -1,11 +1,9 @@