Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 531f7a8

Browse files
committed
more nav styling changes
1 parent a693861 commit 531f7a8

File tree

2 files changed

+28
-12
lines changed

2 files changed

+28
-12
lines changed

app/profile/subtrack/nav.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ hr
1616
)
1717

1818
div(class="name")
19-
img(ng-if="track == 'DATA_SCIENCE'", src="/images/ico-track-data-outline.svg")
20-
img(ng-if="track == 'DEVELOP'", src="/images/ico-track-develop-outline.svg")
21-
img(ng-if="track == 'DESIGN'", src="/images/ico-track-design-outline.svg")
19+
img(ng-if="track == 'DATA_SCIENCE'", src="/images/ico-track-data.svg")
20+
img(ng-if="track == 'DEVELOP'", src="/images/ico-track-develop.svg")
21+
img(ng-if="track == 'DESIGN'", src="/images/ico-track-design.svg")
2222
img(ng-if="track == 'COPILOT'", src="/images/ico-track-copilot.svg")
2323
span {{track | track | uppercase}}
2424

assets/css/profile/nav.scss

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
align-items: flex-start;
195195

196196
.track {
197-
margin: 30px 30px;
197+
margin: 30px 3px;
198198
display: flex;
199199
flex-direction: column;
200200
align-items: center;
@@ -204,8 +204,13 @@
204204
span {
205205
}
206206
margin: auto;
207-
@include sofia-pro-extra-light;
207+
@include sofia-pro-medium;
208208
font-size: 20px;
209+
@media screen and (min-width: 768px) {
210+
font-size: 24px;
211+
line-height: 29px;
212+
margin-bottom: 15px;
213+
}
209214
line-height: 24px;
210215
margin-bottom: 10.6px;
211216
}
@@ -214,6 +219,11 @@
214219
width: 20px;
215220
margin-right: 7px;
216221
margin-bottom: -2px;
222+
@media screen and (min-width: 768px) {
223+
height: 30px;
224+
width: 30px;
225+
margin-bottom: -5px;
226+
}
217227
}
218228
.subtrack {
219229
display: flex;
@@ -230,15 +240,17 @@
230240
background-color: #f0f0f0;
231241
}
232242
.name {
233-
margin-left: 25px;
234243
align-self: center;
235244
flex-basis: 250px;
236245
align-text: left;
237246
overflow: hidden;
238247
text-overflow: ellipsis;
239248
white-space: nowrap;
240-
@include sofia-pro-light;
249+
@include sofia-pro-medium;
241250
font-size: 14px;
251+
@media screen and (min-width: 768px) {
252+
font-size: 16px;
253+
}
242254
line-height: 18px;
243255
text-transform: uppercase;
244256
display: flex;
@@ -256,6 +268,9 @@
256268
text-align: center;
257269
@include sofia-pro-semi-bold;
258270
font-size: 13.4px;
271+
@media screen and (min-width: 768px) {
272+
font-size: 18px;
273+
}
259274
line-height: 16px;
260275
span.square {
261276
position: absolute;
@@ -267,19 +282,20 @@
267282
.tag {
268283
text-transform: uppercase;
269284
margin: 10px auto 0px auto;
270-
@include sofia-pro-regular;
285+
@include sofia-pro-medium;
271286
font-size: 8.4px;
287+
@media screen and (min-width: 768px) {
288+
font-size: 10px;
289+
}
272290
line-height: 10px;
273-
color: #7f7f7f;
291+
color: $accent-gray;
274292
}
275293
}
276294
.arrow {
277-
@include sofia-pro-extra-light;
278-
color: #cccccc;
279-
font-size: 18px;
280295
display: flex;
281296
flex-direction: column;
282297
justify-content: center;
298+
height: 18px;
283299
}
284300
}
285301
.icon {

0 commit comments

Comments
 (0)