Skip to content

Commit b05d702

Browse files
committed
1. updated software pages that were missed
2. switched to using better book menu on home page 2a. new menu is not finished 3. fixed javascript error / moved foundation plugin init to index.php
1 parent 2f73eab commit b05d702

File tree

7 files changed

+128
-337
lines changed

7 files changed

+128
-337
lines changed

assets/style.css

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ font-weight: bold
1010
a:link {
1111
color: #0000cc;
1212
}
13-
.menu > li:not(.menu-text) > a{
13+
.top-bar .menu > li:not(.menu-text) > a{
1414
padding-top: 20px;
1515
padding-bottom: 20px;
1616
}
@@ -21,22 +21,22 @@ a:link {
2121
font-weight: bold;
2222
}
2323
#menu-button > i{
24-
font-size: 40px;
24+
font-size: 35px;
2525
padding-top:15px;
2626
padding-right:15px;
2727
}
2828
.mobile-menu a,
2929
.title-bar,
30-
.menu a,
30+
.top-bar .menu a,
3131
.menu-text,
32-
ul.menu,
33-
.menu li,
32+
.top-bar .menu li,
3433
#menu-button,
3534
.mobile-menu ul li{
3635
color: #D9D9D9;
3736
background-color:#2B5B84;
3837
}
39-
a.selected {
38+
.title-bar ul li a.selected,
39+
.top-bar ul li a.selected{
4040
color: #2B5B84;
4141
font-weight: bold;
4242
text-decoration: none;
@@ -71,15 +71,11 @@ a.selected {
7171
}
7272
.title-bar .menu-text a{
7373
color: #FFDB4F;
74-
font-size: 40px;
74+
font-size: 35px;
7575
}
7676
.mobile-menu{
7777
margin-top: 90px;
7878
}
79-
.mobile-menu > ul > li{
80-
padding-top: 5px;
81-
padding-bottom: 5px;
82-
}
8379
.accordion .is-active{
8480
background-color:rgb(255, 249, 119);
8581
}

book.php

Lines changed: 28 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</div>
1111

1212
<div class="small-12 medium-12 large-9 large-pull-3 columns">
13-
<h1>Python for Informatics: Exploring Information</h1>
13+
<h2>Python for Informatics: Exploring Information</h2>
1414
<p>
1515
The goal of this book is to provide an Informatics-oriented introduction to programming. The primary difference between a computer science approach and the Informatics approach taken in this book is a greater focus on using Python to solve data analysis problems common in the world of Informatics.
1616
</p>
@@ -21,70 +21,37 @@
2121
</div>
2222
<div class="row">
2323
<div class="small-12 medium-12 large-6 columns">
24-
<p>
25-
Copies of the book are available from
26-
</p>
24+
<p>Copies of the book are available from the links below</p>
25+
<p>English</p>
2726
<ul>
28-
<li>
29-
English: <a href="http://amzn.to/1KkULF3" target="_blank">Amazon</a> or <a href="http://amzn.to/1hLcoBy" target="_blank">Kindle Store</a> (Python for Informatics: Exploring Information)
30-
</li>
31-
<li>
32-
Spanish: <a href="http://amzn.to/1KkV42z" target="_blank">Amazon</a> or <a href="http://amzn.to/1fNOnbd" target="_blank">Kindle Store</a> (Python para Informáticos: Explorando la información)
33-
</li>
34-
<li>
35-
Korean: <a href="http://amzn.to/1N74xLt" target="_blank">Amazon</a> ( 정보교육을 위한 파이썬: 정보탐색을 통한 데이터 과학자로의 여정)
36-
</li>
27+
<li><a href="http://amzn.to/1KkULF3" target="_blank">Amazon</a> or <a href="http://amzn.to/1hLcoBy" target="_blank">Kindle Store</a> (Python for Informatics: Exploring Information)</li>
28+
<li><a href="http://do1.dr-chuck.com/py4inf/EN-us/book.pdf" target="_blank">PDF</a></li>
29+
<li><a href="book_270.epub" target="_blank">EPUB</a></li>
30+
<li><a href="html-270/" target="_blank">HTML</a></li>
31+
<li><a href="html_270.zip" target="_blank">Download HTML in a ZIP</a></li>
32+
<li><a href="http://itunes.apple.com/us/book/python-for-informatics/id554638579?mt=13" target="_blank">Apple iBooks at iBookstore</a> (1.3GB)</li>
33+
<li><a href="http://www-personal.umich.edu/~csev/books/py4inf/ibooks//python_for_informatics.ibooks" target="_blank">Apple iBooks direct Download</a> (1.3GB)</li>
3734
</ul>
38-
<p>
39-
Here are free copies of the book in various formats:
40-
</p>
35+
<p>Spanish</p>
4136
<ul>
42-
<li>
43-
PDF
44-
<ul>
45-
<li>
46-
<a href="http://do1.dr-chuck.com/py4inf/EN-us/book.pdf" target="_blank">English</a>
47-
</li>
48-
<li>
49-
<a href="http://do1.dr-chuck.com/py4inf/ES-es/book.pdf" target="_blank">Spanish</a> from <a href="https://twitter.com/fertardio" target="_blank">Fernando Tardío.</a>
50-
</li>
51-
<li>
52-
<a href="translations/KO/book_009_ko.pdf" target="_blank">Korean</a> from <a href="http://www.xwmooc.net/python/" target="_new">Victor KC. Lee</a>
53-
</li>
54-
<li>
55-
<a href="http://fanwscu.gitbooks.io/py4inf-zh-cn/" target="_blank">Chinese (Simplified)</a> from Wei Fan
56-
</li>
57-
</ul>
58-
</li>
59-
<li>
60-
EPUB
61-
<ul>
62-
<li>
63-
<a href="book_270.epub" target="_blank">English</a>
64-
</li>
65-
<li>
66-
<a href="translations/ES/book_272_es4.epub" target="_blank">Spanish</a>
67-
</li>
68-
<li>
69-
<a href="https://www.gitbook.com/download/epub/book/fanwscu/py4inf-zh-cn" target="_blank">Chinese</a>
70-
</li>
71-
</ul>
72-
</li>
73-
<li>
74-
<a href="html-270/" target="_blank">HTML</a>
75-
</li>
76-
<li>
77-
<a href="html_270.zip" target="_blank">Download HTML in a ZIP</a>
78-
</li>
79-
<li>
80-
<a href="http://itunes.apple.com/us/book/python-for-informatics/id554638579?mt=13" target="_blank">Apple iBooks at iBookstore</a> (1.3GB)
81-
</li>
82-
<li>
83-
<a href="http://www-personal.umich.edu/~csev/books/py4inf/ibooks//python_for_informatics.ibooks" target="_blank">Apple iBooks direct Download</a> (1.3GB)
84-
</li>
37+
<li><a href="http://amzn.to/1KkV42z" target="_blank">Amazon</a> or <a href="http://amzn.to/1fNOnbd" target="_blank">Kindle Store</a> (Python para Informáticos: Explorando la información)</li>
38+
<li><a href="http://do1.dr-chuck.com/py4inf/ES-es/book.pdf" target="_blank">PDF</a> from <a href="https://twitter.com/fertardio" target="_blank">Fernando Tardío</a></li>
39+
<li><a href="translations/ES/book_272_es4.epub" target="_blank">EPUB</a></li>
8540
</ul>
86-
</div>
87-
<div class="small-12 medium-12 large-6 columns">
41+
<p>Korean</p>
42+
<ul>
43+
<li><a href="http://amzn.to/1N74xLt" target="_blank">Amazon</a> ( 정보교육을 위한 파이썬: 정보탐색을 통한 데이터 과학자로의 여정)</li>
44+
<li><a href="translations/KO/book_009_ko.pdf" target="_blank">PDF</a> from <a href="http://www.xwmooc.net/python/" target="_new">Victor KC. Lee</a></li>
45+
</ul>
46+
<p>Chinese (Simplified)</p>
47+
<ul>
48+
<li><a href="http://fanwscu.gitbooks.io/py4inf-zh-cn/" target="_blank">PDF</a> from Wei Fan</li>
49+
<li><a href="https://www.gitbook.com/download/epub/book/fanwscu/py4inf-zh-cn" target="_blank">EPUB</a></li>
50+
</ul>
51+
</div>
52+
53+
<div class="small-12 medium-12 large-6 columns">
54+
<br>
8855
<p>
8956
The sample code and data files for the book is here: <a href="http://www.py4inf.com/code" target="_blank">Code Samples</a>.
9057
</p>

header.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
<script src="assets/foundation/js/vendor/jquery.min.js"></script>
1313
<script src="assets/foundation/js/foundation.js"></script>
1414
<script>
15-
jQuery(document).ready(function(){
16-
var elem1 = new Foundation.Accordion(jQuery('.accordion'));
17-
var elem2 = new Foundation.Tabs(jQuery('#vert-tabs'));
18-
});
1915
var lastScroll = 0;
2016
jQuery(window).scroll(function(){
2117
var w = jQuery(window);

0 commit comments

Comments
 (0)