/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-spacing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} html { overflow-y: scroll; } html, body { min-height: 100%; } body { margin: 0; padding: 0; background: #f1f1f1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 18px; line-height: 1.6; color: #292929; -webkit-font-smoothing: antialiased; } /* General & 'Reset' Stuff */ .container { max-width: 880px; margin: 0 auto; padding: 0 20px; } section { display: block; margin: 0 0 40px 0; } h1, h2, h3, h4, h5, h6 { margin: 2em 0 0.5em 0; color: #333; font-weight: normal; } h1 { margin-top: 1em; } h3, h4 { font-weight: 600; } .header-link { text-decoration: none; color: #BBB; margin-left: 0.5em; font-size: 0.6em; display: none; } .header-link:hover { color: #292929; } h1:hover .header-link, h2:hover .header-link, h3:hover .header-link, h4:hover .header-link { display: inline; } p { margin: .5em 0 1.1em 0; } dt { font-style: italic; margin-top: 20px; } ul li { list-style: none; } ul li:before { content: ">>"; font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; font-size: 13px; color: #666; margin-left: -37px; margin-right: 10px; line-height: 13px; } li { padding: 0 0 0.3em 0; } nav ul { list-style: none; margin: 0; padding: 0; } nav li { display: inline-block; } nav ul li:before { content: ""; display: none; } blockquote { color: #666; padding: 10px 20px; margin: 1.5em 0; border-left: 4px solid #ddd; background: rgba(0,0,0,0.03); border-radius: 0 4px 4px 0; } h3 + table { margin-top: 10px; } table { width: 100%; margin: 0 0 20px 0; border-collapse: collapse; } table a { text-decoration: none; } th, td { vertical-align: top; padding: 12px 16px; } tr:hover td { background-color: #f9f9f9; } th { text-align: left; border-bottom: 1px solid #e3e3e3; } .horizontal th, td { background: #fff; border-bottom: 1px solid #e3e3e3; } td code { position: relative; top: -2px; background: #777; font-size: 1em; } .horizontal tr:nth-child(even) th, tr:nth-child(even) td { background: transparent; } tr td:first-child { border-left: none; } table.horizontal { border-top: 1px solid #e3e3e3; } table.horizontal th { font-weight: 400px; } /** * Links */ a { color: #0074A2; transition-duration: 0.05s; transition-property: border, background, color; transition-timing-function: ease-in-out; text-decoration-thickness: 1px; text-underline-offset: 3px; } :focus-visible { outline: 2px solid #0074A2; outline-offset: 2px; } a:hover, a:active { color: #2EA2CC; } a:focus { color: #124964; } /** * Coding block */ code, pre { color: #f1f1f1; font-family: Consolas, "Liberation Mono", Courier, monospace; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } /* Inline code */ code { padding-left: 0.3em; padding-right: 0.3em; background: #444; } /* Oh I want SASS here */ h3 > code { display: inline-block; margin-bottom: 0.5em; padding-bottom: 0; padding-top: 0.1em; background: none repeat scroll 0 0 #5C5C5C; font-size: 17px; } /* Code blocks */ pre code { display: block; padding: 0.4em 0.5em 0.3em 0.5em; margin: .5em 0 1.1em 0; overflow: auto; border-radius: 0.3em; font-size: 1em; } /* Forms */ .form-control { font-size: 14px; line-height: 18px; padding: 0.4em 0.5em 0.5em 0.5em; border: none; box-shadow: none; } input[type="search"] { -webkit-appearance: none; } /* Images */ img { max-width: 100% } /* Clearfix */ .cf:before, .cf:after { content: ""; display: table; } .cf:after { clear:both; } .cf { zoom:1; } /* Header,
header - container h1 - project name h2 - project description */ header { background: #000; width: 100%; padding: 20px 0 10px 0; margin: 0 0 30px 0; } header h1 { font-size: 17px; font-weight: 300; color: #f5f5f5; margin-top: 10px; margin-bottom: 20px; } @media (max-width: 970px) { header h1 { margin-left: 0; } } @media (max-width: 690px) { /* Avoid collision with the language selector */ header h1 { padding-top: 40px; } } header h1 img { vertical-align: middle; } header h1 span { margin-left: 10px; } footer { clear: both; display: block; text-align: center; font-size: 14px; margin: 20px 10px 40px 10px; } .main-nav, .social-nav { position: relative; } .main-nav ul, .social-nav ul { list-style: none; } .main-nav li, .social-nav li { float: left; text-align: center; margin: 0; } .main-nav li:first-child a { padding-left: 0; } .main-nav a, .social-nav a { display: block; padding: 8px 18px; color: #7AD03A; font-weight: 300; text-decoration: none; } .main-nav a:hover { color: #b5e853; } .main-nav ul li:nth-child(5) a { background-color: rgba(122, 208, 58, 0.5); color: white; border-radius: 5px; } .main-nav ul li:nth-child(6) a:hover { background-color: rgba(122, 208, 58, 0.75); color: white; border-radius: 5px; } .main-nav .active a { /* background: #202020; */ /* Not yet */ color: #f1f1f1; } /* Secondary main-nav */ .social-nav li { float: right; margin-left: .5em; } .social-nav .rounded { padding: 0; width: 1.8em; height: 1.8em; line-height: 1.8em; font-size: 1.3em; border-radius: 3em; background: #585858; color: #292929; } .social-nav .rounded:hover { color: #7AD03A; } @media (max-width: 770px) { .social-nav { display: table; margin: 0 auto; padding-top: 5px; min-width: 100px; } .social-nav li { float: none; margin: 0 5px; } } /* Search in header */ .main-nav .search { border-radius: 3em; width: 200px; background: #292929; color: #f1f1f1; -webkit-transition-duration: 400ms; -webkit-transition-property: width, background; -webkit-transition-timing-function: ease; -moz-transition-duration: 400ms; -moz-transition-property: width, background; -moz-transition-timing-function: ease; -o-transition-duration: 400ms; -o-transition-property: width, background; -o-transition-timing-function: ease; } .main-nav .search:hover { color: #f1f1f1; } .main-nav .search:focus { width: 180px; outline: none; box-shadow: 0 0 0 2px rgba(122, 208, 58, 0.5); } .main-nav .btn-search { display: none; } /** * Main Content */ body.display-global-parameters { overflow-x: hidden; } body.display-global-parameters #main_content { width: 65%; float: left; } @media (max-width: 690px) { body.display-global-parameters #main_content{ width: 100%; } } #main_content { width: 100%; padding: 0 20px; margin: 0 -20px; box-sizing: border-box; -webkit-font-smoothing: antialiased; } @media (max-width: 970px) { #main_content { padding: 0; /* parent .container will provide needed spacement */ margin: 0; } } #main_content h1 { font-size: 30px; } #main_content h2 { font-size: 28px; } #main_content h3 { font-size: 24px; } #main_content h4 { font-size: 18px; /*margin-top: .3em;*/ } #main_content h5 { font-size: 12px; text-transform: uppercase; /*margin: 0 0 .3em 0;*/ } #main_content h6 { font-size: 12px; text-transform: uppercase; color: #999; /*margin: 0 0 .3em 0;*/ } /** * Global Parameters */ .global-parameters { width: 35%; float: right; margin: 0 -20px 40px -20px; padding: 0 20px; color: #888; background: #fff; font-size: 14px; box-sizing: border-box; padding-left: 30px } @media (max-width: 690px) { .global-parameters { width: auto; margin:0; float: none; padding-left: 40px; padding-right: 40px; } } .global-parameters h3{ text-transform: uppercase; color: #888; font-weight: bold; font-size: 16px; margin-left: -20px; } .global-parameters code { background: none; display: block; font-size: 14px; color: #0074A2; font-weight: bold; text-shadow: none; margin-left: -20px; } .global-parameters p { margin-bottom: 5px; } /* Adjust visibility per page */ body.command-line-interface-for-wordpress .global-parameters, body.configuration .global-parameters{ display: none; background: green; } body.configuration .global-parameters{ display: none; background: green; } .blog aside.global-parameters { display: none; } .command-line-interface-for-wordpress #main_content, .blog #main_content { width: 100%; } /* Buttons */ .btn { display: inline-block; background: #333; padding: 10px 24px; border-radius: 50px; border: none; color: #fff; font-family: inherit; font-weight: bold; font-size: 14px; text-decoration: none; transition: background 0.2s ease; } .btn:hover { background: #444; } .btn .icon { display: inline-block; width: 16px; height: 16px; margin: 1px 8px 0 0; float: left; } .btn-github .icon { opacity: 0.6; background: url("../img/blacktocat.png") 0 0 no-repeat; } /* Blog */ .hentry + .hentry { margin-top: 30px; } hr, .hentry { border-bottom: 1px solid #FFFFFF; position: relative; } hr { height: 2px; border: none; margin-bottom: 1em; } hr:after, .hentry:after { content: ""; display: block; height: 1px; line-height: 1px; font-size: 1px; background: #CCC; } .hentry + .hentry:before { content: "&"; display: block; position: absolute; background: #f1f1f1; left: 50%; top: -44px; width: 3em; text-align: center; color: #bbb; text-shadow: 1px 0 1px rgba(255, 255, 255, 1); } .read-more { display: inline-block; margin-bottom: 0.5em; text-decoration: none; } .post-header { margin-bottom: 20px; } .post-header h2 { margin-bottom: 0; } .post-header a { text-decoration: none; } .post-header span { color: #666; } .post-content { padding-bottom: 1em; } /* Announcement within posts */ .announcement { padding: 0.3em 1em 0.5em 1em; margin-bottom: 1em; } .breaking { background: #eceaeb; } .breaking h3 i { color: #d84f09; } .changes { background: #eceaeb; } /* Pagination */ .pagination { display: block; overflow: hidden; padding: 1em 0 0.5em 0; } .pagination a { text-decoration: none; } .pagination .prev { float: left; } .pagination .next { float: right; } /* Packaging index */ .package { border-bottom: 1px solid #fff; margin-bottom: 2em; } .package th { width: 150px; } /* i18n menu */ .cf .container { position: relative; } .cf .container .languages { position: absolute; top: 0px; right: 0px; margin-right: 20px; } @media screen and (-webkit-min-device-pixel-ratio:0) { header h2, .main-nav a { font-weight: 400; } } @media (max-width: 690px) { .main-nav li:not(:nth-child(5)) a { padding-left: 0; } .main-nav li:nth-child(6) a { padding-left: 9px; padding-right: 9px; } } @media (prefers-color-scheme: dark) { body { background: #121212; color: #e0e0e0; } h1, h2, h3, h4, h5, h6 { color: #ffffff !important; } a { color: #4da6ff; } a:hover, a:active { color: #80c1ff; } .global-parameters { background: #1e1e1e; color: #ccc; } .global-parameters code { color: #4da6ff; } th, td, .horizontal th, .horizontal tr:nth-child(even) th, tr:nth-child(even) td { background: #1e1e1e; border-bottom: 1px solid #333; } code { background: #2a2a2a; color: #f1f1f1; } pre code { border: 1px solid #333; } blockquote { color: #ccc; border-left-color: #444; background: rgba(255,255,255,0.05); } .social-nav .rounded { background: #333; color: #ccc; } .social-nav .rounded:hover { color: #7AD03A; } header { background: #000; } header h1 { color: #f5f5f5; } .header-link { color: #888; } .header-link:hover { color: #ffffff; } input, textarea, select, button { background: #2a2a2a; color: #fff; border: 1px solid #444; } fieldset { border-color: #444; } tr:hover td { background-color: #252525 !important; } /* List separators and symbols */ ul li:before { color: #aaa; } hr:after, .hentry:after { background: #444; } .hentry + .hentry:before { background: #121212; color: #666; } /* Sponsor logos with transparent backgrounds */ a > img[src*="make.wordpress.org/cli/files"] { background: #fff; padding: 15px; border-radius: 8px; display: inline-block; box-sizing: border-box; } }