Skip to content

Commit ce39d19

Browse files
Scarlett ElizaJochum van der Ploeg
andauthored
feat: update get started button in nav (#127)
* feat: update get started button in nav * pana * Update site/src/css/custom.css Co-authored-by: Jochum van der Ploeg <[email protected]> --------- Co-authored-by: Jochum van der Ploeg <[email protected]>
1 parent f432b46 commit ce39d19

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ jobs:
2525
verify-pana-dart:
2626
uses: ./.github/workflows/pana.yml
2727
with:
28+
pana_version: 0.21.32
2829
min_score: 95
2930
working_directory: examples/dart_package
3031

3132
verify-pana-flutter:
3233
uses: ./.github/workflows/pana.yml
3334
with:
35+
pana_version: 0.21.32
3436
min_score: 95
3537
working_directory: examples/flutter_package
3638

site/src/css/custom.css

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,25 @@ html[data-theme='dark'] .navbar-vgv-icon:before {
126126

127127
@media screen and (max-width: 996px) {
128128
.nav-button {
129-
color: var(--ifm-button-color);
130-
background-color: var(--ifm-color-primary);
131-
max-width: 8em;
129+
background-color: var(--colors-white);
130+
color: var(--ifm-menu-color);
131+
font-size: 1em;
132+
font-weight: 300;
133+
padding: 4px 12px;
134+
}
135+
136+
.nav-button:hover {
137+
color: var(--ifm-menu-color);
138+
background-color: var(--ifm-menu-color-background-hover);
139+
}
140+
141+
html[data-theme='dark'] .nav-button {
142+
background-color: var(--ifm-navbar-background-color);
143+
color: var(--ifm-menu-color);
144+
}
145+
146+
html[data-theme='dark'] .nav-button:hover {
147+
background-color: var(--ifm-menu-color-background-hover);
148+
color: var(--ifm-menu-color);
132149
}
133150
}

0 commit comments

Comments
 (0)