Skip to content

Commit 058735d

Browse files
committed
Update mobile compat.
1 parent b9f66a7 commit 058735d

File tree

4 files changed

+23
-8
lines changed

4 files changed

+23
-8
lines changed

docs/book.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
}
123123

124124
ol, ul, li, div span {
125-
font-size: 24px;
125+
font-size: 24px !important;
126126
}
127127

128128
h2 {
@@ -150,6 +150,8 @@
150150

151151
#visible {
152152
width: 90% !important;
153+
overflow-x: scroll;
154+
padding: 0px 10px 0px 10px;
153155
}
154156

155157
img {
@@ -353,4 +355,3 @@ code {
353355
color: #871094;
354356
display: inline;
355357
}
356-

docs/content.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ <h1>Building Neural Networks from Scratch</h1>
499499
<script>
500500
const countEl = document.getElementById('count');
501501

502-
//updateVisitCount();
502+
updateVisitCount();
503503

504504
function updateVisitCount() {
505505
fetch('https://api.countapi.xyz/hit/buildingnnsfromscratch.com/key')
@@ -528,4 +528,4 @@ <h1>Building Neural Networks from Scratch</h1>
528528
// Code was modified for suitability purposes
529529
// END W3SCHOOL CODE
530530
</script>
531-
</html>
531+
</html>

docs/index.html

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,21 @@
6464
}
6565

6666
#visible {
67-
width: 85% !important;
67+
width: 80% !important;
68+
padding: 10px 20px 10px 20px !important;
69+
}
70+
71+
.writtenContent h2 {
72+
margin-left: 20px !important;
73+
}
74+
75+
.writtenContent p {
76+
margin-left: 30px !important;
77+
}
78+
79+
aside {
80+
margin-left: 10px !important;
81+
margin-right: 10px !important;
6882
}
6983
}
7084

@@ -240,4 +254,4 @@ <h3>JC-ProgJava</h3>
240254
</div>
241255
-->
242256
</body>
243-
</html>
257+
</html>

docs/task1.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h1>Building Neural Networks from Scratch</h1>
7474
<h2>Task 1 - Recognizing Digits</h2>
7575
<h3 class="quote">“And, now that you don’t have to be perfect you can be good.”<br>— East of Eden by John Steinbeck</h3>
7676
<p>That was a <em>lot</em> of theoretical information. Now, it is just about time to start on
77-
our first project! Istrongly recommend you try to solve the problem before I provide a
77+
our first project! I strongly recommend you try to solve the problem before I provide a
7878
solution. Once again, all solutions are in Java, and pseudocode will be used otherwise.
7979
Usually, I will state the task requirements and solution steps before providing the
8080
solution so you can try and make the program yourselves before looking at my solution.
@@ -1500,4 +1500,4 @@ <h3 id="summary">Chapter Summary</h3>
15001500
<button onclick="location.href = 'fitting.html';">Next Chapter</button>
15011501
</div>
15021502
</body>
1503-
</html>
1503+
</html>

0 commit comments

Comments
 (0)