This repository was archived by the owner on Jul 1, 2024. It is now read-only.
File tree 2 files changed +40
-12
lines changed
2 files changed +40
-12
lines changed Original file line number Diff line number Diff line change
1
+ code-example {
2
+ display : block ;
3
+ margin-bottom : 1em ;
4
+ }
5
+
6
+ code-example pre {
7
+ border-top-left-radius : 0 ;
8
+ border-top-right-radius : 0 ;
9
+ }
10
+
1
11
.language-switcher {
2
- background : #ccc ;
3
- background : linear-gradient ( 0 deg , #aaa , #ddd ) ;
4
- border-top-left-radius : 0.5 em ;
5
- border-top-right-radius : 0.5 em ;
6
- color : #333 ;
12
+ border : 1 px solid $s-color-neutral6 ;
13
+ border-bottom : none ;
14
+ border-top-left-radius : 2 px ;
15
+ border-top-right-radius : 2 px ;
16
+ color : $s-color-neutral4 ;
7
17
font-size : 0.75em ;
8
- padding : 0.5em 1em ;
18
+ padding : 0.5em 1em 0 1 em ;
9
19
10
20
.code-example-title {
11
21
margin-right : 2em ;
12
22
}
13
23
14
24
.language-switcher--setter {
15
- border : 1px solid #aaa ;
16
- border-radius : 1em ;
25
+ border : none ;
26
+ background : transparent ;
27
+ color : $s-color-neutral5 ;
17
28
margin : 0 1em 0 0 ;
18
- padding : 0 0.65em ;
29
+ padding : 0 0.65em 0.4em 0.65em ;
30
+ }
31
+
32
+ .language-switcher--setter :not (.selected ):hover {
33
+ color : $s-color-neutral3 ;
34
+ border-bottom : 3px solid $s-color-neutral3 ;
19
35
}
20
36
21
37
.language-switcher--setter.selected {
22
- background : #aaa ;
23
- background : linear-gradient (180deg , #999 , #bbb );
24
- box-shadow : 1px 1px 1px rgba (0 , 0 , 0 , 0.5 ) inset ;
38
+ border-bottom : 3px solid $s-color-primary4 ;
39
+ color : $s-color-primary4 ;
25
40
}
26
41
}
27
42
Original file line number Diff line number Diff line change @@ -243,6 +243,19 @@ s-read-md .codeBlock {
243
243
color : red ;
244
244
}
245
245
246
+ // sequential navigation for multi-page docs (e.g. "get started")
247
+ .sequence-navigation {
248
+ overflow : hidden ;
249
+ margin : 2em 0 ;
250
+ }
251
+
252
+ .button--previous {
253
+ float : left ;
254
+ }
255
+
256
+ .button--next {
257
+ float : right ;
258
+ }
246
259
247
260
// Page specific comes after
248
261
@import ' landing0616' ;
You can’t perform that action at this time.
0 commit comments