File tree 5 files changed +39
-10
lines changed
packages/typescriptlang-org/src
5 files changed +39
-10
lines changed Original file line number Diff line number Diff line change 44
44
padding-left : 0 ;
45
45
margin-top : 0 ;
46
46
padding-top : 0 ;
47
- margin-right : 1em ;
47
+ // margin-right: 1em;
48
48
border : none ;
49
49
background-color : transparent ;
50
50
@media (prefers-color-scheme : dark ) {
Original file line number Diff line number Diff line change 1
1
@import " ../../style/globals.scss" ;
2
2
3
- $z-index-for-site-nav : 101 ;
4
- $z-index-for-handbook-nav : 100 ;
5
-
6
3
#small-device-button-sidebar {
7
4
display : none ;
8
5
}
@@ -30,7 +27,7 @@ nav#sidebar {
30
27
border-bottom : 1px solid #dfdfdf ;
31
28
32
29
@media (prefers-color-scheme : dark ) {
33
- border-color : black ;
30
+ border-color : #3e3e3e ;
34
31
}
35
32
font-weight : 400 ;
36
33
font-size : 1rem ;
@@ -54,6 +51,13 @@ nav#sidebar {
54
51
color : white ;
55
52
}
56
53
54
+ @media (prefers-color-scheme : dark ) {
55
+ .open path ,
56
+ .closed path {
57
+ stroke : white ;
58
+ }
59
+ }
60
+
57
61
& :active ,
58
62
& :focus {
59
63
color : black ;
@@ -178,7 +182,7 @@ nav#sidebar {
178
182
padding-top : 2px ;
179
183
padding-left : 9px ;
180
184
181
- z-index : $z-index-for-site -nav ;
185
+ z-index : $z-index-for-handbook -nav ;
182
186
183
187
// Reset the button
184
188
-webkit-appearance : none ;
Original file line number Diff line number Diff line change 169
169
transition : bottom 0.3s ease , opacity 0.2s linear , visibility 0s linear ;
170
170
opacity : 1 ;
171
171
z-index : 123 ;
172
+ color : black ;
172
173
173
174
.section-content {
174
175
display : flex ;
176
+
177
+ .section-list li {
178
+ margin-top : 4px ;
179
+ }
175
180
}
176
181
177
182
.arrow-down {
178
183
width : 0 ;
179
184
height : 0 ;
180
185
border-left : 10px solid transparent ;
181
186
border-right : 10px solid transparent ;
182
- border-top : 14px solid white ;
187
+ border-top : 14px solid $ts-light-bg-grey-highlight-color ;
188
+
189
+ @media (prefers-color-scheme : dark ) {
190
+ border-top : 14px solid $ts-dark-bg-for-foreground-color ;
191
+ }
192
+
183
193
margin : 0 auto ;
184
194
margin-bottom : 20px ;
185
195
position : relative ;
195
205
border-bottom : 1px solid $ts-main-blue-darker-color ;
196
206
border-radius : 0 ;
197
207
}
208
+
209
+ a {
210
+ color : $ts-main-blue-color ;
211
+ text-decoration : none ;
212
+ }
198
213
}
Original file line number Diff line number Diff line change 45
45
46
46
#home-page-logo {
47
47
width : 200px ;
48
- font-size : 1.2rem ;
49
48
font-weight : 600 ;
49
+ font-size : 1.5rem ;
50
50
51
51
svg {
52
52
margin-right : 0.6rem ;
53
53
margin-left : 1rem ;
54
- margin-top : 0.48 rem ;
54
+ margin-top : 0.55 rem ;
55
55
}
56
56
57
57
span {
58
58
position : relative ;
59
59
top : -0.5rem ;
60
+ margin-right : 0.2rem ;
60
61
text-decoration : none ;
61
62
}
62
63
}
@@ -113,7 +114,12 @@ form.search {
113
114
114
115
input {
115
116
-webkit-appearance : none ;
116
- background-color : $ts-main-blue-darkest-color ;
117
+ background-color : $ts-main-blue-darker-color ;
118
+
119
+ @media (prefers-color-scheme : dark ) {
120
+ background-color : $ts-main-blue-darkest-color ;
121
+ }
122
+
117
123
border-color : #152740 ;
118
124
border-radius : 0 ;
119
125
border : none ;
Original file line number Diff line number Diff line change @@ -34,3 +34,7 @@ $screen-md-min: $screen-md;
34
34
// So media queries don't overlap when required, provide a maximum
35
35
$screen-xs-max : ($screen-sm-min - 1 );
36
36
$screen-sm-max : ($screen-md-min - 1 );
37
+
38
+ $z-index-for-search : 100 ;
39
+ $z-index-for-site-nav : 101 ;
40
+ $z-index-for-handbook-nav : 99 ;
You can’t perform that action at this time.
0 commit comments