Skip to content

Commit bf89e0f

Browse files
committed
Prevent image from overflowing on mobile
1 parent ca962cf commit bf89e0f

3 files changed

Lines changed: 26 additions & 3 deletions

File tree

docs/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ format:
200200
theme: flatly #journal #minty
201201
#light: default #flatly
202202
#dark: darkly
203-
#css: styles/my-style.css
203+
css: styles/my-style.css
204204
code-copy: true
205205
#code-fold: false #show
206206
##code-line-numbers: true

docs/index.qmd

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
11

2-
![](./images/applied-ds-book-banner.png){fig-align="center" fig-alt="Applied Data Science in Python (banner image)" height=400}
32

43
# Welcome {.unnumbered}
54

6-
Welcome to the \"Applied Data Science in Python\" book (2025 edition, online)!
5+
<img src="./images/applied-ds-book-banner.png"
6+
class="banner-image"
7+
alt="Applied Data Science in Python (banner image)"
8+
>
9+
10+
Welcome to the \"Applied Data Science in Python\" book (<span id="auto-copyright-year">2025</span> edition, online)!
711

812
This book provides a hands-on approach to mastering essential tools and techniques for data analytics in business, research, and beyond.
913

1014
With a focus on practical applications, you'll learn how to load, process, and analyze tabular data, create data visualizations, and explore statistical concepts such as correlation to uncover meaningful patterns and relationships in the data.
1115

1216
Whether you're a business analyst, a data scientist, or a student, this book provides the foundation you need to solve real-world problems using Python.
17+
18+
19+
<script type="text/javascript">
20+
21+
today = new Date();
22+
thisYear = today.getFullYear();
23+
console.log("THE YEAR IS: ", thisYear);
24+
25+
var year = document.getElementById("auto-copyright-year");
26+
year.innerText = thisYear;
27+
28+
</script>

docs/styles/my-style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.banner-image {
2+
width: 100%;
3+
height: auto;
4+
max-width: 100%;
5+
display: block;
6+
object-fit: cover;
7+
}

0 commit comments

Comments
 (0)