Skip to content

Commit 1af7b89

Browse files
authored
Update index.html to have animated background
1 parent 183657f commit 1af7b89

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

index.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Notebooks</title>
8-
<!-- You can include a style tag to add CSS directly in your HTML file -->
98
<style>
109
body {
1110
font-family: 'cambria', sans-serif;
1211
line-height: 1.6;
1312
font-size: 16px;
14-
}
13+
background-color: #010d42;
14+
background-image: url('https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExYXF6anRobWxpdzFvazBtbGg5czUzZDZrb2FyNWI0ZHlxaDZiZjJtYyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/7E8lI6TkLrvvAcPXso/giphy.gif');
15+
background-attachment: fixed;
16+
background-size: 1200px;
17+
background-repeat: 2;
18+
background-position: left; }
1519
.container {
1620
max-width: 900px;
1721
margin: auto;
@@ -20,10 +24,13 @@
2024
.notebook-cover {
2125
text-align: center;
2226
padding: 50px;
23-
background-color: #b2e2f8;
27+
background-color: #b2e2f8; /* This will be visible while GIF is loading or if the path to the GIF is incorrect */
28+
background-size: cover;
29+
background-repeat: no-repeat;
30+
background-position: center;
2431
color: #333;
2532
border-radius: 10px;
26-
box-shadow: 0 5px 15px rgba(0,0,0,.3);
33+
box-shadow: 0 5px 15px rgba(0,0,0,2);
2734
margin-bottom: 30px;
2835
}
2936
h1 {
@@ -47,20 +54,15 @@ <h1><span style="color:#daa520;">✨ CML Polymath Notebooks ✨</span></h1>
4754
<p>Welcome to this repository, which contains all the notebooks based on Data Science books I've read.
4855
The purpose of this repository is to show my journey through the field and, most importantly, <b>to share the knowledge.</b>
4956
</p>
50-
5157
<hr>
52-
5358
<p class="section-title">Each series of notebooks is dedicated to a specific book and contains the following sections:</p>
54-
5559
<ul>
5660
<li><strong>Book Information:</strong> <em>Title, Author, Publication Year,</em> and a brief summary.</li>
5761
<li><strong>Key Takeaways:</strong> The most important points and ideas from the book.</li>
5862
<li><strong>General Notes:</strong> Terms, caveats, and the code written step-by-step</li>
5963
<li><strong>Discussion Questions:</strong> Questions to spark conversations and debates about the book's content.</li>
6064
</ul>
61-
6265
<p>Feel free to explore the notebooks, contribute your own insights, and join the discussion. <i>Happy reading!</i></p>
63-
</div>
6466
<!-- Add notebook entries here -->
6567
</div>
6668
</body>

0 commit comments

Comments
 (0)