Skip to content

Commit f242517

Browse files
committed
Prevent image from overflowing on mobile
1 parent 78c13b6 commit f242517

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

docs/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ format:
225225
theme: pulse
226226
#light: default #flatly
227227
#dark: darkly
228-
#css: styles/my-style.css
228+
css: styles/my-style.css
229229
code-copy: true
230230
#code-fold: false #show
231231
##code-line-numbers: true

docs/index.qmd

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
1-
![](./images/predictive-modeling-book-banner-2025.png){fig-align="center" fig-alt="Predictive Modeling in Python (banner image)" height=400}
21

32
# Welcome {.unnumbered}
43

5-
Welcome to the \"Predictive Modeling in Python\" book (2025 edition, online)!
4+
<img src="./images/predictive-modeling-book-banner-2025.png"
5+
class="banner-image"
6+
alt="Predictive Modeling in Python (banner image)"
7+
>
8+
9+
Welcome to the \"Predictive Modeling in Python\" book (<span id="auto-copyright-year">2025</span> edition, online)!
610

711
In an era where data-driven decision-making is essential, this book equips readers with the knowledge and practical skills needed to harness the power of predictive analytics.
812

913
From understanding fundamental statistical principles to building and evaluating machine learning models, readers will explore how to leverage Python to develop accurate and insightful predictions.
1014

1115
Whether you are a beginner venturing into data science or an experienced practitioner seeking to refine your modeling expertise, this book seeks to empower you to turn data into actionable insights.
16+
17+
18+
<script type="text/javascript">
19+
20+
today = new Date();
21+
thisYear = today.getFullYear();
22+
console.log("THE YEAR IS: ", thisYear);
23+
24+
var year = document.getElementById("auto-copyright-year");
25+
year.innerText = thisYear;
26+
27+
</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)