58d4ce653c75ed62ac489dd51df4d492a44a077b
custom.css
| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | +/* Synergy Technologies branding for the SynergyDB wiki */ |
|
| 2 | +:root{--st-navy:#0F1E4A;--st-cyan:#06A3DA;--st-grey:#5B6475;--st-line:#E3E7EE} |
|
| 3 | +body{font-family:Carlito,Calibri,"Segoe UI",system-ui,sans-serif;color:var(--st-navy)} |
|
| 4 | +a,.markdown-body a{color:var(--st-cyan)} |
|
| 5 | +#st-brand{background:var(--st-navy);color:#fff;border-bottom:3px solid var(--st-cyan)} |
|
| 6 | +#st-brand .st-wrap{max-width:1280px;margin:0 auto;padding:0 24px;height:64px;display:flex;align-items:center;justify-content:space-between} |
|
| 7 | +#st-brand a{color:#fff;text-decoration:none;font-weight:700} |
|
| 8 | +#st-brand .st-logo{display:flex;align-items:center;gap:12px;font-size:18px} |
|
| 9 | +#st-brand .st-logo img{height:34px;background:#fff;border-radius:4px;padding:3px 6px} |
|
| 10 | +#st-brand .st-logo span{color:var(--st-cyan)} |
|
| 11 | +#st-brand nav a{margin-left:22px;font-weight:600;color:#C9D1E3} |
|
| 12 | +#st-brand nav a:hover{color:#fff} |
|
| 13 | +.markdown-body h1,.markdown-body h2{color:var(--st-navy);border-bottom-color:var(--st-line)} |
|
| 14 | +.btn-primary{background:var(--st-cyan)!important;border-color:var(--st-cyan)!important} |
|
| 15 | +#st-foot{margin-top:48px;background:var(--st-navy);color:#C9D1E3;padding:22px 0;font-size:14px} |
|
| 16 | +#st-foot .st-wrap{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px} |
|
| 17 | +#st-foot a{color:#fff} |
|
| 18 | +@media(max-width:760px){#st-brand nav a:not(:first-child){display:none}} |
custom.js
| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | +// Synergy Technologies branding for the SynergyDB wiki |
|
| 2 | +(function(){ |
|
| 3 | + function brand(){ |
|
| 4 | + if(document.getElementById('st-brand')) return; |
|
| 5 | + var h=document.createElement('div');h.id='st-brand'; |
|
| 6 | + h.innerHTML='<div class="st-wrap"><a class="st-logo" href="/"><img src="/logo.png" alt="Synergy Technologies">SynergyDB <span>Docs</span></a>'+ |
|
| 7 | + '<nav><a href="/wiki/">Home</a><a href="/wiki/guide/02-quickstart.md">Quickstart</a><a href="/wiki/wires/index.md">Wires</a><a href="https://synergytech.cloud">Synergy Technologies</a></nav></div>'; |
|
| 8 | + document.body.insertBefore(h,document.body.firstChild); |
|
| 9 | + var f=document.createElement('div');f.id='st-foot'; |
|
| 10 | + f.innerHTML='<div class="st-wrap"><span>© '+new Date().getFullYear()+' Synergy Technologies. SynergyDB documentation.</span><a href="https://synergytech.cloud">synergytech.cloud</a></div>'; |
|
| 11 | + document.body.appendChild(f); |
|
| 12 | + if(document.title.indexOf('Synergy')<0) document.title=document.title+' | SynergyDB Docs by Synergy Technologies'; |
|
| 13 | + } |
|
| 14 | + if(document.readyState==='loading') document.addEventListener('DOMContentLoaded',brand); else brand(); |
|
| 15 | +})(); |