diff --git a/cmd/mavweb/static/index.html b/cmd/mavweb/static/index.html index 1ba1fd1..4cecdae 100644 --- a/cmd/mavweb/static/index.html +++ b/cmd/mavweb/static/index.html @@ -15,6 +15,8 @@ nav{display:flex;background:#1a1a2e;border-bottom:1px solid #333;flex-shrink:0} nav button{flex:1;padding:.6rem;background:none;border:none;color:#666;font-size:.85rem;cursor:pointer;font-family:inherit;letter-spacing:.05em;text-transform:uppercase;transition:color .15s;-webkit-tap-highlight-color:transparent} nav button.active{color:#00aaff;border-bottom:2px solid #00aaff} nav button:hover{color:#ddd} +nav .lang{flex:0 0 auto;padding:.6rem .8rem;font-size:.75rem;color:#555;cursor:pointer;letter-spacing:.1em} +nav .lang.active{color:#00aaff} .tab{display:none;flex-direction:column;align-items:center;flex:1;overflow:auto;padding:1rem} .tab.active{display:flex} @@ -33,19 +35,24 @@ h1{font-size:1.2rem;font-weight:400;color:#888;letter-spacing:.1em;text-transfor #dash-frame{width:100%;flex:1;border:none;background:#111;min-height:0} -/* cheatsheet — temporary reference while testing command lines */ #cheat{width:100%;max-width:480px;font-size:.8rem;border-top:1px solid #222;color:#888} #cheat summary{cursor:pointer;padding:.5rem 0;color:#00aaff;letter-spacing:.05em;text-transform:uppercase;font-size:.75rem;user-select:none} #cheat dl{display:grid;grid-template-columns:auto 1fr;gap:.35rem .8rem;padding:.25rem 0 .5rem} #cheat dt{color:#00ff88;font-weight:600;white-space:nowrap} #cheat dd{color:#aaa;line-height:1.5} #cheat dd span{color:#555} +.cheat-en{display:revert} +.cheat-ru{display:none} +html[data-lang=ru] .cheat-en { display: none; } +html[data-lang=ru] .cheat-ru { display: revert; }