Skip to content

Commit d8c42de

Browse files
committed
one more big design push!
1 parent 3159470 commit d8c42de

2 files changed

Lines changed: 81 additions & 16 deletions

File tree

‎v3/css/index.css‎

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,20 @@ h1 {
2222

2323
.smallH1 {
2424
font-size: 14pt;
25+
margin-left: -2px;
2526
}
2627

28+
#optLink {
29+
font-size: 14pt;
30+
text-decoration: none;
31+
color: black;
32+
font-weight: bold;
33+
}
34+
35+
#optLink:hover {
36+
color: #3D58A2;
37+
text-decoration: underline;
38+
}
2739

2840
.titlePane {
2941
margin-left: auto;
@@ -74,19 +86,38 @@ a:hover {
7486
color: #3D58A2;
7587
}
7688

89+
#learnHeading, #embedHeading, #shareHeading {
90+
font-family: verdana, arial, helvetica, sans-serif;
91+
font-weight: bold;
92+
font-size: 24pt;
93+
}
94+
95+
#learnHeading {
96+
color: #062270;
97+
}
98+
7799
div#learnPane {
78-
margin-bottom: 10pt;
100+
margin-top: 6pt;
101+
margin-bottom: 8pt;
102+
border: 5px solid #062270;
79103
}
80104

81105
div#learnPane p {
82106
padding-right: 100px;
83107
}
84108

85-
div#learnPane h3 {
86-
font-size: 17pt;
109+
div#learnPane #startLink {
110+
font-size: 16pt;
87111
font-weight: normal;
88-
margin-top: 5px;
89-
margin-bottom: 10px;
112+
margin-top: 10px;
113+
margin-bottom: 20px;
114+
font-family: verdana, arial, helvetica, sans-serif;
115+
}
116+
117+
div#learnPane #startLink a {
118+
border-bottom-style: solid;
119+
border-bottom-width: 2px;
120+
text-decoration: none;
90121
}
91122

92123
tt {
@@ -95,10 +126,21 @@ tt {
95126

96127
div#embedPane {
97128
margin-right: 5px;
129+
border: 5px solid #5a7973;
130+
}
131+
132+
133+
#embedHeading {
134+
color: #5a7973;
98135
}
99136

100137
div#sharePane {
101138
margin-left: 5px;
139+
border: 5px solid #4284d3;
140+
}
141+
142+
#shareHeading {
143+
color: #4284d3;
102144
}
103145

104146
div#detailsPane {
@@ -107,6 +149,19 @@ div#detailsPane {
107149
border: 0px; /* NO BORDER! */
108150
}
109151

152+
#partnershipDiv {
153+
/*background-color: #d8e1e3;*/
154+
background-color: #d9cdb6;
155+
width: 60%;
156+
padding: 8px;
157+
margin-left: auto;
158+
margin-right: auto;
159+
text-align: center;
160+
161+
font-size: 10pt;
162+
font-family: Monaco, arial, sans-serif;
163+
}
164+
110165
table.layoutTbl {
111166
border: 0px;
112167
max-width: 900px;
@@ -130,7 +185,7 @@ table.layoutTbl td#sharePaneTd {
130185
font-size: 9pt;
131186
border-top: 1px solid #bbbbbb;
132187
padding-top: 0px;
133-
margin-top: 10px;
188+
margin-top: 30px;
134189

135190
/* center align */
136191
margin-left: auto;

‎v3/index.html‎

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@
5353

5454
<body>
5555

56+
<!--
5657
<div class="titlePane">
5758
<h1>Online Python Tutor</h1>
5859
</div>
60+
-->
5961

6062
<div class="mainBodyPane">
6163

@@ -65,9 +67,10 @@ <h1>Online Python Tutor</h1>
6567

6668
<div class="activityPane" id="learnPane">
6769

68-
<h1>Learn <span class="smallH1">to program in Python by writing code and visualizing execution</span></h1>
70+
<h1><span id="learnHeading">LEARN</span> <span class="smallH1">to program in Python by writing code and visualizing execution</span></h1>
6971

70-
<p>Online Python Tutor allows teachers and students to write <a
72+
<p><a id="optLink" href="tutor.html">Online Python Tutor</a>
73+
enables teachers and students to write <a
7174
href="http://www.python.org/">Python</a> programs directly in the web
7275
browser, execute those programs, and then step forwards and backwards
7376
through execution to view the run-time state of data structures.</p>
@@ -86,13 +89,19 @@ <h1>Learn <span class="smallH1">to program in Python by writing code and visuali
8689
Davis, Sonoma State University, the University of Washington, the
8790
University of Waterloo, the University of Toronto, Luther College, and
8891
Swarthmore College have adopted it for teaching introductory computer
89-
science courses. <span style="color: #e93f34;">We are seeking
90-
partnerships with educators at all grade levels; email
91-
<tt>philip@pythontutor.com</tt> if you are interested.</span></p>
92+
science courses.
93+
</p>
9294

95+
<p>
96+
We are <b>seeking partnerships</b> with educators at all grade levels.
97+
Please email philip@pythontutor.com if you are interested.
9398
</p>
9499

95-
<h3><a href="tutor.html">Start using Online Python Tutor now</a></h3>
100+
</p>
101+
102+
<div id="startLink">
103+
<a href="tutor.html">Start using Online Python Tutor now</a>
104+
</div>
96105

97106
</div>
98107

@@ -106,7 +115,7 @@ <h3><a href="tutor.html">Start using Online Python Tutor now</a></h3>
106115

107116
<div class="activityPane" id="embedPane">
108117

109-
<h1>Embed <span class="smallH1">visualizations in digital textbooks</span></h1>
118+
<h1><span id="embedHeading">EMBED</span> <span class="smallH1">visualizations in digital textbooks</span></h1>
110119

111120
<p>Using just one line of JavaScript code, you can embed an Online
112121
Python Tutor visualization within your web page. For example, the
@@ -138,7 +147,7 @@ <h1>Embed <span class="smallH1">visualizations in digital textbooks</span></h1>
138147

139148
<div class="activityPane" id="sharePane">
140149

141-
<h1>Share <span class="smallH1">visualizations online</span></h1>
150+
<h1><span id="shareHeading">SHARE</span> <span class="smallH1">visualizations online</span></h1>
142151

143152
<p>To share your current visualization, click the &ldquo;Generate
144153
URL&rdquo; button and send that URL link in an email, social networking
@@ -167,8 +176,9 @@ <h1>Share <span class="smallH1">visualizations online</span></h1>
167176
<li/>Online Python Tutor supports Python <a
168177
href="http://www.python.org/doc/2.7/">2.7</a> and <a
169178
href="http://www.python.org/doc/3.2/">3.2</a> with limited module
170-
imports and no file I/O, hosted on either a CGI-capable web server or
171-
on <a href="https://developers.google.com/appengine/">Google App Engine</a>
179+
imports and no file I/O, hosted on either a CGI-capable server or on
180+
<a href="https://developers.google.com/appengine/">Google App
181+
Engine</a>
172182

173183
<li/>BSD-licensed source code available in this <a
174184
href="https://github.com/pgbovine/OnlinePythonTutor/">GitHub

0 commit comments

Comments
 (0)