@import "fonts"; @import "rouge-github"; @import "colors"; body { padding: 0; margin: 0; background-color: var(--clr-bg); color: var(--clr-text); font: 15px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight:400; } h1, h2, h3, h4, h5, h6 { color: var(--clr-h1-and-bold); margin:0 0 20px; } p, ul, ol, table, pre, dl { margin:0 0 20px; } h1, h2, h3 { line-height:1.1; } h1 { font-size:32px; } h2 { color: var(--clr-h2); } h3, h4, h5, h6 { color: var(--clr-h-3-6); } a { color:var(--clr-a-text); text-decoration:none; } a:hover, a:focus { color: var(--clr-a-text-hvr); } a small { font-size:11px; color:var(--clr-small-in-a); margin-top:-0.3em; display:block; } a:hover small { color:var(--clr-small-in-a); } // added p.link { margin:0 0 4px; } // added ul.link { list-style-type: none; /* Remove bullets */ margin: 0; /* To remove default bottom margin */ padding: 0.4px; /* To remove default left padding */ } ul.link li + li { margin-top: 6px; } ul.link:last-child { margin-bottom: 6px; } .wrapper { box-sizing: border-box; width: 920px; margin: 0 auto; padding: 0 30px; display: block; background-color: var(--clr-content-bg); height: 100vh; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ overflow-x: hidden; overflow-y: scroll; } .wrapper::-webkit-scrollbar { /* Chrome, Safari, Edge */ display: none; } blockquote { border-left:1px solid var(--clr-splitter-blockquote-and-section); margin:0; padding:0 0 0 20px; font-style:italic; } code, pre { font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace; color: var(--clr-code-text); } pre { padding:8px 15px; background: var(--clr-code-bg); border-radius:5px; border:1px solid var(--clr-code-border); overflow-x: auto; } table { width:100%; border-collapse:collapse; } th, td { text-align:left; padding:5px 10px; border-bottom:1px solid var(--clr-splitter-blockquote-and-section); } dt { color:var(--clr-table-header-and-dt); font-weight:700; } th { color:var(--clr-table-header-and-dt); } img { max-width:100%; } kbd { background-color: var(--clr-kbd-bg) ; border: 1px solid var(--clr-kbd-border); border-bottom-color: var(--clr-kbd-border-bottom-and-shadow); border-radius: 3px; box-shadow: inset 0 -1px 0 var(--clr-kbd-border-bottom-and-shadow); color: var(--clr-kbd-text); display: inline-block; font-size: 11px; line-height: 10px; padding: 3px 5px; vertical-align: middle; } .sidebar { width: 200px; float: left; position: fixed; margin: auto 0; -webkit-font-smoothing:subpixel-antialiased; top: 0; padding: 50px 0; display: flex; flex-direction: column; justify-content: space-between; height: calc(100vh - 100px); overflow-x: hidden; overflow-y: scroll; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } .sidebar::-webkit-scrollbar { /* Chrome, Safari, Edge */ display: none; } strong { color:var(--clr-h1-and-bold); font-weight:700; } section { width: 610px; float:right; padding: 50px 0; } section>:last-child { margin-bottom: 0; } small { font-size:11px; } hr { border:0; background:var(--clr-splitter-blockquote-and-section); height:1px; width:30%; margin:10px auto 30px; } footer, .sidebar-footer { width:200px; float:left; bottom:30px; -webkit-font-smoothing:subpixel-antialiased; } footer { display: none; } .sidebar-footer { flex-basis: content; margin-top: 20px; } @media print, screen and (max-width: 960px) { .wrapper { padding: 20px; overflow: initial; } .sidebar { padding: initial; display: initial; height: initial; overflow: initial; } footer { display: initial; } .sidebar-footer { display: none; } div.wrapper { width: auto; margin: 0; } .sidebar, section, footer { float: none; position: static; width: auto; } header { padding-right:320px; } section { border: 1px solid var(--clr-splitter-blockquote-and-section); border-width: 1px 0; padding: 20px 0px; margin: 0 0 20px; } header a small { display: inline; } header ul { position: absolute; right: 50px; top: 52px; } .link-wrapper { display: none !important; } .img-circle { display: none !important; object-fit: cover; } } @media print, screen and (max-width: 720px) { body { word-wrap:break-word; } header { padding:0; } header ul, header p.view { position:static; } pre, code { word-wrap:normal; } } .link-wrapper-mobile { margin-bottom: 20px; } @media print, screen and (min-width: 961px) { .link-wrapper-mobile { display: none !important; } } @media print, screen and (max-width: 480px) { body { padding:15px; } // header ul { // width:99%; // } // header li, header ul li + li + li { // width:33%; // } } @media print { body { padding:0.4in; font-size:12pt; color:#444; } } .logo { height: 200px; width: 200px; border-radius: 50% !important; object-fit: cover; } ul.link a { color:var(--clr-h1-and-bold); text-decoration:none; } ul.link a:hover, a:focus { color: var(--clr-a-text-hvr); } #link-wrapper-mobile a { color:var(--clr-h1-and-bold); text-decoration:none; } #link-wrapper-mobile a:hover, a:focus { color: var(--clr-a-text-hvr); }