diff --git a/build/ui-bundle.zip b/build/ui-bundle.zip deleted file mode 100644 index f81aa87..0000000 Binary files a/build/ui-bundle.zip and /dev/null differ diff --git a/src/css/dark-site.css b/src/css/dark-site.css index 2043f4d..3110075 100644 --- a/src/css/dark-site.css +++ b/src/css/dark-site.css @@ -30,4 +30,5 @@ @import "extensions/custom-dark.css"; @import "extensions/algolia/theme.css"; @import "extensions/algolia/overrides.css"; -@import "extensions/algolia/overrides-dark.css"; \ No newline at end of file +@import "extensions/algolia/overrides-dark.css"; +@import "dev-survey-dark.css" diff --git a/src/css/dev-survey-dark.css b/src/css/dev-survey-dark.css new file mode 100644 index 0000000..266f07d --- /dev/null +++ b/src/css/dev-survey-dark.css @@ -0,0 +1,85 @@ +/*--bg-banner: #0C0C4F;*/ + +div.background { +background-color: #A4A4EA; +} + +.top-announcement-bar { + display: grid; + justify-content: center; + align-items: center; + width: 100%; + gap: 6px; + padding: 6px 6px; + background-color: #A4A4EA; +/* background-color: var(--bg-banner); */ + margin: auto; +/* margin: auto;*/ + /* width: 50%; */ +} + +/* .d-flex { + display: flex; +} */ + +p.announcement-bar-title { +/* color: var(--text-primary-inverted); */ + color: #0C0C4FFF; + text-align: center; + margin: 6px; +/* margin-left: auto;*/ +} + +.body-large-strong { + font: 600 16px/1.5 "Inter", sans-serif; +/* font: 600 14px/1.5 var(--font-Inter);*/ +} + +.body-xsmall-strong { + font: 600 14px/1.5 "Inter", sans-serif; +/* font: 600 14px/1.5 var(--font-Inter);*/ +} + +a.announcement-bar-cta { + padding: 6px 16px; +/* color: var(--text-primary); */ + color: #FFFFFF; +/* background-color: var(--surface-card); */ + background-color: #1B1B1B; + border-radius: 8px; + text-align: center; + margin-bottom: 6px; + text-decoration: none; +} + +button.top-ann-bar-close { + background: none; + margin-left: auto; +} + +button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background) { + color: #ffffff; +} + +a, button, input { + transition: color .1s ease-in-out,background-color .1s ease-in-out; +} + +button, input[type=button], input[type=reset], input[type=submit] { + border: 1px solid transparent; + cursor: pointer; + -webkit-appearance: button; + padding: 10px 20px; +} + +body, button, input, select, textarea { + font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-weight: 400; + text-transform: none; + font-size: 17px; + line-height: 1.5; +} + +button, input, optgroup, select, textarea { + margin: 0; +} diff --git a/src/css/dev-survey-light.css b/src/css/dev-survey-light.css new file mode 100644 index 0000000..97f4432 --- /dev/null +++ b/src/css/dev-survey-light.css @@ -0,0 +1,85 @@ +/*--bg-banner: #0C0C4F;*/ + +div.background { +background-color: #0C0C4F; +} + +.top-announcement-bar { + display: grid; + justify-content: center; + align-items: center; + width: 100%; + gap: 6px; + padding: 6px 6px; + background-color: #0C0C4F; +/* background-color: var(--bg-banner); */ + margin: auto; +/* margin: auto;*/ + /* width: 50%; */ +} + +/* .d-flex { + display: flex; +} */ + +p.announcement-bar-title { +/* color: var(--text-primary-inverted); */ + color: #FFFFFF; + text-align: center; + margin: 6px; +/* margin-left: auto;*/ +} + +.body-large-strong { + font: 600 16px/1.5 "Inter", sans-serif; +/* font: 600 14px/1.5 var(--font-Inter);*/ +} + +.body-xsmall-strong { + font: 600 14px/1.5 "Inter", sans-serif; +/* font: 600 14px/1.5 var(--font-Inter);*/ +} + +a.announcement-bar-cta { + padding: 6px 16px; +/* color: var(--text-primary); */ + color: #0C0C4F; +/* background-color: var(--surface-card); */ + background-color: #FFFFFF; + border-radius: 8px; + text-align: center; + margin-bottom: 6px; + text-decoration: none; +} + +button.top-ann-bar-close { + background: none; + margin-left: auto; +} + +button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background) { + color: #ffffff; +} + +a, button, input { + transition: color .1s ease-in-out,background-color .1s ease-in-out; +} + +button, input[type=button], input[type=reset], input[type=submit] { + border: 1px solid transparent; + cursor: pointer; + -webkit-appearance: button; + padding: 10px 20px; +} + +body, button, input, select, textarea { + font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-weight: 400; + text-transform: none; + font-size: 17px; + line-height: 1.5; +} + +button, input, optgroup, select, textarea { + margin: 0; +} diff --git a/src/css/site.css b/src/css/site.css index 966bdbe..e1cbcad 100644 --- a/src/css/site.css +++ b/src/css/site.css @@ -28,4 +28,5 @@ @import "extensions/custom-light.css"; @import "extensions/page-components.css"; @import "extensions/algolia/theme.css"; -@import "extensions/algolia/overrides.css"; \ No newline at end of file +@import "extensions/algolia/overrides.css"; +@import "dev-survey-light.css" diff --git a/src/partials/developer_survey_link.hbs b/src/partials/developer_survey_link.hbs new file mode 100644 index 0000000..9dc8b1c --- /dev/null +++ b/src/partials/developer_survey_link.hbs @@ -0,0 +1,13 @@ +
+
+

📣 The 1st ever Starknet Docs survey is open! 📣

+ Click here to make your voice heard 🗳️ + +
+
diff --git a/src/partials/header.hbs b/src/partials/header.hbs index fd29a37..2abda3d 100644 --- a/src/partials/header.hbs +++ b/src/partials/header.hbs @@ -1,3 +1,4 @@ {{> header-scripts}} {{> header-content}} {{> toolbar}} +{{> developer_survey_link}}