Skip to content

Commit a1df245

Browse files
Added all sponsors to Bokeh/Pandas event for testing purposes.
Fixed on hover effects for sponsors logos in post and footer (removed JS code, added css). Created touch_surgery.md and python_software_foundation sponsor file. Redone Zopa's logo (was low quality). Removed unused code from site.js.
1 parent ed969f8 commit a1df245

File tree

7 files changed

+35
-30
lines changed

7 files changed

+35
-30
lines changed

_posts/2017-10-04-Bokeh-As-A-Backend-For-Pandas.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ image: static/images/events/pandas_bokeh_backend_harvey_nash_960x539px.jpeg
1010
sponsors:
1111
- harvey_nash
1212
- bloomberg
13+
- python_software_foundation
14+
- zopa
15+
- touch_surgery
1316
---
1417

1518
According to this recent blog post by [Stack Overflow](https://stackoverflow.com/), Python is declared as the fastest-growing major programming language.

_sass/post.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
background: rgba(7, 41, 72, 0.53);
7474
border: #A55605 2px ridge;
7575
}
76+
&:hover > .post__icon {
77+
color: antiquewhite;
78+
}
7679
}
7780

7881
.post__icon {

_sass/style.scss

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ a {
2626
margin-right: 0;
2727
}
2828

29-
.center-block {
30-
display: table;
31-
margin: auto;
32-
}
33-
3429
.container-fluid {
3530
padding-left: 0;
3631
padding-right: 0;
@@ -500,27 +495,27 @@ a {
500495
}
501496

502497
.footer__sponsor-link {
503-
background: #041729;
504-
border-radius: 5px;
505-
border: #7fa0c2 1px solid;
506-
text-align: center;
507-
display: inline-block;
508-
line-height: 102px;
509-
vertical-align: middle;
510-
margin: 1%;
511-
width: 278px;
512-
height: 102px;
498+
background: #041729;
499+
border-radius: 5px;
500+
border: #7fa0c2 1px solid;
501+
text-align: center;
502+
display: inline-block;
503+
line-height: 102px;
504+
vertical-align: middle;
505+
margin: 1%;
506+
width: 278px;
507+
height: 102px;
508+
&:hover > .footer__img {
509+
filter: none;
510+
-webkit-filter: grayscale(0);
511+
-webkit-transform: scale(1.05);
512+
}
513513
}
514514

515515
.footer__img {
516516
filter: gray;
517517
-webkit-filter: grayscale(1);
518518
transition: filter, .8s ease-in-out;
519-
&:hover {
520-
filter: none;
521-
-webkit-filter: grayscale(0);
522-
-webkit-transform: scale(1.05);
523-
}
524519
}
525520

526521
.footer__link {
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
sponsor_id: python_software_foundation
3+
sponsor_name: "Python Software Foundation"
4+
sponsor_logo: static/images/sponsors/python_software_foundation.png
5+
sponsor_link: https://www.python.org/psf/
6+
---
7+
The Python Software Foundation (PSF) is a non-profit corporation that holds the intellectual property rights behind the Python programming language. We manage the open source licensing for Python version 2.1 and later and own and protect the trademarks associated with Python.

_sponsors/touch_surgery.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
sponsor_id: touch_surgery
3+
sponsor_name: "Touch Surgery"
4+
sponsor_logo: static/images/sponsors/touch_surgery.png
5+
sponsor_link: https://www.touchsurgery.com/jobs.html
6+
---
7+
The Touch Surgery platform is an interactive surgical simulator for healthcare professionals; providing a realistic and detailed guide to every step of a procedure. Users can quickly learn surgery, instantly test their knowledge, and rehearse for surgery.

static/images/sponsors/zopa.png

-1.18 KB
Loading

static/js/site.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,8 @@ var navigationButtonClose = $(".navigation__button-close");
77
$(document).ready(function () {
88
buttonOpenContainer.on("click", openNav);
99
navigationButtonClose.on("click", closeNav);
10-
buttonHover();
11-
1210
});
1311

14-
function buttonHover () {
15-
$(".post__button").hover(function () {
16-
$(".post__icon").css("color", "antiquewhite")
17-
}, function () {
18-
$(".post__icon").css("color", "#7FA0C2")
19-
});
20-
}
21-
2212
function openNav() {
2313
buttonOpenContainer.css("pointer-events", "none");
2414
buttonOpenContainer.toggle(500, showCloseButton);

0 commit comments

Comments
 (0)