From 2a5bba5368ba00bb98ecf01079ac9f16c7b3b249 Mon Sep 17 00:00:00 2001 From: Josh south Date: Wed, 1 Mar 2017 20:03:32 -0800 Subject: [PATCH] fixed width of components - lockdown elements on rescale (wil need more TLC) --- css/style.css | 83 ++++++++++++++++++++++++++++++++++++--------------- index.md | 6 ---- 2 files changed, 59 insertions(+), 30 deletions(-) diff --git a/css/style.css b/css/style.css index a74f9d5ebd..3fb2264a32 100644 --- a/css/style.css +++ b/css/style.css @@ -674,7 +674,7 @@ a.button.outline-btn { .main-content { padding: 15px 15px 25px 21px; - max-width: 900px; + max-width: 960px; } @@ -1204,11 +1204,12 @@ i.fa.fa-outdent { } .component { - padding: 30px 30px 10px; + padding: 35px 20px; text-align: center; - margin: 0 0 15px; - min-height: 280px; - max-width: 330px; + margin: 0 8px 15px; + float: left; + height: 250px; + width: 250px; } .component-full { @@ -1254,6 +1255,11 @@ i.fa.fa-outdent { width: 80%; } +.component h3, +.component p { + margin: 0; +} + a.anchorLink { margin-left: 5px; visibility: hidden; @@ -1619,8 +1625,11 @@ footer { display: none; } .nav-secondary { - background: #192837; + // background: #192837; + animation: gradientswitch 150s infinite; + -webkit-animation: gradientswitch 150 sinfinite; height: 145px; + overflow: visible; } .sidebar{ background: #15212e; @@ -1677,12 +1686,8 @@ footer { #sidebar-wrapper-home.affix { display: none; } - .navbar-nav { - margin: 0 -15px; - } .tabs { - height: 50px; - width: auto; + margin: 0 auto; } .tabs li a { color: #fff; @@ -1692,8 +1697,8 @@ footer { font-size: 12px; } .content { - padding: 10px 10px 20px 15px; - min-width: 390px; + padding: 10px 20px 20px 15px; + max-width: 390px; } .main-content { padding: 0px 5px 25px 20px; @@ -1763,6 +1768,18 @@ footer { // } } +/* Landscape */ +@media only screen + and (min-device-width: 375px) + and (max-device-width: 667px) + and (-webkit-min-device-pixel-ratio: 2) + and (orientation: landscape) { + .nav-secondary, + .nav-secondary-tabs.affix { + height: 155px; + } +} + /* Landscape */ // @media only screen // and (min-device-width: 320px) @@ -1780,19 +1797,13 @@ footer { * */ -@media (max-width: 767px) { - .navbar-nav .open .dropdown-menu .dropdown-header, - .navbar-nav .open .dropdown-menu>li>a { - background: red; - } - .ctrl-right { - float: right; - padding: 5px 16px 0; - } +// @media (min-width: 768px) {} + +@media (max-width: 768px) { .nav-secondary .search-form { margin: 14px 10px 5px 0; } - .sidebar-home {} + // .sidebar-home {} #sidebar-wrapper { width: 200px; } @@ -1801,7 +1812,31 @@ footer { } .ctrl-right { /** temporarily hide **/ - display: none; + // display: none; + } + .component { + padding: 9px 140px 20px; + text-align: center; + margin: 0 8px 15px; + float: left; + height: 100%; + width: 97%; + } + // .sidebar { + // width: 200px; + // } + .col-nav, .col-toc {/* adjust flex on rescale **/ + flex: 0; + } + // .wrapper.right-open #sidebar-wrapper { + // width: 210px; + // } + .toc-nav ul { + padding: 0 100px 0 0; + } + .ctrl-right { + float: right; + padding: 5px 16px 0; } } diff --git a/index.md b/index.md index c7aaec2d9d..d31fbfb173 100644 --- a/index.md +++ b/index.md @@ -39,7 +39,6 @@ mode.
-
Docker for Mac @@ -47,8 +46,6 @@ mode.

Docker for Mac

A native application using the macOS sandbox security model which delivers all Docker tools to your Mac.

-
-
Docker for Mac @@ -56,8 +53,6 @@ mode.

Docker for Windows

A native Windows application which delivers all Docker tools to your Windows computer.

-
-
Docker for Mac @@ -65,7 +60,6 @@ mode.

Docker for Linux

Install Docker on a computer which already has a Linux distribution installed.

-