diff options
-rw-r--r-- | carbslinux.css | 66 | ||||
-rw-r--r-- | carbslinux.min.css | 2 | ||||
-rw-r--r-- | sass/bar.scss | 81 |
3 files changed, 44 insertions, 105 deletions
diff --git a/carbslinux.css b/carbslinux.css index 87e6a9f..fb93ad0 100644 --- a/carbslinux.css +++ b/carbslinux.css @@ -356,91 +356,61 @@ blockquote { #preamble { margin-bottom: 2em; } -#navbar { +#titlebar { + box-sizing: content-box; background: #2e3440 none repeat scroll 0 0 !important; - border-bottom: 5px solid #b48ead !important; min-height: 40px; padding: 10px 15px !important; } - #navbar label, #navbar #hamburger { - display: none; } - #navbar a.navbartitle { + #titlebar a.maintitle { margin: 0 !important; padding: 0 !important; color: #b48ead !important; float: left !important; font-weight: bolder !important; font-size: 200% !important; } - #navbar a.navbartitle:hover { + #titlebar a.maintitle:hover { text-decoration: none; color: #b48ead; } + +#navbar { + background: #81a1c1 !important; + clear: both; + padding: .3em; } #navbar #navbarlist li a { color: #eceff4; font-weight: bold; text-decoration: none; } #navbar ul { - display: block; + vertical-align: middle; list-style: none; margin: 0; padding: 0; - text-align: right; + text-align: left; font-size: 0; - letter-spacing: 0; } + display: flex; + justify-content: space-evenly; } #navbar ul li { - display: inline-block; + display: inline; + text-align: justify; font-size: 14px; font-family: "Noto Sans", "Open Sans", sans-serif !important; line-height: 1.4; letter-spacing: 0; - padding-top: 14px; - padding-right: 15px; - padding-left: 15px; + padding: 0.7ex; margin: 0; } #navbar ul li a { color: #eceff4; font-weight: bold; text-decoration: none; } #navbar ul li a:hover { - color: #b48ead !important; + color: #2e3440 !important; text-decoration: none !important; } -@media screen and (max-width: 768px) { - #navbar label { - display: inline-block; - box-sizing: border-box; - color: #eceff4; - background: #b48ead; - border-radius: 0.2em; - font-style: normal; - text-align: center; - margin-right: auto; - margin-left: auto; - font-size: 1em; - padding: 0.5em 0; - font-size: 1em; - width: 2.2em; - height: 100%; - float: right; } - #navbar ul { - margin-left: 0; - margin-right: 0; - text-align: left; } - #navbar #navbarlist { - margin-top: 50px; - display: none; } - #navbar #navbarlist li { - box-sizing: border-box; - border-top: 1px solid var(--color-carbs-purple); - display: block; - width: 100%; - padding: 0.5em; } - #navbar input:checked ~ #navbarlist { - display: block; } } - footer { clear: both; margin-top: 2em; background: #2e3440 none repeat scroll 0 0 !important; - border-top: 5px solid #b48ead !important; + border-top: 5px solid #81a1c1 !important; padding: 10px 15px !important; bottom: 0; } footer p { diff --git a/carbslinux.min.css b/carbslinux.min.css index 24924e5..b686a12 100644 --- a/carbslinux.min.css +++ b/carbslinux.min.css @@ -1 +1 @@ -/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,*::before,*::after{box-sizing:border-box}:root{-moz-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type='button'],[type='reset'],[type='submit']{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type='search']{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}:root{--color-carbs-color-bg:#fff;--color-carbs-color-fg:#3b4252;--color-carbs-highlight:#eceff4;--color-carbs-pink:#B48EAD;--color-carbs-purple:#97365B;--color-carbs-blue:#5e81ac;--color-carbs-blue-alt:#81a1c1;--color-carbs-red:#bf616a;--color-carbs-grey:#8b94a5;--color-carbs-green:#4F894C;--color-carbs-orange:#d08770}@media (prefers-color-scheme: dark){:root{--color-carbs-color-bg:#2e3440;--color-carbs-color-fg:#eceff4;--color-carbs-highlight:#3b4252;--color-carbs-pink:#b48ead;--color-carbs-purple:#b48ead;--color-carbs-blue:#81a1c1;--color-carbs-blue-alt:#88c0d0;--color-carbs-red:#bf616a;--color-carbs-grey:#6f7787;--color-carbs-green:#a3be8c;--color-carbs-orange:#d08770}}body{margin:0;background-color:var(--color-carbs-color-bg);font-family:"Noto Sans","Open Sans",sans-serif;font-size:16px;color:var(--color-carbs-color-fg);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}p,pre,li,dt,dd,table,code,address{line-height:1.5em}p{margin-top:1em;margin-bottom:1em}.subtitle{color:var(--color-carbs-color-fg);font-weight:normal;font-size:16px;font-style:italic}code,pre.src{padding:.2em .4em;margin:0;font-size:85%}code{background-color:var(--color-carbs-highlight);border-radius:3px}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover{text-decoration:none}h1{color:var(--color-carbs-pink);font-weight:800}h1 a:hover{color:#b48e9a}@media (prefers-color-scheme: dark){h1 a:hover{color:#b48e9a}}h2{color:var(--color-carbs-blue);font-weight:700}h2 a:hover{color:var(--color-carbs-purple)}h3{color:var(--color-carbs-color-fg);font-weight:600}h3 a:hover{color:var(--color-carbs-blue)}pre{font:monospace;border-radius:3px;border:1px solid var(--color-carbs-highlight);background-color:var(--color-carbs-highlight);padding:0.5em;margin:1em}pre code,pre.src{display:block;overflow:auto}pre code{background:transparent}a{text-decoration:none;font-weight:bold;color:var(--color-carbs-pink)}a:hover{text-decoration:underline;color:var(--color-carbs-blue-alt)}blockquote{border-left:1px solid var(--color-carbs-highlight);font-style:italic}#preamble{margin-bottom:2em}#navbar{background:#2e3440 none repeat scroll 0 0 !important;border-bottom:5px solid #b48ead !important;min-height:40px;padding:10px 15px !important}#navbar label,#navbar #hamburger{display:none}#navbar a.navbartitle{margin:0 !important;padding:0 !important;color:#b48ead !important;float:left !important;font-weight:bolder !important;font-size:200% !important}#navbar a.navbartitle:hover{text-decoration:none;color:#b48ead}#navbar #navbarlist li a{color:#eceff4;font-weight:bold;text-decoration:none}#navbar ul{display:block;list-style:none;margin:0;padding:0;text-align:right;font-size:0;letter-spacing:0}#navbar ul li{display:inline-block;font-size:14px;font-family:"Noto Sans","Open Sans",sans-serif !important;line-height:1.4;letter-spacing:0;padding-top:14px;padding-right:15px;padding-left:15px;margin:0}#navbar ul li a{color:#eceff4;font-weight:bold;text-decoration:none}#navbar ul li a:hover{color:#b48ead !important;text-decoration:none !important}@media screen and (max-width: 768px){#navbar label{display:inline-block;box-sizing:border-box;color:#eceff4;background:#b48ead;border-radius:0.2em;font-style:normal;text-align:center;margin-right:auto;margin-left:auto;font-size:1em;padding:0.5em 0;font-size:1em;width:2.2em;height:100%;float:right}#navbar ul{margin-left:0;margin-right:0;text-align:left}#navbar #navbarlist{margin-top:50px;display:none}#navbar #navbarlist li{box-sizing:border-box;border-top:1px solid var(--color-carbs-purple);display:block;width:100%;padding:0.5em}#navbar input:checked~#navbarlist{display:block}}footer{clear:both;margin-top:2em;background:#2e3440 none repeat scroll 0 0 !important;border-top:5px solid #b48ead !important;padding:10px 15px !important;bottom:0}footer p{text-align:center;color:#eceff4}.org-comment,.org-comment-delimiter{color:var(--color-carbs-grey);font-style:italic}.org-builtin{color:var(--color-carbs-blue)}.org-constant{color:var(--color-carbs-pink)}.org-doc{color:var(--color-carbs-grey)}.org-function-name{color:var(--color-carbs-blue)}.org-variable-name{color:var(--color-carbs-purple)}.org-keyword{color:var(--color-carbs-blue-alt)}.org-string{color:var(--color-carbs-green)}.org-type{color:var(--color-carbs-orange)}.org-warning{color:var(--color-carbs-red)}.chroma{background-color:var(--color-carbs-highlight)}.chroma .err{color:var(--color-carbs-red);background-color:#e3d2d2}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.chroma .hl{display:block;width:100%;background-color:#ffffcc}.chroma .lnt{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f}.chroma .ln{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f}.chroma .k{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kc{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kd{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kn{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kp{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kr{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kt{color:var(--color-carbs-blue);font-weight:bold}.chroma .na{color:var(--color-carbs-blue-alt)}.chroma .nb{color:var(--color-carbs-blue)}.chroma .bp{color:var(--color-carbs-grey)}.chroma .nc{color:var(--color-carbs-blue);font-weight:bold}.chroma .no{color:var(--color-carbs-blue-alt)}.chroma .nd{color:var(--color-carbs-blue-alt);font-weight:bold}.chroma .ni{color:var(--color-carbs-pink)}.chroma .ne{color:var(--color-carbs-red);font-weight:bold}.chroma .nf{color:var(--color-carbs-red);font-weight:bold}.chroma .nl{color:var(--color-carbs-red);font-weight:bold}.chroma .nn{color:var(--color-carbs-grey)}.chroma .nt{color:var(--color-carbs-blue)}.chroma .nv{color:var(--color-carbs-blue-alt)}.chroma .vc{color:var(--color-carbs-blue-alt)}.chroma .vg{color:var(--color-carbs-blue-alt)}.chroma .vi{color:var(--color-carbs-blue-alt)}.chroma .s{color:var(--color-carbs-red)}.chroma .sa{color:var(--color-carbs-red)}.chroma .sb{color:var(--color-carbs-red)}.chroma .sc{color:var(--color-carbs-red)}.chroma .dl{color:var(--color-carbs-red)}.chroma .sd{color:var(--color-carbs-red)}.chroma .s2{color:var(--color-carbs-red)}.chroma .se{color:var(--color-carbs-red)}.chroma .sh{color:var(--color-carbs-red)}.chroma .si{color:var(--color-carbs-red)}.chroma .sx{color:var(--color-carbs-red)}.chroma .sr{color:var(--color-carbs-green)}.chroma .s1{color:var(--color-carbs-red)}.chroma .ss{color:var(--color-carbs-pink)}.chroma .m{color:var(--color-carbs-blue-alt)}.chroma .mb{color:var(--color-carbs-blue-alt)}.chroma .mf{color:var(--color-carbs-blue-alt)}.chroma .mh{color:var(--color-carbs-blue-alt)}.chroma .mi{color:var(--color-carbs-blue-alt)}.chroma .il{color:var(--color-carbs-blue-alt)}.chroma .mo{color:var(--color-carbs-blue-alt)}.chroma .o{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .ow{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .c{color:var(--color-carbs-grey);font-style:italic}.chroma .ch{color:var(--color-carbs-grey);font-style:italic}.chroma .cm{color:var(--color-carbs-grey);font-style:italic}.chroma .c1{color:var(--color-carbs-grey);font-style:italic}.chroma .cs{color:var(--color-carbs-grey);font-weight:bold;font-style:italic}.chroma .cp{color:var(--color-carbs-grey);font-weight:bold;font-style:italic}.chroma .cpf{color:var(--color-carbs-grey);font-weight:bold;font-style:italic}.chroma .gd{color:var(--color-carbs-color-fg);background-color:#ffdddd}.chroma .ge{color:var(--color-carbs-color-fg);font-style:italic}.chroma .gr{color:var(--color-carbs-red)}.chroma .gh{color:var(--color-carbs-grey)}.chroma .gi{color:var(--color-carbs-color-fg);background-color:var(--color-carbs-green)}.chroma .go{color:var(--color-carbs-grey)}.chroma .gp{color:var(--color-carbs-grey)}.chroma .gs{font-weight:bold}.chroma .gu{color:var(--color-carbs-grey)}.chroma .gt{color:var(--color-carbs-red)}.chroma .gl{text-decoration:underline}.chroma .w{color:var(--color-carbs-grey)}#content{width:95%;margin:0 auto;margin-left:auto;margin-right:auto;text-align:left;max-width:50em} +/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,*::before,*::after{box-sizing:border-box}:root{-moz-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type='button'],[type='reset'],[type='submit']{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type='search']{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}:root{--color-carbs-color-bg:#fff;--color-carbs-color-fg:#3b4252;--color-carbs-highlight:#eceff4;--color-carbs-pink:#B48EAD;--color-carbs-purple:#97365B;--color-carbs-blue:#5e81ac;--color-carbs-blue-alt:#81a1c1;--color-carbs-red:#bf616a;--color-carbs-grey:#8b94a5;--color-carbs-green:#4F894C;--color-carbs-orange:#d08770}@media (prefers-color-scheme: dark){:root{--color-carbs-color-bg:#2e3440;--color-carbs-color-fg:#eceff4;--color-carbs-highlight:#3b4252;--color-carbs-pink:#b48ead;--color-carbs-purple:#b48ead;--color-carbs-blue:#81a1c1;--color-carbs-blue-alt:#88c0d0;--color-carbs-red:#bf616a;--color-carbs-grey:#6f7787;--color-carbs-green:#a3be8c;--color-carbs-orange:#d08770}}body{margin:0;background-color:var(--color-carbs-color-bg);font-family:"Noto Sans","Open Sans",sans-serif;font-size:16px;color:var(--color-carbs-color-fg);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}p,pre,li,dt,dd,table,code,address{line-height:1.5em}p{margin-top:1em;margin-bottom:1em}.subtitle{color:var(--color-carbs-color-fg);font-weight:normal;font-size:16px;font-style:italic}code,pre.src{padding:.2em .4em;margin:0;font-size:85%}code{background-color:var(--color-carbs-highlight);border-radius:3px}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover{text-decoration:none}h1{color:var(--color-carbs-pink);font-weight:800}h1 a:hover{color:#b48e9a}@media (prefers-color-scheme: dark){h1 a:hover{color:#b48e9a}}h2{color:var(--color-carbs-blue);font-weight:700}h2 a:hover{color:var(--color-carbs-purple)}h3{color:var(--color-carbs-color-fg);font-weight:600}h3 a:hover{color:var(--color-carbs-blue)}pre{font:monospace;border-radius:3px;border:1px solid var(--color-carbs-highlight);background-color:var(--color-carbs-highlight);padding:0.5em;margin:1em}pre code,pre.src{display:block;overflow:auto}pre code{background:transparent}a{text-decoration:none;font-weight:bold;color:var(--color-carbs-pink)}a:hover{text-decoration:underline;color:var(--color-carbs-blue-alt)}blockquote{border-left:1px solid var(--color-carbs-highlight);font-style:italic}#preamble{margin-bottom:2em}#titlebar{box-sizing:content-box;background:#2e3440 none repeat scroll 0 0 !important;min-height:40px;padding:10px 15px !important}#titlebar a.maintitle{margin:0 !important;padding:0 !important;color:#b48ead !important;float:left !important;font-weight:bolder !important;font-size:200% !important}#titlebar a.maintitle:hover{text-decoration:none;color:#b48ead}#navbar{background:#81a1c1 !important;clear:both;padding:.3em}#navbar #navbarlist li a{color:#eceff4;font-weight:bold;text-decoration:none}#navbar ul{vertical-align:middle;list-style:none;margin:0;padding:0;text-align:left;font-size:0;display:flex;justify-content:space-evenly}#navbar ul li{display:inline;text-align:justify;font-size:14px;font-family:"Noto Sans","Open Sans",sans-serif !important;line-height:1.4;letter-spacing:0;padding:0.7ex;margin:0}#navbar ul li a{color:#eceff4;font-weight:bold;text-decoration:none}#navbar ul li a:hover{color:#2e3440 !important;text-decoration:none !important}footer{clear:both;margin-top:2em;background:#2e3440 none repeat scroll 0 0 !important;border-top:5px solid #81a1c1 !important;padding:10px 15px !important;bottom:0}footer p{text-align:center;color:#eceff4}.org-comment,.org-comment-delimiter{color:var(--color-carbs-grey);font-style:italic}.org-builtin{color:var(--color-carbs-blue)}.org-constant{color:var(--color-carbs-pink)}.org-doc{color:var(--color-carbs-grey)}.org-function-name{color:var(--color-carbs-blue)}.org-variable-name{color:var(--color-carbs-purple)}.org-keyword{color:var(--color-carbs-blue-alt)}.org-string{color:var(--color-carbs-green)}.org-type{color:var(--color-carbs-orange)}.org-warning{color:var(--color-carbs-red)}.chroma{background-color:var(--color-carbs-highlight)}.chroma .err{color:var(--color-carbs-red);background-color:#e3d2d2}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.chroma .hl{display:block;width:100%;background-color:#ffffcc}.chroma .lnt{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f}.chroma .ln{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f}.chroma .k{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kc{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kd{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kn{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kp{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kr{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .kt{color:var(--color-carbs-blue);font-weight:bold}.chroma .na{color:var(--color-carbs-blue-alt)}.chroma .nb{color:var(--color-carbs-blue)}.chroma .bp{color:var(--color-carbs-grey)}.chroma .nc{color:var(--color-carbs-blue);font-weight:bold}.chroma .no{color:var(--color-carbs-blue-alt)}.chroma .nd{color:var(--color-carbs-blue-alt);font-weight:bold}.chroma .ni{color:var(--color-carbs-pink)}.chroma .ne{color:var(--color-carbs-red);font-weight:bold}.chroma .nf{color:var(--color-carbs-red);font-weight:bold}.chroma .nl{color:var(--color-carbs-red);font-weight:bold}.chroma .nn{color:var(--color-carbs-grey)}.chroma .nt{color:var(--color-carbs-blue)}.chroma .nv{color:var(--color-carbs-blue-alt)}.chroma .vc{color:var(--color-carbs-blue-alt)}.chroma .vg{color:var(--color-carbs-blue-alt)}.chroma .vi{color:var(--color-carbs-blue-alt)}.chroma .s{color:var(--color-carbs-red)}.chroma .sa{color:var(--color-carbs-red)}.chroma .sb{color:var(--color-carbs-red)}.chroma .sc{color:var(--color-carbs-red)}.chroma .dl{color:var(--color-carbs-red)}.chroma .sd{color:var(--color-carbs-red)}.chroma .s2{color:var(--color-carbs-red)}.chroma .se{color:var(--color-carbs-red)}.chroma .sh{color:var(--color-carbs-red)}.chroma .si{color:var(--color-carbs-red)}.chroma .sx{color:var(--color-carbs-red)}.chroma .sr{color:var(--color-carbs-green)}.chroma .s1{color:var(--color-carbs-red)}.chroma .ss{color:var(--color-carbs-pink)}.chroma .m{color:var(--color-carbs-blue-alt)}.chroma .mb{color:var(--color-carbs-blue-alt)}.chroma .mf{color:var(--color-carbs-blue-alt)}.chroma .mh{color:var(--color-carbs-blue-alt)}.chroma .mi{color:var(--color-carbs-blue-alt)}.chroma .il{color:var(--color-carbs-blue-alt)}.chroma .mo{color:var(--color-carbs-blue-alt)}.chroma .o{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .ow{color:var(--color-carbs-color-fg);font-weight:bold}.chroma .c{color:var(--color-carbs-grey);font-style:italic}.chroma .ch{color:var(--color-carbs-grey);font-style:italic}.chroma .cm{color:var(--color-carbs-grey);font-style:italic}.chroma .c1{color:var(--color-carbs-grey);font-style:italic}.chroma .cs{color:var(--color-carbs-grey);font-weight:bold;font-style:italic}.chroma .cp{color:var(--color-carbs-grey);font-weight:bold;font-style:italic}.chroma .cpf{color:var(--color-carbs-grey);font-weight:bold;font-style:italic}.chroma .gd{color:var(--color-carbs-color-fg);background-color:#ffdddd}.chroma .ge{color:var(--color-carbs-color-fg);font-style:italic}.chroma .gr{color:var(--color-carbs-red)}.chroma .gh{color:var(--color-carbs-grey)}.chroma .gi{color:var(--color-carbs-color-fg);background-color:var(--color-carbs-green)}.chroma .go{color:var(--color-carbs-grey)}.chroma .gp{color:var(--color-carbs-grey)}.chroma .gs{font-weight:bold}.chroma .gu{color:var(--color-carbs-grey)}.chroma .gt{color:var(--color-carbs-red)}.chroma .gl{text-decoration:underline}.chroma .w{color:var(--color-carbs-grey)}#content{width:95%;margin:0 auto;margin-left:auto;margin-right:auto;text-align:left;max-width:50em} diff --git a/sass/bar.scss b/sass/bar.scss index 57b06c4..5fae7e3 100644 --- a/sass/bar.scss +++ b/sass/bar.scss @@ -5,7 +5,10 @@ $bar-background-color: color-get('dark', 'carbs-color-bg') !default $bar-foreground-color: color-get('dark', 'carbs-color-fg') !default; $bar-carbs-pink: color-get('dark', 'carbs-pink') !default; -$bar-border: 5px solid $bar-carbs-pink !default; +$navbar-background-color: color-get('dark', 'carbs-blue') !default +$navbar-foreground-color: color-get('dark', 'carbs-color-fg') !default; + +$bar-border: 5px solid $navbar-background-color !default; $bar-font-size: 14px !default; $bar-font-text: $font-text !default; @@ -14,17 +17,16 @@ $bar-title-width: 190px; $bar-margin: 2em; -#preamble { margin-bottom: $bar-margin; } +#preamble { + margin-bottom: $bar-margin; +} -#navbar { +#titlebar { + box-sizing: content-box; background: $bar-background-color none repeat scroll 0 0 !important; - border-bottom: $bar-border !important; min-height: $bar-title-height; padding: 10px 15px !important; - - label, #hamburger { display: none; } - - a.navbartitle { + a.maintitle { margin: 0 !important; padding: 0 !important; color: $bar-carbs-pink !important; @@ -36,30 +38,36 @@ $bar-margin: 2em; color: $bar-carbs-pink; } } +} + +#navbar { + background: $navbar-background-color !important; + clear: both; + padding: .3em; #navbarlist li a { - color: $bar-foreground-color; + color: $navbar-foreground-color; font-weight: bold; text-decoration: none; } ul { - display: block; + vertical-align: middle; list-style: none; margin: 0; padding: 0; - text-align: right; + text-align: left; font-size: 0; - letter-spacing: 0; + display: flex; + justify-content: space-evenly; li { - display: inline-block; + display: inline; + text-align: justify; font-size: $bar-font-size; font-family: $bar-font-text !important; line-height: 1.4; letter-spacing: 0; - padding-top: 14px; - padding-right: 15px; - padding-left: 15px; + padding: 0.7ex; margin: 0; a { color: $bar-foreground-color; @@ -67,52 +75,13 @@ $bar-margin: 2em; text-decoration: none; } a:hover { - color: color-get('dark', 'carbs-purple') !important; + color: color-get('dark', 'carbs-color-bg') !important; text-decoration: none !important; } } } } -@media screen and (max-width: 768px) { - #navbar { - label { - display: inline-block; - box-sizing: border-box; - color: $bar-foreground-color; - background: $bar-carbs-pink; - border-radius: 0.2em; - font-style: normal; - text-align: center; - margin-right: auto; - margin-left: auto; - font-size: 1em; - padding: 0.5em 0; - font-size: 1em; - width: 2.2em; - height: 100%; - float: right; - } - ul { - margin-left: 0; - margin-right: 0; - text-align: left; - } - #navbarlist { - margin-top: $bar-title-height + 10; - li { - box-sizing: border-box; - border-top: 1px solid $carbs-purple; - display: block; - width: 100%; - padding: 0.5em; - } - display: none; - } - input:checked ~ #navbarlist { display: block; } - } -} - footer { clear: both; margin-top: $bar-margin; |