Skip to content

Commit 0adbabb

Browse files
authored
Merge pull request #694 from jarrodmillman/theme-0.5
Update theme (0.5)
2 parents 7972413 + 3df134f commit 0adbabb

25 files changed

+138
-120
lines changed

assets/css/casestudies.css

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
padding: 30px;
33
}
44

5-
.casestudies a:hover {
6-
text-decoration: none;
7-
color:black
8-
}
9-
105
.casestudies-title {
116
display: flex;
127
justify-content: center;
@@ -28,10 +23,6 @@
2823
border-radius: 3px;
2924
}
3025

31-
.casestudies a {
32-
color: var(--colorPrimaryDark) !important;
33-
}
34-
3526
.casestudies-box-title {
3627
margin: 15px;
3728
font-size: 16px;
@@ -58,11 +49,10 @@
5849

5950
.casestudies-underline {
6051
display: inline-block;
61-
vertical-align: middle;
6252
-webkit-transform: perspective(1px) translateZ(0);
6353
transform: perspective(1px) translateZ(0);
64-
/* Black, with 10% opacity */
65-
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
54+
border: .02em solid var(--pst-color-border);
55+
box-shadow: 0 .2rem .5rem var(--pst-color-shadow),0 0 .0625rem var(--pst-color-shadow);
6656
position: relative;
6757
overflow: hidden;
6858
}
@@ -74,7 +64,6 @@
7464
left: 0;
7565
right: 100%;
7666
bottom: 0;
77-
background: var(--colorPrimaryDark);
7867
height: 4px;
7968
-webkit-transition-property: right;
8069
transition-property: right;

assets/css/mailchimp.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
}
1212

1313
.sign-up-image {
14+
height: 35px;
1415
padding: 5px 10px 6px 10px;
15-
border-right: 1px solid var(--colorSecondary);
16+
border-right: 1px solid var(--colorPrimaryDark);
1617
background-color: var(--colorSecondary);
1718
border-radius: 5px 0 0 5px;
1819
}

assets/css/shell.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
.hero-right {
22
display: flex;
33
flex-direction: column;
4-
/* Black, with 10% opacity */
5-
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
6-
background: rgb(238, 238, 238);
74
padding: 15px;
5+
background: var(--pst-color-surface);
86
}
97

108
.numpy-shell-canvas {
@@ -24,7 +22,7 @@
2422

2523
.numpy-shell {
2624
flex: 2;
27-
padding: 0 15px;
25+
border: 1px solid var(--pst-color-border);
2826
}
2927

3028
.shell-title-container {
@@ -48,9 +46,14 @@
4846
}
4947

5048
.shell-lesson .highlight pre {
49+
background-color: var(--pst-gray-800);
5150
height: 100%;
5251
}
5352

53+
.shell-lesson .highlight pre code{
54+
color: #f3c7ee;
55+
}
56+
5457
.shell-lesson > p {
5558
margin: 2px 0 2px 0;
5659
}

assets/css/tabs.css

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
.uikit-tab-wrapper-mobile {
2-
display: flex;
3-
flex-direction: row;
1+
[role="tablist"] {
2+
justify-content: center;
3+
}
4+
5+
table td:not([align]), table th:not([align]) {
6+
text-align: inherit;
7+
}
8+
9+
table td, table th {
10+
vertical-align: top;
411
}
512

613
.tabs-section {
@@ -26,25 +33,6 @@
2633
margin: 15px auto;
2734
}
2835

29-
.uk-tab > li {
30-
padding: 0 10px;
31-
}
32-
33-
.uk-nav > li > a {
34-
height: 35px;
35-
font-size: 13px;
36-
text-transform: uppercase;
37-
letter-spacing: 1.5px;
38-
font-weight: 500;
39-
color: rgb(108, 122, 137);
40-
}
41-
42-
#tabs-content > li {
43-
width: 90vw;
44-
max-width: 900px;
45-
margin: 50px auto;
46-
}
47-
4836
@media only screen and (max-width: 1200px) {
4937
.tabs-section {
5038
margin: 30px 10px;
@@ -112,10 +100,6 @@ td.bold-text {
112100
min-width: 120px;
113101
}
114102

115-
.scientific-domains td.bold-text {
116-
color: var(--colorPrimaryDark);
117-
}
118-
119103
img.cell-layout {
120104
border-radius: 10px;
121105
width: 50px;
@@ -139,7 +123,6 @@ td.full-center-text {
139123
td.lastrow-center-text {
140124
text-align: center;
141125
line-height: 35%;
142-
border-bottom: 1px solid rgb(255, 255, 255);
143126
}
144127

145128
/* Array Libraries */
@@ -151,4 +134,4 @@ img.first-column-layout {
151134

152135
td.left-text {
153136
vertical-align: middle;
154-
}
137+
}

assets/css/vars-override.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

config.yaml.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ markup:
1414
disableLanguages: []
1515

1616
params:
17+
colorScheme: light
18+
author:
19+
name: "NumPy team"
1720
images:
1821
- /images/numpy-image.jpg
1922
navColor: blue

content/en/case-studies/blackhole-image.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/blackhole.jpg" caption="**Black Hole M87**" alt="black hole image" attr="*(Image Credits: Event Horizon Telescope Collaboration)*" attrlink="https://www.jpl.nasa.gov/images/universe/20190410/blackhole20190410.jpg" >}}
77

8-
<blockquote cite="https://www.youtube.com/watch?v=BIvezCVcsYs">
9-
<p>Imaging the M87 Black Hole is like trying to see something that is by definition impossible to see.</p>
10-
<footer align="right">Katie Bouman, <cite>Assistant Professor, Computing & Mathematical Sciences, Caltech</cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://www.youtube.com/watch?v=BIvezCVcsYs"
10+
by="Katie Bouman, *Assistant Professor, Computing & Mathematical Sciences, Caltech*"
11+
>}}
12+
Imaging the M87 Black Hole is like trying to see something that is by definition impossible to see.
13+
{{< /blockquote >}}
1214

1315
## A telescope the size of the earth
1416

content/en/case-studies/cricket-analytics.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ sidebar: false
99
attr="*(Image credits: IPLT20 (cup and logo) & Akash Yadav (stadium))*"
1010
attrlink="https://unsplash.com/@aksh1802" >}}
1111

12-
<blockquote cite="https://www.scoopwhoop.com/sports/ms-dhoni/">
13-
<p>You don't play for the crowd, you play for the country.</p>
14-
<footer align="right">—M S Dhoni, <cite>International Cricket Player, ex-captain, Indian Team, plays for Chennai Super Kings in IPL</cite></footer>
15-
</blockquote>
12+
{{< blockquote
13+
cite="https://www.scoopwhoop.com/sports/ms-dhoni/"
14+
by="M S Dhoni, *International Cricket Player, ex-captain, Indian Team, plays for Chennai Super Kings in IPL*"
15+
>}}
16+
You don't play for the crowd, you play for the country.
17+
{{< /blockquote >}}
1618

1719
## About Cricket
1820

content/en/case-studies/deeplabcut-dnn.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/mice-hand.gif" class="fig-center" caption="**Analyzing mice hand-movement using DeepLapCut**" alt="micehandanim" attr="*(Source: www.deeplabcut.org )*" attrlink="http://www.mousemotorlab.org/deeplabcut">}}
77

8-
<blockquote cite="https://news.harvard.edu/gazette/story/newsplus/harvard-researchers-awarded-czi-open-source-award/">
9-
<p>Open Source Software is accelerating Biomedicine. DeepLabCut enables automated video analysis of animal behavior using Deep Learning.</p>
10-
<footer align="right">—Alexander Mathis, <cite>Assistant Professor, École polytechnique fédérale de Lausanne <a href="https://www.epfl.ch/en/">(EPFL)</a></cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://news.harvard.edu/gazette/story/newsplus/harvard-researchers-awarded-czi-open-source-award/"
10+
by="Alexander Mathis, *Assistant Professor, École polytechnique fédérale de Lausanne* ([EPFL](https://www.epfl.ch/en/))"
11+
>}}
12+
Open Source Software is accelerating Biomedicine. DeepLabCut enables automated video analysis of animal behavior using Deep Learning.
13+
{{< /blockquote >}}
1214

1315
## About DeepLabCut
1416

content/en/case-studies/gw-discov.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/gw_sxs_image.png" class="fig-center" caption="**Gravitational Waves**" alt="binary coalesce black hole generating gravitational waves" attr="*(Image Credits: The Simulating eXtreme Spacetimes (SXS) Project at LIGO)*" attrlink="https://youtu.be/Zt8Z_uzG71o" >}}
77

8-
<blockquote cite="https://www.youtube.com/watch?v=BIvezCVcsYs">
9-
<p>The scientific Python ecosystem is critical infrastructure for the research done at LIGO.</p>
10-
<footer align="right">David Shoemaker, <cite>LIGO Scientific Collaboration</cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://www.youtube.com/watch?v=BIvezCVcsYs"
10+
by="David Shoemaker, *LIGO Scientific Collaboration*" >}}
11+
The scientific Python ecosystem is critical infrastructure for the research done at LIGO.
12+
{{< /blockquote >}}
1213

1314
## About [Gravitational Waves](https://www.nationalgeographic.com/news/2017/10/what-are-gravitational-waves-ligo-astronomy-science/) and [LIGO](https://www.ligo.caltech.edu)
1415

content/ja/case-studies/blackhole-image.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/blackhole.jpg" caption="**Black Hole M87**" alt="black hole image" attr="*(Image Credits: Event Horizon Telescope Collaboration)*" attrk="https://www.jpl.nasa.gov/images/universe/90410/blackhole20190410.jpg" >}}
77

8-
<blockquote cite="https://www.youtube.com/watch?v=BIvezCVcsYs">
9-
<p>M87ブラックホールを画像化することは、見ることのできないものを、あえて見ようとするようなものです。</p>
10-
<footer align="right"><cite>カリフォルニア工科大学 計算・数理学部</cite>のKatie Bouman助教授</footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://www.youtube.com/watch?v=BIvezCVcsYs"
10+
by="*カリフォルニア工科大学 計算・数理学部*のKatie Bouman助教授"
11+
>}}
12+
M87ブラックホールを画像化することは、見ることのできないものを、あえて見ようとするようなものです。
13+
{{< /blockquote >}}
1214

1315
## 地球大の望遠鏡
1416

content/ja/case-studies/cricket-analytics.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/ipl-stadium.png" caption="** IPLT20、インド最大のクリケットフェスティバル**" alt="Indian Premier League Cricket cup and stadium" attr="*(Image credits: IPLT20 (cup and logo) & Akash Yadav (stadium))*" attrlink="https://unsplash.com/@aksh1802" >}}
77

8-
<blockquote cite="https://www.scoopwhoop.com/sports/ms-dhoni/">
9-
<p>観客のために競技をするのではなく、国のために競技するのです。</p>
10-
<footer align="right">—M S Dhoni、 <cite>インディアンチームの元キャプテン、インターナショナル・クリケットプレイヤー、チェンナイ・スーパー・キングスのためにIPLでプレイ</cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://www.scoopwhoop.com/sports/ms-dhoni/"
10+
by="M S Dhoni、 *インディアンチームの元キャプテン、インターナショナル・クリケットプレイヤー、チェンナイ・スーパー・キングスのためにIPLでプレイ*"
11+
>}}
12+
観客のために競技をするのではなく、国のために競技するのです。
13+
{{< /blockquote >}}
1214

1315
## クリケットについて
1416

content/ja/case-studies/deeplabcut-dnn.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ title: "ケーススタディ: DeepLabCut 三次元姿勢推定"
33
sidebar: false
44
---
55

6-
{{< figure src="/images/content_images/cs/mice-hand.gif" class="fig-center" caption="**DeepLapCutを用いたマウスの手の動きの解析 **" alt="micehandanim" attr="*(Source: www.deeplabcut.org )*" attrlink="http://www.mousemotorlab.org/deeplabcut">}}
7-
8-
<blockquote cite="https://news.harvard.edu/gazette/story/newsplus/harvard-researchers-awarded-czi-open-source-award/">
9-
<p>オープンソースソフトウェアは生体臨床医学を加速させています。 DeepLabCut を使用すると、深層学習を使用して動物の行動を自動的にビデオ解析することができます。</p>
10-
<footer align="right">—Alexander Mathis、 <cite>准教授、École polytechnology fe’rale de Lausanne <a href="https://www.epfl.ch/en/">(EPFL)</a></cite></footer>
11-
</blockquote>
6+
{{< figure src="/images/content_images/cs/mice-hand.gif" class="fig-center" caption="**DeepLapCutを用いたマウスの手の動きの解析**" alt="micehandanim" attr="*(Source: www.deeplabcut.org )*" attrlink="http://www.mousemotorlab.org/deeplabcut">}}
7+
8+
{{< blockquote
9+
cite="https://news.harvard.edu/gazette/story/newsplus/harvard-researchers-awarded-czi-open-source-award/"
10+
by="Alexander Mathis、 *准教授、École polytechnology fe’rale de Lausanne* ([EPFL](https://www.epfl.ch/en/))"
11+
>}}
12+
オープンソースソフトウェアは生体臨床医学を加速させています。 DeepLabCut を使用すると、深層学習を使用して動物の行動を自動的にビデオ解析することができます。
13+
{{< /blockquote >}}
1214

1315
## DeepLabCut について
1416

content/ja/case-studies/gw-discov.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/gw_sxs_image.png" class="fig-center" caption="**重力波**" alt="binary coalesce black hole generating gravitational waves" attr="*(Image Credits: The Simulating eXtreme Spacetimes (SXS) Project at LIGO)*" attrlink="https://youtu.be/Zt8Z_uzG71o" >}}
77

8-
<blockquote cite="https://www.youtube.com/watch?v=BIvezCVcsYs">
9-
<p>科学計算のためのPythonエコシステムはLIGOで行われている研究のための重要なインフラです。</p>
10-
<footer align="right">David Shoemaker, <cite>LIGOサイエンティフィック・コラボレーション</cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://www.youtube.com/watch?v=BIvezCVcsYs"
10+
by="David Shoemaker, *LIGOサイエンティフィック・コラボレーション*" >}}
11+
科学計算のためのPythonエコシステムはLIGOで行われている研究のための重要なインフラです。
12+
{{< /blockquote >}}
1213

1314
## [重力波](https://www.nationalgeographic.com/news/2017/10/what-are-gravitational-waves-ligo-astronomy-science/)[LIGO](https://www.ligo.caltech.edu) について
1415

content/pt/case-studies/blackhole-image.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/blackhole.jpg" caption="**Black Hole M87**" alt="black hole image" attr="*(Créditos: Event Horizon Telescope Collaboration)*" attrlink="https://www.jpl.nasa.gov/images/universe/20190410/blackhole20190410.jpg" >}}
77

8-
<blockquote cite="https://www.youtube.com/watch?v=BIvezCVcsYs">
9-
<p>Criar uma imagem do Buraco Negro M87 é como tentar ver algo que, por definição, é impossível de se ver.</p>
10-
<footer align="right">Katie Bouman, <cite>Professora Assistente, Ciências da Computação e Matemática, Caltech</cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://www.youtube.com/watch?v=BIvezCVcsYs"
10+
by="Katie Bouman, *Professora Assistente, Ciências da Computação e Matemática, Caltech*"
11+
>}}
12+
Criar uma imagem do Buraco Negro M87 é como tentar ver algo que, por definição, é impossível de se ver.
13+
{{< /blockquote >}}
1214

1315
## Um telescópio do tamanho da Terra
1416

content/pt/case-studies/cricket-analytics.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/ipl-stadium.png" caption="**IPLT20, o maior festival de Críquete da Índia**" alt="Copa e estádio da Indian Premier League Cricket" attr="*(Image credits: IPLT20 (cup and logo) & Akash Yadav (stadium))*" attrlink="https://unsplash.com/@aksh1802" >}}
77

8-
<blockquote cite="https://www.scoopwhoop.com/sports/ms-dhoni/">
9-
<p>Você não joga para a torcida, joga para o país.</p>
10-
<footer align="right">—M S Dhoni, <cite>Jogador Internacional de Críquete, ex-capitão, Time Indiano, joga pelo Chennai Super Kings na IPL</cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://www.scoopwhoop.com/sports/ms-dhoni/"
10+
by="M S Dhoni, *Jogador Internacional de Críquete, ex-capitão, Time Indiano, joga pelo Chennai Super Kings na IPL*"
11+
>}}
12+
Você não joga para a torcida, joga para o país.
13+
{{< /blockquote >}}
1214

1315
## Sobre Críquete
1416

content/pt/case-studies/deeplabcut-dnn.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/mice-hand.gif" class="fig-center" caption="**Análise de movimentos de mãos de camundongos usando DeepLapCut**" alt="micehandanim" attr="*(Fonte: www.deeplabcut.org )*" attrlink="http://www.mousemotorlab.org/deeplabcut">}}
77

8-
<blockquote cite="https://news.harvard.edu/gazette/story/newsplus/harvard-researchers-awarded-czi-open-source-award/">
9-
<p>Software de código aberto está acelerando a Biomedicina. DeepLabCut permite a análise automática de vídeos de comportamento animal usando Deep Learning.</p>
10-
<footer align="right">—Alexander Mathis, <cite>Professor Assistente, École polytechnique fédérale de Lausanne <a href="https://www.epfl.ch/en/">(EPFL)</a></cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://news.harvard.edu/gazette/story/newsplus/harvard-researchers-awarded-czi-open-source-award/"
10+
by="Alexander Mathis, *Professor Assistente, École polytechnique fédérale de Lausanne* ([EPFL](https://www.epfl.ch/en/))"
11+
>}}
12+
Software de código aberto está acelerando a Biomedicina. DeepLabCut permite a análise automática de vídeos de comportamento animal usando Deep Learning.
13+
{{< /blockquote >}}
1214

1315
## Sobre o DeepLabCut
1416

content/pt/case-studies/gw-discov.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ sidebar: false
55

66
{{< figure src="/images/content_images/cs/gw_sxs_image.png" class="fig-center" caption="**Ondas gravitacionais**" alt="binary coalesce black hole generating gravitational waves" attr="*(Créditos de imagem: O projeto Simulating eXtreme Spacetimes (SXS) no LIGO)*" attrlink="https://youtu.be/Zt8Z_uzG71o" >}}
77

8-
<blockquote cite="https://www.youtube.com/watch?v=BIvezCVcsYs">
9-
<p>O ecossistema científico Python é uma infraestrutura crítica para a pesquisa feita no LIGO.</p>
10-
<footer align="right">David Shoemaker, <cite>Colaborador Científico no LIGO</cite></footer>
11-
</blockquote>
8+
{{< blockquote
9+
cite="https://www.youtube.com/watch?v=BIvezCVcsYs"
10+
by="David Shoemaker, *Colaborador Científico no LIGO*" >}}
11+
O ecossistema científico Python é uma infraestrutura crítica para a pesquisa feita no LIGO.
12+
{{< /blockquote >}}
1213

1314
## Sobre [Ondas Gravitacionais](https://www.nationalgeographic.com/news/2017/10/what-are-gravitational-waves-ligo-astronomy-science/) e o [LIGO](https://www.ligo.caltech.edu)
1415

layouts/partials/head.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
<!-- UIkit -->
2-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/uikit.min.js"></script>
3-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/uikit.min.css" />
1+
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>

0 commit comments

Comments
 (0)