Skip to content

Commit c9f9f8a

Browse files
authored
Dark mode and CSS improvements (#494)
* darkly * Dark mode * Retour des images
1 parent 7306a6f commit c9f9f8a

18 files changed

+326
-402
lines changed

_quarto-prod.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ website:
7373
- sidebar:appendix
7474
tools:
7575
- icon: github
76-
menu:
77-
- text: Code source
78-
url: https://github.com/linogaliana/python-datascientist
76+
href: https://github.com/linogaliana/python-datascientist
7977
comments:
8078
giscus:
8179
repo: linogaliana/python-datascientist
@@ -197,8 +195,8 @@ lightbox: auto
197195
format:
198196
html:
199197
theme:
200-
- cosmo
201-
- custom.scss
198+
light: [cosmo, styles/custom.scss, styles/custom-light.scss]
199+
dark: [darkly, styles/custom.scss, styles/custom-dark.scss]
202200
css: styles.css
203201
toc: true
204202
code-overflow: wrap

_quarto.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ project:
1515
- content/manipulation/01_numpy.qmd
1616
- content/manipulation/02a_pandas_tutorial.qmd
1717
- content/manipulation/02b_pandas_TP.qmd
18-
- content/visualisation/index.qmd
19-
- content/visualisation/matplotlib.qmd
20-
- content/visualisation/maps.qmd
18+
- content/modelisation/0_preprocessing.qmd
2119

2220
website:
2321
title: "Python pour la data science"
@@ -40,9 +38,7 @@ website:
4038
- sidebar:appendix
4139
tools:
4240
- icon: github
43-
menu:
44-
- text: Code source
45-
url: https://github.com/linogaliana/python-datascientist
41+
href: https://github.com/linogaliana/python-datascientist
4642
comments:
4743
giscus:
4844
repo: linogaliana/python-datascientist
@@ -156,16 +152,13 @@ website:
156152

157153

158154

159-
filters:
160-
- black-formatter
161-
162155
lightbox: auto
163156

164157
format:
165158
html:
166159
theme:
167-
- cosmo
168-
# - custom.scss
160+
light: [cosmo, styles/custom.scss, styles/custom-light.scss]
161+
dark: [darkly, styles/custom.scss, styles/custom-dark.scss]
169162
css: styles.css
170163
toc: true
171164
code-overflow: wrap

content/NLP/04_word2vec.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ description: |
2222
permet d'exploiter les structures latentes d'un texte en construisant
2323
des _word embeddings_ (plongements de mots).
2424
eval: false
25-
image: featured_nlp_intro.png
25+
image: https://minio.lab.sspcloud.fr/lgaliana/generative-art/pythonds/word_embedding.png
2626
---
2727

2828
::: {.cell .markdown}

content/NLP/05_exo_supp.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ categories:
1616
description: |
1717
Des exercices supplémentaires pour pratiquer les concepts du NLP
1818
eval: false
19-
image: featured_intro.png
19+
image: https://minio.lab.sspcloud.fr/lgaliana/generative-art/pythonds/word_embedding.png
2020
---
2121

2222
::: {.content-visible when-format="html"}

content/getting-started/03_data_analysis.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |
99
Quelques éléments pour adopter une démarche
1010
scientifique et éthique face à un
1111
jeu de données.
12-
image: https://ensae-reproductibilite.github.io/website/chapters/images/polar.png
12+
image: https://minio.lab.sspcloud.fr/lgaliana/generative-art/mise-en-prod/babypython.png
1313
categories:
1414
- Tutoriel
1515
- Rappels

content/getting-started/04_python_practice.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: |
1212
évoque quelques-unes de ces conventions.
1313
Pour aller plus loin, un cours en 3e année
1414
d'ENSAE est disponible [sur un autre site](https://ensae-reproductibilite.github.io/website/)
15-
image: https://ensae-reproductibilite.github.io/website/cards/quality/snake.png
15+
image: https://ensae-reproductibilite.github.io/website/whale.png
1616
categories:
1717
- Tutoriel
1818
- Rappels

content/getting-started/06_rappels_fonctions.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ format:
1515
html: default
1616
ipynb: default
1717
jupyter: python3
18-
image: https://ensae-reproductibilite.github.io/website/cards/portabilite/box.png
18+
image: https://ensae-reproductibilite.github.io/website/army.png
1919
categories:
2020
- Tutoriel
2121
- Rappels

content/git/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: |
1212
afin de mener des projets impliquant
1313
du code `Python`.
1414
type: book
15-
image: https://ensae-reproductibilite.github.io/website/cards/git/snakedolls.jpg
15+
image: https://ensae-reproductibilite.github.io/website/snakedolls.jpg
1616
categories:
1717
- Git
1818
---

content/git/introgit.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: |
1212
indispensable dans le domaine de la _data science_.
1313
Ce chapitre présente quelques concepts qui seront
1414
mis en pratique dans le suivant.
15-
image: https://ensae-reproductibilite.github.io/website/cards/git/snakedolls.jpg
15+
image: https://ensae-reproductibilite.github.io/website/snakedolls.jpg
1616
---
1717

1818

content/manipulation/02a_pandas_tutorial.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description: |
2121
de cette volumétrie, il faudra se tourner vers d'autres solutions
2222
(`DuckDB`, `Dask`, `Polars`, `Spark`...).
2323
bibliography: ../../reference.bib
24-
image: featured_pandas.png
24+
image: https://minio.lab.sspcloud.fr/lgaliana/generative-art/pythonds/python_dict.jpg
2525
links:
2626
- icon: journal-text
2727
name: Documentation Pandas
@@ -416,7 +416,7 @@ Cette méthode propose de nombreuses options.
416416
::: {.cell .markdown}
417417
```{=html}
418418
<div class="alert alert-danger" role="alert">
419-
<i class="fa-solid fa-triangle-exclamation"></i> Warning</h3>
419+
<h3 class="alert-heading"><i class="fa-solid fa-triangle-exclamation"></i> Warning</h3>
420420
```
421421

422422
Il faut faire attention au `display` et aux

0 commit comments

Comments
 (0)