Skip to content

Scoreboard #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ec463fd
Populates score read from linescore file into boxscore table
pabloest Apr 30, 2012
1e6e805
Styling for box score
pabloest Apr 30, 2012
46406f9
More styling for boxscore
pabloest May 1, 2012
4606886
Updated styling; URL constructor to grab live data, URLs populated fo…
pabloest May 1, 2012
8ea5cc2
Changed box score final score colors for readability
pabloest May 8, 2012
cc4eba2
restructuring js and css files
pabloest May 14, 2012
ec04c66
Conflict resolution
pabloest May 14, 2012
0106d7b
Conflict resolution
pabloest May 14, 2012
9ab623c
URL constructor function for using YQL to get MLB JSON data for scores
pabloest May 21, 2012
b9527ef
Boxscore now flexible for extra inning games
pabloest May 22, 2012
78f29df
updated styling for width
pabloest Jun 7, 2012
9671630
Updated URLs for boxscores through early August
pabloest Jun 7, 2012
a9ce0d2
Syntax error bug fixes
pabloest Jun 7, 2012
a00d25d
Code and comment cleanup
pabloest Jun 7, 2012
4f1a6a9
Merge branch 'master' of git://github.com/lforrest/isthereagiantsgame…
pabloest Mar 8, 2015
cdee6b4
Update with 2015 schedule
pabloest Mar 8, 2015
830c5f7
Corrected 2015 schedule
pabloest Mar 8, 2015
23bc9de
Updated processing of json object
pabloest Mar 8, 2015
79d2244
Generalize method to get link to linescore and linescore's data
pabloest Mar 8, 2015
90f73e7
Indentation
pabloest Mar 8, 2015
7338b70
Formatting
pabloest Mar 8, 2015
1fc8765
Only show the scoreboard if there are scores to show
pabloest Mar 8, 2015
e7ef810
Only populate the scores if the game has already started
pabloest Mar 8, 2015
3ce8f1b
Fix incorrect home/away team coloring and labeling
pabloest Mar 9, 2015
876d553
Updated about page
pabloest Mar 9, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
<title>Is there a Giants game today?</title>
</head>
<body>
<p>This site created by <a href="http://lauraforrest.com/">Laura Forrest</a> and <a href="http://dailycavalier.com">William Reynolds</a>, two San Franciscans who during 9 months of the year find themselves constantly asking <i>Is there a Giants game today?</i>.</p>

<p>Have an idea? <a href="https://github.com/lforrest/isthereagiantsgametoday/">Fork this project</a> on Github and submit pull requests.</p>
<p>This site was forked from a <a href="https://github.com/lforrest/isthereagiantsgametoday/">Github project</a> created by <a href="http://lauraforrest.com/">Laura Forrest</a> and <a href="http://dailycavalier.com">William Reynolds</a>. The source for this site can also be found on Github.</p>
</body>
</html>
</html>
36 changes: 31 additions & 5 deletions css/site.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,38 @@
body {font-family: Helvetica, Arial, sans-serif; line-height:1.3; text-align:center; width:80%; margin:0 auto;}
#isthere { margin-top: 5%; font-size: 55px; }
#yesno { margin-bottom: 1em; border-top:1px solid #D2612F; border-bottom:1px solid #D2612F; padding-bottom:10px;}
body { font-family: Helvetica, Arial, sans-serif;
line-height:1.3; text-align:center; width:60%; margin:0 auto;}
#isthere { margin-top: 5%; font-size: 50px; }
#yesno { margin-bottom: 2em; border-top:1px solid #D2612F;
border-bottom:1px solid #D2612F; padding-bottom:30px;}
body {font-family: Helvetica, Arial, sans-serif; line-height:1.3; text-align:center; width:60%; margin:0 auto;}
#isthere { margin-top: 5%; font-size: 50px; }
#yesno { margin-bottom: 2em; border-top:1px solid #D2612F; border-bottom:1px solid #D2612F; padding-bottom:30px;}
#game { font-size: 50px; }
#footer { margin: 30px; font-size: 20px; }

a:link, a:visited { text-decoration: none; color: #D2612F; }
a:hover { border-bottom: 2px solid black ; }
#counter:hover { border: 0; text-decoration: underline; }

.fill-in { font-family: 'Permanent Marker', arial, serif; font-size: 150px; }
.homeaway { font-weight: bold; font-size: 50px; }
.home { background: #000000; color: #D2612F; }
.away { background: #FFFFFF; color: #000000; }
.boxscore {font-size: 16px; width: 500px; margin: 30px auto 10px auto; display: none;}
.boxscore table {
border: 1px solid #666;
/* width: 480px;*/
}
.boxscore td {border: 1px solid #666; min-width: 25px; width:30px;}
.boxscore .team, .awayteam, .hometeam {
text-align: left;
width: 120px;
padding-left: 5px;
}
.boxscore .inning {color: #666;}
.boxscore .giants {color: #D2612F; background: #e5e5e5;}
.boxscore .opponent {color: #000; background: #e5e5e5;}
a:hover { border-bottom: 2px solid #000; }
a#counter:hover { border: 0; text-decoration: underline; }
#counter:hover { border: 0; text-decoration: underline; }

#game { display: none; }
.fill-in { font-family: 'Permanent Marker', arial, sans-serif; font-size: 150px; }
Expand Down Expand Up @@ -58,4 +84,4 @@ a#counter:hover { border: 0; text-decoration: underline; }
@media screen and (max-width: 240px) {


}
}
Loading