-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from starknet-io/dev-survey-banner
Docs survey banner
- Loading branch information
Showing
7 changed files
with
188 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div class="background"> | ||
<div class="top-announcement-bar d-flex"> | ||
<p class="announcement-bar-title body-large-strong">📣 The 1st ever Starknet Docs survey is open! 📣</p> | ||
<a class="announcement-bar-cta body-xsmall-strong" href="https://forms.reform.app/starkware/starknet-docs-survey/9odpkk" target="_blank"> Click here to make your voice heard 🗳️</a> | ||
<!-- | ||
<button class="top-ann-bar-close"> | ||
<svg width="10" height="10" viewBox="0 0 10 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M1.28033 0.219792C0.987437 -0.0731012 0.512563 -0.0731012 0.21967 0.219792C-0.0732233 0.512685 -0.0732233 0.987559 0.21967 1.28045L3.93934 5.00012L0.21967 8.71979C-0.0732233 9.01268 -0.0732233 9.48756 0.21967 9.78045C0.512563 10.0733 0.987437 10.0733 1.28033 9.78045L5 6.06078L8.71967 9.78045C9.01256 10.0733 9.48744 10.0733 9.78033 9.78045C10.0732 9.48756 10.0732 9.01268 9.78033 8.71979L6.06066 5.00012L9.78033 1.28045C10.0732 0.987559 10.0732 0.512685 9.78033 0.219792C9.48744 -0.0731012 9.01256 -0.0731012 8.71967 0.219792L5 3.93946L1.28033 0.219792Z" fill="currentColor"/> | ||
</svg> | ||
</button> | ||
--> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{{> header-scripts}} | ||
{{> header-content}} | ||
{{> toolbar}} | ||
{{> developer_survey_link}} |