diff --git a/_includes/global-header.html b/_includes/global-header.html index c448f67075..567b03a61c 100644 --- a/_includes/global-header.html +++ b/_includes/global-header.html @@ -65,26 +65,3 @@ - - - diff --git a/_includes/header.html b/_includes/header.html index ae84a832df..96c182e035 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -28,7 +28,7 @@
- - - - - - - - - - - - - - - - - - - diff --git a/allpagelinks.md b/allpagelinks.md index 521b58aed6..b04bf1c218 100644 --- a/allpagelinks.md +++ b/allpagelinks.md @@ -1,11 +1,9 @@ --- -layout: null hide_from_sitemap: true layout: null +title: All site links for docs.docker.com --- -# All site links for `docs.docker.com` - {% assign pages = site.pages | sort:"path" %} {% for page in pages %} {% unless page.layout == null %} diff --git a/css/documentation.css b/css/documentation.css index 2cf580c613..adcaa8ab94 100644 --- a/css/documentation.css +++ b/css/documentation.css @@ -482,8 +482,6 @@ img.with-border { } #feedback-links { - border: 1px solid #2294ca; - padding: 10px; margin-top: 20px; width: 100%; } diff --git a/css/main-alt.css b/css/main-alt.css deleted file mode 100644 index 9732295834..0000000000 --- a/css/main-alt.css +++ /dev/null @@ -1,1323 +0,0 @@ -/* -* -* docker -* base theme -* -*/ -html { - font-family: sans-serif; - line-height: 1.15; - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -body { - background-color: #192837; - font-family: 'Open Sans', sans-serif; - font-size: 14px; - line-height: 24px; - color: #637986; } - -/* -* -* links -* -*/ -a { - color: #F7F8F9; - cursor: pointer; } - -a:hover, a:active { - color: #fff; - text-decoration: none; } - -/* -* -* lists -* -*/ -ul, ol { - list-style-type: none; } - -/* -* -* tables -* -*/ -.table { - background: red; } - -td, th { - padding: 10px 30px 5px 0px; } - -/* -* -* branding ********************************************************************* -* -*/ -.affix-top .affix-logo { - width: 160px; - opacity: 0; } - -.logo, .affix-logo { - /*height: 28px;*/ - margin: 12px 0 0 10px; } - -/* -* -* Primary navigation - top header ********************************************************** -* -*/ -.nav-primary { - background: transparent; - padding: 5px 12px; } - -.primary { - padding: 5px 0 0 90px; } - -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { - .nav-primary { - background: #0087c9; - padding: 5px 12px; - position: absolute; - /*height: 100%;*/ - width: 100%; - z-index: 9999; } - .primary { - padding: 20px 0 0 0; - text-align: center; } - .user-nav { - padding: 5px 0 0 0; - text-align: center; } - .navbar-default .navbar-nav .open .dropdown-menu > li > a { - /** todo remove this **/ - color: #fff; - text-align: center; } - .navbar-default .navbar-toggle, .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover { - background: transparent; - border: 0; } } - -/* -* -* Secondary Navigation ********************************************************** -* -*/ -.nav-secondary { - background: #0C5176; - box-shadow: 0 1px 13px rgba(0, 0, 0, 0.24); - height: 55px; } - -/* -* -* Tabs *********************************************************************** -* -*/ -.tabs { - padding: 0; - float: left; - margin: 0; } - -.tabs li { - float: left; - list-style: none; } - -.tabs li a { - color: #fff; - padding: 16px 20px 15px 20px; - float: left; - opacity: .7; } - -.tabs li a:hover { - background: #0d6996 !important; - border-bottom: 4px solid #fff; } - -.tabs li.active a { - background: transparent !important; - color: #F7F8F9; - cursor: default; - border-bottom: 4px solid #fff; - opacity: 1; } - -/* -* -* nav-secondary-tabs *********************************************************************** -* -*/ -.nav-secondary-tabs { - background-color: rgba(0, 0, 0, 0.05); - bottom: 0; - height: 55px; - position: absolute; - width: 100%; - z-index: 10; } - -.nav-secondary-tabs.affix { - background: #0C5176; - height: 55px; - top: 0px; - position: fixed; - z-index: 100; } - -/* -* -* user-nav *********************************************************************** -* -*/ -.user-nav { - padding: 7px 0 0 0; } - -/* -* -* layout *********************************************************************** -* -*/ -.main { - padding: 40px 0 30px 0; - min-height: 500px; } - -.main-content { - padding: 20px; - max-width: 1100px; } - -@media (min-width: 768px) { - .main { - padding-right: 40px; - padding-left: 40px; } } - -.content { - padding: 70px 60px 20px 60px; - max-width: 1100px; - min-height: 500px; } - -#wrapper { - padding-left: 0; - transition: all 0.5s ease; } - -#wrapper.toggled { - padding-left: 36px; } - -#sidebar-wrapper { - height: 100%; - position: fixed; - right: 250px; - overflow-y: auto; - margin-right: -250px; - transition: all 0.5s ease; - width: 0; - z-index: 1000; } - -#wrapper.toggled #sidebar-wrapper { - width: 250px; } - -#page-content-wrapper { - padding: 0; - width: 100%; - transition: all 0.5s ease; } - -#wrapper.toggled #page-content-wrapper { - position: absolute; - margin-left: -240px; - padding-right: 240px; } - -@media (min-width: 768px) { - #wrapper.toggled { - padding-left: 0; } - #sidebar-wrapper { - width: 0px; } - #wrapper.toggled #sidebar-wrapper { - width: 250px; } - #page-content-wrapper { - padding: 0; } - #wrapper.toggled #page-content-wrapper { - position: relative; - margin-left: 0; } } - -/* -* -* 2 column left sidebar layout *********************************************************************** -* -*/ -/* column container */ -.colmask { - position: relative; - /* This fixes the IE7 overflow hidden bug */ - clear: both; - float: left; - width: 100%; - overflow: hidden; } - -.colright, .colmid, .colleft { - float: left; - width: 100%; - position: relative; } - -.col1, .col2, .col3 { - float: left; - position: relative; - padding: 0 0 1em 0; - overflow: hidden; } - -/*.leftmenu {}*/ -.leftmenu .colleft { - right: 75%; - background: #FBFBFC; } - -.leftmenu .col1 { - width: 71%; - /* right column content width */ - left: 102%; - /* 100% plus left column left padding */ } - -.leftmenu .col2 { - width: 21%; - /* left column content width (column width minus left and right padding) */ - left: 6%; - /* (right column left and right padding) plus (left column left padding) */ } - -/* -* Top navigation -* Hide default border to remove 1px line. -*/ -.navbar-fixed-top { - border: 0; } - -/* -* Sidebar -*/ -/* Hide for mobile, show later */ -.sidebar { - display: none; } - -@media (min-width: 768px) { - .sidebar-home { - background-color: #1f3341; - display: block; - /*padding: 20px;*/ - min-height: 1800px; - overflow-x: hidden; - overflow-y: auto; } } - -@media (min-width: 768px) { - .sidebar { - background-color: #1f3341; - position: fixed; - top: 51px; - bottom: 0; - left: 0; - z-index: 1000; - display: block; - /*padding: 20px;*/ - overflow-x: hidden; - overflow-y: auto; } } - -/* -* -* NAV SIDEBAR *********************************************************************** -* -*/ -.nav-sidebar { - padding: 15px 0 0px 0; - margin-right: -21px; - margin-bottom: 20px; - margin-left: -20px; - max-width: 350px; } - -.nav-sidebar > li > a { - padding-right: 20px; - padding-left: 20px; } - -.nav-sidebar > .active > a, .nav-sidebar > .active > a:hover, .nav-sidebar > .active > a:focus { - color: #F7F8F9; - background-color: #428bca; } - -.nav-sidebar.affix { - top: 70px; - z-index: 100; } - -.nav-sidebar ul { - list-style: none; - margin: -25px 0 1.5rem 0; - padding: 0; - width: 270px; - width: 100%; - text-align: left; - overflow: hidden; } - -.nav-sidebar ul li { - display: block; } - -.nav-sidebar ul li a { - font-size: 14px; - font-weight: 400; - width: 100%; - padding: 16px 5px 16px 20px; - line-height: 15px; } - -.nav-sidebar ul li a:hover { - opacity: .7; - background: transparent; } - -.nav-sidebar ul li a, .nav-sidebar ul li a:hover, .nav-sidebar ul li a:focus { - border-bottom: none; - text-decoration: none; } - -.nav-sidebar ul li a.active, .nav-sidebar.nav > li > a:focus { - cursor: default; - color: #F7F8F9; - border-left: 4px solid #21cbc9; } - -.nav-sidebar ul li li a { - margin-left: 35px; - border-left: 1px solid #21cbc9; - font-size: 12px; } - -/*.nav-sidebar a.expand-menu {} -.nav-sidebar a.expand-menu:hover {} -.nav-sidebar a.expand-menu.active {}*/ -.nav-sidebar .caret { - float: right; - margin-right: 10px; - margin-top: 5px; } - -.nav-sidebar.affix ul, .nav-sidebar ul { - position: initial; - margin: initial !important; } - -.leftnav { - padding: 0px 20px 20px 0; } - -/* -* -* Table of contents menu *********************************************************************** -* -*/ -.fa { - color: #fff; } - -.edit { - margin: 10px 0 20px 15px; } - -.toc-toggle { - width: 25px; - height: 25px; - float: right; } - -.toc-nav { - background-color: #1f3341; - height: 100%; - width: 270px; - padding: 15px 0 0; } - -.toc-nav ul { - list-style: none; - margin: 0; - padding: 0; - width: 100%; } - -.toc-nav li { - padding: 2px 8px 2px 32px; } - -.toc-nav a { - padding-left: 25px; - text-decoration: none; - font-size: 12px; - /*color: #0C5176;*/ - display: block; - transition: 0.3s; } - -.toc-nav a:hover, .offcanvas a:focus { - color: #f1f1f1; } - -.toc-nav li a.active { - color: #F7F8F9; - border-left: 4px solid #21cbc9; - font-weight: bold; } - -.toc-nav ul li, .toc-nav ul li ul li { - padding-left: 15px; } - -/* -* -* Toggle Switches ************************************************************** -* -*/ -.toggle-mode { - float: left; - width: 100%; - padding: 24px 0px 0px 0px; } - -.toggle-mode .icon { - width: 25px; - float: left; - font-size: 1.5rem; } - -.toggle-switch { - float: left; - height: 40px; - width: 60px; - padding: 4px 0 0 0; } - -.switch { - position: relative; - display: inline-block; - width: 47px; - height: 19px; } - -.switch input { - display: none; } - -.slider { - position: absolute; - cursor: pointer; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: #fff; - border: 1px solid #0C5176; - transition: .4s; } - -.slider:before { - position: absolute; - content: ""; - height: 15px; - width: 15px; - left: 2px; - bottom: 1px; - background-color: #0C5176; - transition: .4s; } - -/*input:checked+.slider {}*/ -input:focus + .slider { - box-shadow: 0 0 1px #2196F3; } - -input:checked + .slider:before { - -webkit-transform: translateX(26px); - transform: translateX(26px); } - -.slider.round { - border-radius: 34px; } - -.slider.round:before { - border-radius: 50%; } - -/* -* -* Controls *********************************************************************** -* -*/ -.ctrl-left { - float: left; - width: 20px; - margin: 0px 19px 1px 0; } - -.ctrl-right { - float: right; - padding: 5px 0 0 0; } - -.ctrl-right .btn-group { - float: left; - margin: 2px 24px 0 0; } - -/* -* -* Butons *********************************************************************** -* -*/ -.button { - margin: 10px 10px 0 0; - font-family: Geomanist; - padding: 12px 35px 10px 35px; - min-width: 200px; } - -.button:hover { - color: #fff; - opacity: .7; } - -.button { - box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1); - color: #FFFFFF; - float: left; } - -.primary-btn { - background: #1488C6; - border: 1px solid rgba(0, 0, 0, 0.1); - text-shadow: 0 1px rgba(0, 0, 0, 0.2); } - -.secondary-btn { - background-color: rgba(255, 255, 255, 0.2); - box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1); - border: 1px solid rgba(255, 255, 255, 0.1); - color: #FFFFFF; - text-shadow: 0 1px rgba(0, 0, 0, 0.2); } - -.transparent-btn { - background-color: rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1); - border: 1px solid rgba(0, 0, 0, 0.1); - color: #FFFFFF; - text-shadow: 0 1px rgba(0, 0, 0, 0.2); } - -.outline-btn { - border: 1px solid; - border-color: #fff; - margin-top: 15px; - font-size: 14px; - text-decoration: none; } - -.primary-btn:hover, .secondary-btn:hover, .outline-btn:hover { - opacity: .8; } - -.outline-btn:hover { - color: #1488C6; } - -/** these are bootstarp overrides :/ */ -.dropdown-btn { - background: transparent; - color: #fff; - padding: 6px 12px; - margin-top: 7px; - font-weight: 400; - background-image: none; - border: 0; } - -.dropdown-header { - font-size: 13.5px; - line-height: 16px; - color: #1488c6; - padding: 5px 15px; - display: block; } - -.text-link { - padding: 5px; } - -/* -* -* Breadcrumbs ************************************************************** -* -*/ -.breadcrumb { - padding: 8px 15px 0 0; - margin: 10px 0 0 0; - list-style: none; - background-color: transparent; - border-radius: 4px; } - -/* -* Search ********************************************************************* -* -*/ -.search-form { - float: left; - width: 295px; } - -.search-form input[type=search] { - background: #3bb1ec; - border: 0; - color: #0C5176; - border-radius: 0px; - margin: 0; - transition: all 0.2s ease; - width: 270px; } - -.nav-secondary .search-form { - float: left; - margin: 2px 15px 0 20px; } - -.nav-secondary input[type=search] { - background: #065F8F; - border: 0; - margin: 0; - transition: all 0.2s ease; - width: 270px; } - -.search-form input[type=search]:focus { - background: #fff; - box-shadow: 0; } - -input[type=text], .nav-secondary-tabs.affix input[type=search] { - background: #10628e; - border: 0; - margin: 0; } - -.search-form input[type=search]::-webkit-input-placeholder { - color: #fff; } - -.search-form input[type=search]:-moz-placeholder { - /* Firefox 18- */ - color: #fff; } - -.search-form input[type=search]::-moz-placeholder { - /* Firefox 19+ */ - color: #fff; } - -.search-form input[type=search]:-ms-input-placeholder { - color: #fff; } - -/* -* -* Custom Content Docs Guides : steps ****************************************** -* -*/ -i.fa.fa-outdent, i.fa.fa-indent { - color: #fff; - padding: 15px 15px 0 0; - font-size: 1.8rem; - opacity: 0.7; } - -/*.step-container {}*/ -.step a { - padding: 15px; - float: left; - min-height: 75px; - width: 100%; } - -.step a:hover { - opacity: .6; } - -.step-num { - border-radius: 50%; - behavior: url(PIE.htc); - width: 36px; - height: 36px; - padding: 4px; - border: 2px solid #196d9c; - color: #0a486b; - text-align: center; - float: left; - font-size: 1.5rem; - margin-right: 25px; } - -/*.step-text {}*/ -.step p { - padding: 5px 45px 0 0; - width: 87%; - float: left; } - -.step .fa-chevron-right { - font-size: 3.5rem; - margin: 4px 0 0 15px; - float: left; - color: #125275; - opacity: .4; } - -/* Portrait and Landscape */ -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { - .step p { - padding: 25px 0px 0 0; - width: 87%; - float: left; } - .step-text { - float: left; } - .container > .navbar-header { - margin: 0; } } - -/* -* -* Guides : components -* -*/ -.component-container { - padding: 0; - margin: 0; - width: 100%; } - -.component { - border-top: 10px solid; - border-color: #d3d4d4; - padding: 30px 30px 0 30px; - text-align: center; - margin: 0 0 15px 0; - min-height: 280px; - max-width: 330px; } - -.component-full { - padding: 15px 0 20px 20px; - float: left; - width: 100%; - min-height: 120px; - margin: 20px 0 0 0; } - -.component, .component-full { - box-shadow: 0.2px 0.2px 6px 0px rgba(169, 169, 169, 0.44); } - -.component-full-icon { - float: left; - padding: 5px 15px 0 7px; } - -.component-full p { - margin: 0; } - -.component-full h3 { - margin-top: 10px; } - -.component img, .component-full-icon img { - width: 50px; - height: 50px; } - -.component-icon { - width: 50px; - margin: 0 auto; - padding: 0 0 10px 0; } - -.component-full-copy { - float: left; - width: 80%; } - -a.anchorLink { - margin-left: 5px; - visibility: hidden; } - -/* -* -* feedback -* -*/ -.feedback { - text-align: center; - padding: 50px 0; } - -/* -* Global elper classes ********************************************************************* -* -*/ -.sub-header-block { - padding: 25px 20px 50px 0; } - -.block { - padding: 25px 20px 10px 0; } - -.block ul { - padding: 0; } - -/* -* -* hero banner text ************************************************************* -* -*/ -.hero-text { - -ms-flex-align: center; - align-items: center; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - min-height: 24em; - -ms-flex-pack: center; - justify-content: center; - -webkit-animation-name: hero; - animation-name: hero; - -webkit-animation-duration: 2s; - animation-duration: 2s; } - -.hero-text-centered { - -ms-flex: none; - flex: none; - text-align: center; - max-width: 60%; } - -.hero-text h1 { - color: #fff; } - -.hero-text p { - color: #fff; - margin-bottom: 15px; - font-size: 18px; - line-height: 28px; } - -.hero-text ul { - padding: 0; - width: 65%; - margin: 0 auto; } - -.hero-text li { - padding: 0 10px 0 0; } - -/* Portrait and Landscape */ -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { - .hero-text { - position: absolute; - top: 75px; } - .hero-text-centered { - -ms-flex: none; - flex: none; - text-align: center; - max-width: 80%; } - .hero-text li { - float: left; - margin: 10px 0 0 0; } } - -/* -* -* Custom Content**************************************************************** -* -*/ -.strip, .strip-alt { - padding: 70px 0 50px 0; - min-height: 300px; - width: 100%; } - -.strip-alt { - background: #1488c6; - color: #fff; } - -.strip-alt h3, .strip-alt h6 { - color: #fff; } - -.color-strip { - background: #1488c6; - height: 300px; - width: 100%; } - -.illustration { - max-width: 944px; - margin: 0 auto; } - -/* -* -* News letter ********************************************************** -* -*/ -.newsletter_section { - background-color: rgba(224, 228, 231, 0.7); - padding: 42px 0 32px 0; - min-height: 140px; } - -.newsletter_section input { - background-color: #FFFFFF; - box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2); - border: 1px solid rgba(0, 0, 0, 0.1); - border-radius: 2px; - font-size: 16px; - line-height: 19px; - color: #82949E; - padding: 14px 15px 12px 15px; - margin: -2px 10px 10px 0; - float: left; - height: 49px; - width: 340px !important; } - -/* -* -* Bootstrap Overrides : super embarrassing *********************************************************************** -* -*/ -.navbar-nav > li > a { - color: #fff !important; } - -.navbar-collapse, .navbar-form { - border-color: transparent; } - -.navbar-toggle .icon-bar { - background-color: #fff !important; } - -.nav > li > a:focus, .nav > li > a:hover { - background-color: transparent; } - -.dropdown-menu > li > a { - font-size: 13.5px; - line-height: 16px; - color: #1488c6; - padding: 5px 15px; - display: block; } - -/* -* -* typography ****************************************************************** -* -*/ -h1, h2, h3, h4, h5, h6 { - color: #F7F8F9; - font-family: Geomanist Book; } - -h1 { - font-size: 38px; - line-height: 48px; } - -h2 { - font-size: 28px; - line-height: 38px; } - -h3 { - font-size: 20px; - line-height: 28px; } - -h4 { - color: #445d6e; - font-size: 18px; - line-height: 26px; - text-transform: uppercase; } - -h5 { - color: #445d6e; - font-size: 16px; - line-height: 26px; } - -h6 { - color: #82949e; - font-size: 16px; - line-height: 26px; } - -p { - color: #d3d4d4; - font-family: 'Open Sans', sans-serif; - font-size: 14px; - line-height: 24px; - margin-bottom: 10px; } - -p.p2 { - font-size: 16px; - line-height: 30px; } - -.reading-time { - font-style: italic; - font-size: 80%; - display: block; - padding: 0; - color: #ccc; } - -.dropdown-header { - font-size: 13.5px; - line-height: 16px; - color: #1488c6; - padding: 10px 0 0 15px; - display: block; - font-weight: 600; - margin: 10px 0 0 0; } - -/* -* -* Fonts *********************************************************************** -* -*/ -@font-face { - font-family: 'Geomanist Book'; - src: url("../fonts/geomanist/hinted-Geomanist-Book.eot"); - src: url("../fonts/geomanist/hinted-Geomanist-Book.eot?#iefix") format("embedded-opentype"), url("../fonts/geomanist/hinted-Geomanist-Book.woff2") format("woff2"), url("../fonts/geomanist/hinted-Geomanist-Book.woff") format("woff"), url("../fonts/geomanist/hinted-Geomanist-Book.ttf") format("truetype"), url("../fonts/geomanist/hinted-Geomanist-Book.svg#Geomanist-Book") format("svg"); - font-weight: normal; - font-style: normal; } - -@font-face { - font-family: 'Geomanist Ultra'; - src: url("../fonts/geomanist/hinted-Geomanist-Ultra.eot"); - src: url("../fonts/geomanist/hinted-Geomanist-Ultra.eot?#iefix") format("embedded-opentype"), url("../fonts/geomanist/hinted-Geomanist-Ultra.woff2") format("woff2"), url("../fonts/geomanist/hinted-Geomanist-Ultra.woff") format("woff"), url("../fonts/geomanist/hinted-Geomanist-Ultra.ttf") format("truetype"), url("../fonts/geomanist/hinted-Geomanist-Ultra.svg#Geomanist-Ultra") format("svg"); - font-weight: normal; - font-style: normal; } - -@font-face { - font-family: 'Geomanist Thin'; - src: url("../fonts/geomanist/hinted-Geomanist-Thin.eot"); - src: url("../fonts/geomanist/hinted-Geomanist-Thin.eot?#iefix") format("embedded-opentype"), url("../fonts/geomanist/hinted-Geomanist-Thin.woff2") format("woff2"), url("../fonts/geomanist/hinted-Geomanist-Thin.woff") format("woff"), url("../fonts/geomanist/hinted-Geomanist-Thin.ttf") format("truetype"), url("../fonts/geomanist/hinted-Geomanist-Thin.svg#Geomanist-Thin") format("svg"); - font-weight: 100; - font-style: normal; } - -@font-face { - font-family: 'Geomanist Light'; - src: url("../fonts/geomanist/hinted-Geomanist-Light.eot"); - src: url("../fonts/geomanist/hinted-Geomanist-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/geomanist/hinted-Geomanist-Light.woff2") format("woff2"), url("../fonts/geomanist/hinted-Geomanist-Light.woff") format("woff"), url("../fonts/geomanist/hinted-Geomanist-Light.ttf") format("truetype"), url("../fonts/geomanist/hinted-Geomanist-Light.svg#Geomanist-Light") format("svg"); - font-weight: 300; - font-style: normal; } - -@font-face { - font-family: 'Geomanist'; - src: url("../fonts/geomanist/hinted-Geomanist-Regular.eot"); - src: url("../fonts/geomanist/hinted-Geomanist-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/geomanist/hinted-Geomanist-Regular.woff2") format("woff2"), url("../fonts/geomanist/hinted-Geomanist-Regular.woff") format("woff"), url("../fonts/geomanist/hinted-Geomanist-Regular.ttf") format("truetype"), url("../fonts/geomanist/hinted-Geomanist-Regular.svg#Geomanist-Regular") format("svg"); - font-weight: normal; - font-style: normal; } - -@font-face { - font-family: 'Geomanist ExtraLight'; - src: url("../fonts/geomanist/hinted-Geomanist-ExtraLight.eot"); - src: url("../fonts/geomanist/hinted-Geomanist-ExtraLight.eot?#iefix") format("embedded-opentype"), url("../fonts/geomanist/hinted-Geomanist-ExtraLight.woff2") format("woff2"), url("../fonts/geomanist/hinted-Geomanist-ExtraLight.woff") format("woff"), url("../fonts/geomanist/hinted-Geomanist-ExtraLight.ttf") format("truetype"), url("../fonts/geomanist/hinted-Geomanist-ExtraLight.svg#Geomanist-ExtraLight") format("svg"); - font-weight: 200; - font-style: normal; } - -@font-face { - font-family: 'Geomanist Medium'; - src: url("../fonts/geomanist/hinted-Geomanist-Medium.eot"); - src: url("../fonts/geomanist/hinted-Geomanist-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/geomanist/hinted-Geomanist-Medium.woff2") format("woff2"), url("../fonts/geomanist/hinted-Geomanist-Medium.woff") format("woff"), url("../fonts/geomanist/hinted-Geomanist-Medium.ttf") format("truetype"), url("../fonts/geomanist/hinted-Geomanist-Medium.svg#Geomanist-Medium") format("svg"); - font-weight: 500; - font-style: normal; } - -@font-face { - font-family: 'Geomanist Bold'; - src: url("../fonts/geomanist/hinted-Geomanist-Bold.eot"); - src: url("../fonts/geomanist/hinted-Geomanist-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/geomanist/hinted-Geomanist-Bold.woff2") format("woff2"), url("../fonts/geomanist/hinted-Geomanist-Bold.woff") format("woff"), url("../fonts/geomanist/hinted-Geomanist-Bold.ttf") format("truetype"), url("../fonts/geomanist/hinted-Geomanist-Bold.svg#Geomanist-Bold") format("svg"); - font-weight: bold; - font-style: normal; } - -/* -* -* Header *********************************************************************** -* -*/ -.header { - background: #0087C9; - min-height: 500px; - position: relative; } - -.fan { - background: transparent url("../images/fan.svg") no-repeat top left; - background-size: cover; - position: absolute; - width: 208px; - height: 500px; } - -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { - .fan { - display: none; } } - -.fan { - -webkit-animation-name: fan; - animation-name: fan; - -webkit-animation-duration: 2s; - animation-duration: 2s; } - -@-webkit-keyframes fan { - from { - left: -100px; - opacity: 0; } - to { - left: 0; - opacity: 1; } } - -@keyframes fan { - from { - left: -100px; - opacity: 0; } - to { - left: 0; - opacity: 1; } } - -/* -* -* hero banner text ************************************************************* -* -*/ -.hero-text { - -ms-flex-align: center; - align-items: center; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - min-height: 24em; - -ms-flex-pack: center; - justify-content: center; - -webkit-animation-name: hero; - animation-name: hero; - -webkit-animation-duration: 2s; - animation-duration: 2s; } - -.hero-text-centered { - -ms-flex: none; - flex: none; - text-align: center; - max-width: 60%; } - -.hero-text h1 { - color: #fff; } - -.hero-text p { - color: #fff; - margin-bottom: 15px; - font-size: 18px; - font-weight: 200; - font-family: Open Sans; - line-height: 30px; } - -.hero-text ul { - padding: 0; - width: 65%; - margin: 0 auto; } - -.hero-text li { - padding: 0 10px 0 0; } - -/* Portrait and Landscape */ -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { - .hero-text { - position: absolute; - top: 75px; } - .hero-text-centered { - -ms-flex: none; - flex: none; - text-align: center; - max-width: 80%; } - .hero-text li { - float: left; - margin: 10px 0 0 0; } } - -/* -* Search ********************************************************************* -* -*/ -.search-form { - float: left; - margin: 10px 15px 0 20px; } - -.search-form input[type=text] { - background: #3bb1ec; - border: 0; - color: #0C5176; - border-radius: 0px; - margin: 0; - transition: all 0.2s ease; - width: 230px; } - -.nav-secondary input[type=text] { - background: #065F8F; - border: 0; - margin: 0; - transition: all 0.2s ease; } - -.search-form input[type=text]:focus { - background: #fff; - box-shadow: 0; } - -input[type=text], .nav-secondary-tabs.affix input[type=text] { - background: #10628e; - border: 0; - margin: 0; } - -.search-form input[type=text]::-webkit-input-placeholder { - color: #fff; } - -.search-form input[type=text]:-moz-placeholder { - /* Firefox 18- */ - color: #fff; } - -.search-form input[type=text]::-moz-placeholder { - /* Firefox 19+ */ - color: #fff; } - -.search-form input[type=text]:-ms-input-placeholder { - color: #fff; } - -/* -* -* News letter ********************************************************** -* -*/ -.newsletter_section { - background-color: rgba(224, 228, 231, 0.7); - padding: 42px 0 32px; - min-height: 140px; } - -.newsletter_section input { - background-color: #FFFFFF; - box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2); - border: 1px solid rgba(0, 0, 0, 0.1); - border-radius: 2px; - font-family: Geomanist; - font-size: 16px; - line-height: 19px; - color: #82949E; - padding: 14px 15px 12px; - margin: -2px 10px 10px 0; - float: left; - height: 49px; - width: 340px; } - -/* -* -* global footer *********************************************************************** -* -*/ -footer { - background: #fff; - position: static; } - -.top_footer { - padding: 50px 0 35px; } - -.footer_links { - list-style: none; - padding: 0; } - .footer_links li { - margin-bottom: 2px; } - .footer_links li a { - color: #637986; - font-size: 12px; - line-height: 16px; - text-decoration: none; } - -.footer_sub_nav { - float: right; - padding: 10px 30px 20px 0; } - .footer_sub_nav ul { - list-style: none; - margin: 0; - padding: 0; } - .footer_sub_nav ul li { - float: left; - margin-left: 10px; - padding-bottom: 6px; } - .footer_sub_nav ul li a { - color: #637986; - font-size: 12px; - line-height: 17px; } - -.bottom_footer { - clear: both; - padding: 30px 0 20px; - border-top: 1px solid #E0E4E7; - float: left; - width: 100%; } - -.footer-copyright { - float: left; } - .footer-copyright p { - font-family: "Open Sans"; - font-size: 12px; - line-height: 17px; - color: #637986; - margin-bottom: 0; - padding: 0 0 15px; } - -.footer_social_nav { - float: right; - padding: 0 15px 0 0; } - .footer_social_nav ul { - list-style: none; - padding: 0; - margin: 0; } - .footer_social_nav ul li { - float: left; - position: relative; } - -.footer_social_nav ul li:before { - color: #fff; - position: absolute; - top: 10px; - left: 10px; } - -.footer_social_nav ul li + li { - margin-left: 10px; } - -.footer_social_nav ul li a { - width: 32px; - height: 32px; - background-color: #82949E; - border-radius: 50px; - color: #fff; - display: block; - text-indent: 9999px; - overflow: hidden; } - -/* Portrait and Landscape */ -@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { - .top_footer { - padding: 15px 0 0; - margin-bottom: 50px; } - .footer_links { - padding: 10px 0; } - button.outline-btn { - margin: 20px 0 0 2px; } - .footer_sub_nav { - float: left; } - .footer_sub_nav ul li { - float: none; - padding-bottom: 6px; - margin: 0; } } diff --git a/css/main.css b/css/main.css index dd642a9db7..f94fe3f27f 100644 --- a/css/main.css +++ b/css/main.css @@ -407,7 +407,7 @@ td, th { background-color: #FBFBFC; height: 100%; width: 270px; - padding: 15px 0 0; } + padding: 50px 0 0; } .toc-nav ul { list-style: none; @@ -426,6 +426,9 @@ td, th { display: block; transition: 0.3s; } +#side-toc-contents a { + padding-left: 0px; } + .toc-nav a:hover, .offcanvas a:focus { color: #f1f1f1; } @@ -445,7 +448,7 @@ td, th { .toggle-mode { float: left; width: 100%; - padding: 24px 0px 0px 0px; } + padding: 0px 0px 0px 40px; } .toggle-mode .icon { width: 25px; diff --git a/css/temp.css b/css/temp.css index c74109705e..29f97991ae 100644 --- a/css/temp.css +++ b/css/temp.css @@ -72,8 +72,6 @@ div#autocompleteContainer { } #feedback-links { - border: 1px solid #2294ca; - padding: 10px; margin-top: 20px; width: 100%; } diff --git a/index.md b/index.md index 03a131db97..c6b35ff2f8 100644 --- a/index.md +++ b/index.md @@ -1,7 +1,7 @@ --- description: Home page for Docker's documentation -keywords: Docker, documentation, manual, guide, reference, api -layout: landing +keywords: Docker, documentation, manual, guide, reference, api, samples +landing: true title: Docker Documentation notoc: true --- @@ -148,5 +148,5 @@ production environment. Highlights [Compose Version 3 new features](/engine/gets - + diff --git a/js/docs.js b/js/docs.js index 8cb6de55b8..964974b913 100644 --- a/js/docs.js +++ b/js/docs.js @@ -4,22 +4,6 @@ * */ -function swapStyleSheet(sheet) { - document.getElementById('pagestyle').setAttribute('href', sheet); -} - - -$('#switch-style').change(function() { - - if ($(this).is(':checked')) { - swapStyleSheet('../css/main-alt.css'); - - } else { - swapStyleSheet('../css/main.css'); - - } -}); - $("#menu-toggle").click(function(e) { e.preventDefault(); $("#wrapper").toggleClass("toggled"); diff --git a/js/menu.js b/js/menu.js index 574820e9db..a9747b1d6e 100644 --- a/js/menu.js +++ b/js/menu.js @@ -25,11 +25,13 @@ function loadPage(url) window.location.replace(url); window.location.href = url; } + $(document).on("keypress", function(event) { if (event.keyCode == 13) { if(autoCompleteShowing) event.preventDefault(); } }); + function highlightMe(inputTxt,keyword) { inputTxt = String(inputTxt); diff --git a/landing.md b/landing.md index 20d50208a6..6b238a150d 100644 --- a/landing.md +++ b/landing.md @@ -1,7 +1,7 @@ --- description: Home page for Docker's documentation keywords: Docker, documentation, manual, guide, reference, api -layout: landing +landing: true title: Docker Documentation notoc: true --- @@ -148,5 +148,5 @@ production environment. Highlights [Compose Version 3 new features](/engine/gets - +