Update web/static/app.css
This commit is contained in:
parent
a17b2b7487
commit
0ad24f1a75
@ -87,6 +87,15 @@ code,kbd{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono
|
|||||||
.topbar-wrap{
|
.topbar-wrap{
|
||||||
border-bottom:1px solid var(--border);
|
border-bottom:1px solid var(--border);
|
||||||
background:#f8fafc;
|
background:#f8fafc;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1000; /* stay above menus/content */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* optional: add a shadow when scrolled */
|
||||||
|
.topbar-wrap.is-scrolled{
|
||||||
|
box-shadow: 0 4px 16px rgba(0,0,0,.08);
|
||||||
|
border-bottom-color: transparent;
|
||||||
}
|
}
|
||||||
.topbar{
|
.topbar{
|
||||||
max-width:1100px;margin:0 auto;padding:14px 16px;
|
max-width:1100px;margin:0 auto;padding:14px 16px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user