diff --git a/gno.land/pkg/gnoweb/static/css/app.css b/gno.land/pkg/gnoweb/static/css/app.css index 1ddd261a882..2cc711f7f80 100644 --- a/gno.land/pkg/gnoweb/static/css/app.css +++ b/gno.land/pkg/gnoweb/static/css/app.css @@ -48,7 +48,8 @@ html[data-theme="light"] { --quote-background: #ddd; --quote-2-background: #aaa4; --code-background: #d7d9db; - --header-background: #d7d9db; + --header-background: #6b6d73; + --header-forground: #ffffff; --realm-help-background-color: #d7d9db9e; --realm-help-odd-background-color: #d7d9db45; @@ -84,7 +85,8 @@ html[data-theme="dark"] { --quote-background: #404040; --quote-2-background: #555555; --code-background: #606060; - --header-background: #606060; + --header-background: #6b6d73; + --header-forground: #ffffff; --realm-help-background-color: #45454545; --realm-help-odd-background-color: #4545459e; @@ -108,14 +110,13 @@ html[data-theme="dark"] { --highlight-addition: #76c490; } -html[data-theme="dark"] #header img, -html[data-theme="dark"] .footer img { - filter: invert(1); -} +.logo-wording path {fill: var(--header-forground, #ffffff); } +.logo-beard { fill: var(--header-forground, #ffffff); } #theme-toggle { display: inline-block; padding: 0; + color: var(--header-forground, #ffffff); } html[data-theme="dark"] #theme-toggle-moon, @@ -147,8 +148,8 @@ html, body { padding: 0; margin: 0; - font-family: "Roboto Mono", "Courier New", "sans-serif"; - background-color: var(--background-color, #eee); + font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", + "Segoe UI Symbol", "Noto Color Emoji"; background-color: var(--background-color, #eee); color: var(--text-color, #000); font-size: 15px; transition: 0.25s all ease; @@ -159,8 +160,7 @@ h2, h3, h4, nav { - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", - "Segoe UI Symbol", "Noto Color Emoji"; + font-weight: 600; letter-spacing: 0.08rem; } @@ -248,7 +248,6 @@ li > * { } input { - font-family: "Roboto Mono", "Monaco", monospace; background-color: var(--input-background-color, #eee); border: 1px solid var(--border-color); color: var(--text-color, #000); @@ -266,6 +265,9 @@ blockquote blockquote { background-color: var(--quote-2-background, #aaa4); } +pre, code { + font-family: "Roboto Mono", "Courier New", "sans-serif"; +} pre { background-color: var(--code-background, #d7d9db); margin: 0; @@ -338,13 +340,16 @@ code { } .footer { + text-align: center; margin-block-start: 2rem; background-color: var(--header-background, #d7d9db); border-top: 1px solid var(--border-color); } -.footer > img { + +.footer > .logo { display: block; - margin: 1rem auto; + margin: 1rem; + height: 1.2rem; } /** 51.2rem **/ @@ -488,15 +493,19 @@ code { flex-grow: 2; } -#logo { +#header .logo { display: flex; align-items: center; color: var(--link-color, #25172a); position: absolute; - height: 3rem; + height: 2.4rem; z-index: 2; } +.logo > svg { + height: 100%; +} + #logo_path a { text-decoration: none; } @@ -610,7 +619,7 @@ code { height: 0.133rem; margin-bottom: 0.333rem; position: relative; - background: var(--text-color, #000); + background: var(--header-forground, #ffffff); z-index: 1; transform-origin: 50% 50%; /* transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease; */ @@ -670,6 +679,11 @@ code { display: flex; flex-direction: column; margin-bottom: 2rem; + margin-top: .8rem; +} + +#menu-toggle > .navigation a { + color: var(--header-forground, #ffffff); } #menu-toggle input:checked ~ .navigation { diff --git a/gno.land/pkg/gnoweb/static/img/logo.png b/gno.land/pkg/gnoweb/static/img/logo.png deleted file mode 100644 index 667d07a793e..00000000000 Binary files a/gno.land/pkg/gnoweb/static/img/logo.png and /dev/null differ diff --git a/gno.land/pkg/gnoweb/static/img/logo.svg b/gno.land/pkg/gnoweb/static/img/logo.svg deleted file mode 100644 index e201882e4e1..00000000000 --- a/gno.land/pkg/gnoweb/static/img/logo.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/gno.land/pkg/gnoweb/views/faucet.html b/gno.land/pkg/gnoweb/views/faucet.html index 066596f7145..0c686367fa4 100644 --- a/gno.land/pkg/gnoweb/views/faucet.html +++ b/gno.land/pkg/gnoweb/views/faucet.html @@ -7,7 +7,7 @@
- +
This is the Gno.land (test) {{ if .Data.Config.CaptchaSite }} diff --git a/gno.land/pkg/gnoweb/views/funcs.html b/gno.land/pkg/gnoweb/views/funcs.html index 74952eac52d..b9dba087d9d 100644 --- a/gno.land/pkg/gnoweb/views/funcs.html +++ b/gno.land/pkg/gnoweb/views/funcs.html @@ -117,15 +117,28 @@ {{- end -}} -{{- define "header_logo" -}} - -{{- end -}} +{{- end -}} {{- define "footer" -}}
- Gno.land + {{ template "logo" }}
{{- end -}} diff --git a/gno.land/pkg/gnoweb/views/generic.html b/gno.land/pkg/gnoweb/views/generic.html index e671625e26a..5bcd14c3a46 100644 --- a/gno.land/pkg/gnoweb/views/generic.html +++ b/gno.land/pkg/gnoweb/views/generic.html @@ -7,7 +7,7 @@
- +
           {{- .Data.MainContent -}}
diff --git a/gno.land/pkg/gnoweb/views/package_dir.html b/gno.land/pkg/gnoweb/views/package_dir.html
index efaf4d7ad0c..793ebd40b84 100644
--- a/gno.land/pkg/gnoweb/views/package_dir.html
+++ b/gno.land/pkg/gnoweb/views/package_dir.html
@@ -7,7 +7,7 @@
   
   
     
- + diff --git a/gno.land/pkg/gnoweb/views/package_file.html b/gno.land/pkg/gnoweb/views/package_file.html index 71aa8b68452..42e1d0a28fc 100644 --- a/gno.land/pkg/gnoweb/views/package_file.html +++ b/gno.land/pkg/gnoweb/views/package_file.html @@ -7,7 +7,7 @@
- +
{{ .Data.DirPath }}/{{ .Data.FileName }}
diff --git a/gno.land/pkg/gnoweb/views/realm_help.html b/gno.land/pkg/gnoweb/views/realm_help.html index 85d5571cdaf..0c8e5e4d88e 100644 --- a/gno.land/pkg/gnoweb/views/realm_help.html +++ b/gno.land/pkg/gnoweb/views/realm_help.html @@ -8,7 +8,7 @@
- + diff --git a/gno.land/pkg/gnoweb/views/realm_render.html b/gno.land/pkg/gnoweb/views/realm_render.html index 6337d77aafa..9a4507777a6 100644 --- a/gno.land/pkg/gnoweb/views/realm_render.html +++ b/gno.land/pkg/gnoweb/views/realm_render.html @@ -7,7 +7,7 @@
- +