File tree 6 files changed +32
-79
lines changed
6 files changed +32
-79
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ github_username: openbudgets
9
9
github_repo : openbudgets.github.io
10
10
twitter_username : openbudgetseu
11
11
facebook_username : openbudgets
12
+ linkedin : company/open-budgets
12
13
13
14
github_link : openbudgets
14
15
Original file line number Diff line number Diff line change 34
34
</ a >
35
35
</ li >
36
36
{% endif %}
37
+ {% if site.linkedin %}
38
+ < li >
39
+ < a href ="https://www.linkedin.com/{{ site.linkedin }} " class ="linkedin " rel ="external ">
40
+ LinkedIn
41
+ </ a >
42
+ </ li >
43
+ {% endif %}
37
44
{% if site.github_link %}
38
45
< li >
39
46
< a href ="https://github.com/{{ site.github_link }} " class ="github " rel ="external ">
Original file line number Diff line number Diff line change 5
5
{% if site.twitter_username %}
6
6
< a class ="cd-twitter cd-img-replace " href ="https://twitter.com/{{ site.twitter_username }} " rel ="external "> Twitter</ a >
7
7
{% endif %}
8
+ {% if site.linkedin %}
9
+ < a class ="cd-linkedin cd-img-replace " href ="https://www.linkedin.com/{{ site.linkedin }} " rel ="external "> LinkedIn</ a >
10
+ {% endif %}
8
11
{% if site.github_link %}
9
12
< a class ="cd-github cd-img-replace " href ="https://github.com/{{ site.github_link }} " rel ="external "> Git Hub</ a >
10
13
{% endif %}
11
- </ div > <!-- socials -->
14
+ </ div > <!-- socials -->
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ html {
135
135
136
136
@include hide-text ;
137
137
background-image : url (../img/cd-socials.svg );
138
- background-size : auto ( $icon-size * 2 ) ;
138
+ background-size : $icon-size * 5 $icon-size * 2 ;
139
139
width : $icon-size ;
140
140
height : $icon-size ;
141
141
display : block ;
@@ -153,6 +153,10 @@ html {
153
153
background-position : - 1.8em -1.8em ;
154
154
}
155
155
156
+ & .linkedin {
157
+ background-position : - (1.8em * 4 ) -1.8em ;
158
+ }
159
+
156
160
& :hover {
157
161
opacity : 1 ;
158
162
}
Original file line number Diff line number Diff line change @@ -289,9 +289,9 @@ Main components
289
289
padding : 0 ;
290
290
background-image : url (' ../img/cd-socials.svg' );
291
291
background-repeat : no-repeat ;
292
- background-size : 128 px 64px ;
292
+ background-size : 160 px 64px ;
293
293
margin-right : .5em ;
294
- border-radius : 32px ;
294
+ border-radius : 32px ;
295
295
296
296
& .cd-twitter {
297
297
background-position : 0 0 ;
@@ -309,6 +309,10 @@ Main components
309
309
background-position : -96px 0 ;
310
310
}
311
311
312
+ & .cd-linkedin {
313
+ background-position : -128px 0 ;
314
+ }
315
+
312
316
.no-touch & :hover {
313
317
background-color : $color-1 ;
314
318
@@ -327,6 +331,10 @@ Main components
327
331
& .cd-google {
328
332
background-position : -96px -32px ;
329
333
}
334
+
335
+ & .cd-linkedin {
336
+ background-position : -128px -32px ;
337
+ }
330
338
}
331
339
}
332
340
}
@@ -348,6 +356,10 @@ Main components
348
356
& .cd-google {
349
357
background-position : -96px -32px ;
350
358
}
359
+
360
+ & .cd-linkedin {
361
+ background-position : -128px -32px ;
362
+ }
351
363
}
352
364
}
353
365
You can’t perform that action at this time.
0 commit comments