diff --git a/about.html b/about.html index 5b836da..4d3d7dc 100644 --- a/about.html +++ b/about.html @@ -21,6 +21,7 @@

About

+

InfoTren

diff --git a/base.css b/base.css index 63a6639..197f32e 100644 --- a/base.css +++ b/base.css @@ -72,10 +72,41 @@ footer .rsk { } header { + position: fixed; + left: env(titlebar-area-x, 0); + top: env(titlebar-area-y, 0); + width: env(titlebar-area-width, 100%); + height: env(titlebar-area-height, 36px); + -webkit-app-region: drag; + app-region: drag; + display: flex; align-items: center; } +.header-placeholder { + margin-top: env(titlebar-area-height, 36px); +} + +header.embedded { + background-color: #0000ff; + color: white; +} + +@media (display-mode: window-controls-overlay) { + header { + background-color: #0000ff; + color: white; + } + + header .back { + -webkit-app-region: no-drag; + app-region: no-drag; + + filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(83deg) brightness(104%) contrast(101%); + } +} + header .left, header .right { flex-grow: 1; flex-basis: 0; @@ -87,6 +118,13 @@ header .back { cursor: pointer; } +header.embedded .back { + -webkit-app-region: no-drag; + app-region: no-drag; + + filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(83deg) brightness(104%) contrast(101%); +} + h1 { font-size: 17px; font-weight: 400; diff --git a/index.html b/index.html index 5b87f32..3cbe8db 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,12 @@ -

InfoTren

+
+
+

InfoTren

+
+
+