Skip to content

Commit 5d95474

Browse files
committed
adjust-for-placement
1 parent 11a6fe1 commit 5d95474

File tree

1 file changed

+49
-51
lines changed

1 file changed

+49
-51
lines changed

common/common.scss

Lines changed: 49 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,71 @@
11
@use "lib/viewport";
22

33
// custom search banner customizations
4-
.welcome-banner {
5-
&.--location-above-topic-content .custom-search-banner-wrap {
6-
color: var(--primary);
7-
}
8-
9-
.custom-search-banner-wrap {
10-
color: var(--secondary);
11-
12-
.custom-search-banner-headline,
13-
h1 {
14-
line-height: var(--line-height-small);
15-
}
4+
.welcome-banner.--location-above-topic-content .custom-search-banner-wrap {
5+
color: var(--primary);
6+
}
167

17-
p {
18-
margin-top: 0.5em;
19-
margin-bottom: 2em;
20-
}
8+
.custom-search-banner-wrap {
9+
color: var(--secondary);
2110

22-
.btn {
23-
height: 100%;
24-
}
11+
.custom-search-banner-headline,
12+
h1 {
13+
line-height: var(--line-height-small);
14+
}
2515

26-
.search-menu input[type="text"] {
27-
border: 1px solid transparent;
28-
border-radius: 0.25em;
29-
min-height: 40px;
16+
p {
17+
margin-top: 0.5em;
18+
margin-bottom: 2em;
19+
}
3020

31-
&:focus {
32-
outline: 3px solid rgb(var(--primary-rgb), 0.35);
33-
}
34-
}
21+
.btn {
22+
height: 100%;
23+
}
3524

36-
.widget-link.show-help {
37-
color: rgb(var(--primary-rgb), 0.75);
38-
border-radius: 0.5em;
39-
padding: 0.5em;
40-
background-color: rgb(var(--secondary-rgb), 0.25);
25+
.search-menu input[type="text"] {
26+
border: 1px solid transparent;
27+
border-radius: 0.25em;
28+
min-height: 40px;
4129

42-
&:hover {
43-
color: var(--primary);
44-
}
30+
&:focus {
31+
outline: 3px solid rgb(var(--primary-rgb), 0.35);
4532
}
33+
}
4634

47-
.search-menu .search-input {
48-
border-color: var(--tertiary-hover);
49-
outline: 1px solid var(--tertiary-hover);
50-
}
35+
.widget-link.show-help {
36+
color: rgb(var(--primary-rgb), 0.75);
37+
border-radius: 0.5em;
38+
padding: 0.5em;
39+
background-color: rgb(var(--secondary-rgb), 0.25);
5140

52-
.results {
53-
top: 43px;
54-
border-radius: 0.25em;
41+
&:hover {
42+
color: var(--primary);
5543
}
44+
}
5645

57-
.search-context {
58-
top: 3.25em;
59-
right: 1em;
60-
}
46+
.search-menu .search-input {
47+
border-color: var(--tertiary-hover);
48+
outline: 1px solid var(--tertiary-hover);
6149
}
6250

63-
.search-input {
51+
.results {
52+
top: 43px;
6453
border-radius: 0.25em;
6554
}
6655

67-
.display-search-banner {
68-
#main-outlet {
69-
padding-top: 2em;
70-
}
56+
.search-context {
57+
top: 3.25em;
58+
right: 1em;
59+
}
60+
}
61+
62+
.search-input {
63+
border-radius: 0.25em;
64+
}
65+
66+
.display-search-banner {
67+
#main-outlet {
68+
padding-top: 2em;
7169
}
7270
}
7371

0 commit comments

Comments
 (0)