File tree Expand file tree Collapse file tree 3 files changed +57
-42
lines changed Expand file tree Collapse file tree 3 files changed +57
-42
lines changed Original file line number Diff line number Diff line change @@ -54,21 +54,27 @@ <h1>{{page.headerTitle}}</h1>
54
54
< div class ="resources ">
55
55
< div class ="get-started ">
56
56
< a href ="{{page.gettingStarted.mainUrl}} " class ="button "> {{page.gettingStarted.mainTitle | upcase}}</ a >
57
- < ul >
58
- < li > < a href ="{{page.gettingStarted.subtitleLink}} "> {{page.gettingStarted.subtitle}}</ a > </ li >
59
- {% for link in page.gettingStarted.links %}
60
- < li > < a href ="{{link.url}} "> {{link.title}}</ a > </ li >
61
- {% endfor %}
62
- </ ul >
57
+ < div class ="sublinks ">
58
+ < ul >
59
+ < li > < a href ="{{page.gettingStarted.subtitleLink}} "> {{page.gettingStarted.subtitle}}</ a > </ li >
60
+ {% for link in page.gettingStarted.links %}
61
+ < li > •</ li >
62
+ < li > < a href ="{{link.url}} "> {{link.title}}</ a > </ li >
63
+ {% endfor %}
64
+ </ ul >
65
+ </ div >
63
66
</ div >
64
67
< div class ="learn-scala ">
65
68
< a href ="{{page.apiDocs.mainUrl}} " class ="button "> {{page.apiDocs.mainTitle | upcase}}</ a >
66
- < ul >
67
- < li > < a href ="{{page.apiDocs.subtitleLink}} "> {{page.apiDocs.subtitle}}</ a > </ li >
68
- {% for link in page.apiDocs.links %}
69
- < li > < a href ="{{link.url}} "> {{link.title}}</ a > </ li >
70
- {% endfor %}
71
- </ ul >
69
+ < div class ="sublinks ">
70
+ < ul >
71
+ < li > < a href ="{{page.apiDocs.subtitleLink}} "> {{page.apiDocs.subtitle}}</ a > </ li >
72
+ {% for link in page.apiDocs.links %}
73
+ < li > •</ li >
74
+ < li > < a href ="{{link.url}} "> {{link.title}}</ a > </ li >
75
+ {% endfor %}
76
+ </ ul >
77
+ </ div >
72
78
</ div >
73
79
< div class ="scala-brand-circle ">
74
80
< div class ="circle-solid ">
Original file line number Diff line number Diff line change 3
3
// ------------------------------------------------
4
4
5
5
.scala-main-resources {
6
- height : 200 px ;
6
+ height : 100 px ;
7
7
background : $gray-darker ;
8
8
position : relative ;
9
9
69
69
margin-top : -48px ;
70
70
71
71
ul {
72
+ @include display (flex );
73
+ @include align-items (center );
72
74
margin-top : 12px ;
73
- max-width : 180px ;
74
75
text-align : center ;
75
76
76
77
li {
77
- & :first-child {
78
- border-bottom : $base-border-white ;
79
- font-family : $heading-font-family ;
80
- padding-bottom : 4px ;
81
- margin-bottom : 2px ;
82
- font-weight : $font-bold ;
83
-
84
- a {
85
- font-size : $font-size-large ;
86
- }
87
- }
78
+ display : inline-block ;
79
+ font-family : $heading-font-family ;
80
+ padding-bottom : 4px ;
81
+ margin-bottom : 2px ;
82
+ margin-right : 7px ;
83
+ font-weight : $font-bold ;
88
84
89
85
a {
90
86
color : rgba (#fff , 0.90 );
101
97
}
102
98
}
103
99
100
+ .get-started {
101
+ .sublinks {
102
+ max-width : 180px ;
103
+ }
104
+ }
105
+
104
106
.learn-scala {
105
- ul {
107
+ .sublinks {
106
108
float : right ;
107
109
}
108
110
}
113
115
left : 50% ;
114
116
top : -142px ;
115
117
margin-left : -140px ;
116
- background : rgba ($gray-darker , 0.4 );
117
- border-radius : 100% ;
118
118
position : absolute ;
119
119
z-index : 60 ;
120
120
@include display (flex );
123
123
124
124
.circle-solid {
125
125
background : $gray-darker ;
126
- width : 198 px ;
127
- height : 198 px ;
126
+ width : 205 px ;
127
+ height : 205 px ;
128
128
border-radius : 100% ;
129
129
text-align : center ;
130
130
131
131
> img {
132
132
width : 152px ;
133
133
height : auto ;
134
- margin-top : -40 px ;
134
+ margin-top : -36 px ;
135
135
}
136
136
137
137
.scala-version {
167
167
168
168
.resources {
169
169
.get-started {
170
- margin-top : 180 px ;
170
+ margin-top : 110 px ;
171
171
}
172
172
173
173
.learn-scala {
174
174
margin-top : 40px ;
175
175
}
176
176
177
+ .get-started {
178
+ .sublinks {
179
+ max-width : 100% ;
180
+ }
181
+ }
182
+
183
+ .learn-scala {
184
+ .sublinks {
185
+ float : none ;
186
+ }
187
+ }
188
+
177
189
.learn-scala ,
178
190
.get-started {
179
191
@include span-columns (12 );
186
198
}
187
199
188
200
ul {
201
+ @include span-columns (8 );
202
+ @include shift (2 );
189
203
max-width : 100% ;
190
204
float : none ;
205
+ align-items : center ;
191
206
}
192
207
}
193
208
Original file line number Diff line number Diff line change @@ -11,27 +11,21 @@ headerButtonUrl: "/what-is-scala/"
11
11
gettingStarted :
12
12
mainTitle : " Get Started"
13
13
mainUrl : " https://docs.scala-lang.org/getting-started.html"
14
- subtitle : " All Scala Releases"
14
+ subtitle : " All Releases"
15
15
subtitleLink : " /download/all.html"
16
16
links :
17
- - title : " API Documentation"
18
- url : " https://www.scala-lang.org/api/current/?_ga=1.241039811.1310790544.1468501313"
19
- - title : " API Docs (All Releases)"
17
+ - title : " API Docs"
20
18
url : " https://docs.scala-lang.org/api/all.html"
21
- - title : " Language Specification"
22
- url : " https://scala-lang.org/files/archive/spec/2.13/"
23
19
apiDocs :
24
20
mainTitle : " Learn Scala"
25
21
mainUrl : " https://docs.scala-lang.org"
26
22
subtitle : " Scala Book"
27
23
subtitleLink : " https://docs.scala-lang.org/scala3/book/introduction.html"
28
24
links :
29
- - title : " Tour of Scala "
25
+ - title : " Tour"
30
26
url : " https://docs.scala-lang.org/tour/tour-of-scala.html"
31
- - title : " Online Courses"
27
+ - title : " Courses"
32
28
url : " https://docs.scala-lang.org/online-courses.html"
33
- - title : " Scala 3 Reference"
34
- url : " https://docs.scala-lang.org/scala3/reference/overview.html"
35
29
36
30
37
31
# Scala backends
You can’t perform that action at this time.
0 commit comments