diff --git a/_includes/topnav.html b/_includes/topnav.html index 6c9ab1e..df594d4 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -1,4 +1,4 @@ - + {% if page.sectionid != nil %} diff --git a/_layouts/implementors.html b/_layouts/implementors.html index 92d2ab4..61beb22 100644 --- a/_layouts/implementors.html +++ b/_layouts/implementors.html @@ -4,9 +4,8 @@ layout: default - - - + + {% assign sorted = site.implementors | sort: 'index' %} {% for post in sorted %} diff --git a/_layouts/specification.html b/_layouts/specification.html index 0266b8c..5a2c4c3 100644 --- a/_layouts/specification.html +++ b/_layouts/specification.html @@ -11,33 +11,31 @@ layout: default {{ content }} - - - {% for toc-l1 in site.data.specification-toc %} - - - {% for toc-l2 in toc-l1.children %} - - - {{ toc-l2.title }} - - - - {% for toc-l3 in toc-l2.children %} - - - {{ toc-l3.title }} - - - {% endfor %} - - + + {% for toc-l1 in site.data.specification-toc %} + + + {% for toc-l2 in toc-l1.children %} + + + {{ toc-l2.title }} + + + + {% for toc-l3 in toc-l2.children %} + + + {{ toc-l3.title }} + + + {% endfor %} + - {% endfor %} + {% endfor %} - {% endfor %} + {% endfor %} \ No newline at end of file diff --git a/css/main.scss b/css/main.scss index e3d280e..6e018ed 100644 --- a/css/main.scss +++ b/css/main.scss @@ -18,10 +18,11 @@ body { } .header-container { - // background: url('../protocol.jpg'); - color: #fff; - margin-bottom: 80px; + + @media (min-width: 576px) { + margin-bottom: 80px; + } h1 { margin-top: 15px; @@ -347,13 +348,20 @@ pre[class=highlight] { } .footer { - padding: 50px 0; + padding: 15px 0; color: #000; background: #e9ecef; + @media (min-width: 576px) { + padding: 50px 0; + } + img { width: 100px; - float: right; + + @media (min-width: 576px) { + float: right; + } } ul { @@ -378,7 +386,7 @@ pre[class=highlight] { padding-bottom: 10px; @media (min-width: 576px) { - display: inline-block; + display: inline-block; padding: 0; } } @@ -390,6 +398,23 @@ pre[class=highlight] { } } +@media (min-width: 768px) { + .lsp-navbar { + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 1071; + } + + .lsp-sidebar { + position: -webkit-sticky; + position: sticky; + top: 100px; + z-index: 1000; + height: calc(100vh - 100px); + } +} + .navbar-brand h1 { font-size: 18px; font-weight: bold;