-
Notifications
You must be signed in to change notification settings - Fork 784
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
menu #29
Open
driccamay
wants to merge
3
commits into
jakesgordon:master
Choose a base branch
from
driccamay:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
menu #29
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<!DOCTYPE html> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good job |
||
<html> | ||
<head> | ||
<title>Javascript Tetris</title> | ||
<style> | ||
body { font-family: Helvetica, sans-serif; } | ||
#tetris { margin: 1em auto; padding: 1em; border: 4px solid black; border-radius: 10px; background: url(gip1.gif); } | ||
#stats { display: inline-block; vertical-align: top; } | ||
#menu { display: inline-block; vertical-align: top; position: relative; } | ||
#menu p { margin: 0.5em 0; text-align: center; } | ||
#menu p a { text-decoration: none; color: black; } | ||
@media screen and (min-width: 0px) and (min-height: 0px) { #tetris { font-size: 0.75em; width: 250px; } #menu { width: 100px; height: 200px; } #upcoming { width: 50px; height: 50px; } #canvas { width: 100px; height: 200px; } } /* 10px chunks */ | ||
@media screen and (min-width: 400px) and (min-height: 400px) { #tetris { font-size: 1.00em; width: 350px; } #menu { width: 150px; height: 300px; } #upcoming { width: 75px; height: 75px; } #canvas { width: 150px; height: 300px; } } /* 15px chunks */ | ||
@media screen and (min-width: 500px) and (min-height: 500px) { #tetris { font-size: 1.25em; width: 450px; } #menu { width: 200px; height: 400px; } #upcoming { width: 100px; height: 100px; } #canvas { width: 200px; height: 400px; } } /* 20px chunks */ | ||
@media screen and (min-width: 600px) and (min-height: 600px) { #tetris { font-size: 1.50em; width: 550px; } #menu { width: 250px; height: 500px; } #upcoming { width: 125px; height: 125px; } #canvas { width: 250px; height: 500px; } } /* 25px chunks */ | ||
@media screen and (min-width: 700px) and (min-height: 700px) { #tetris { font-size: 1.75em; width: 650px; } #menu { width: 300px; height: 600px; } #upcoming { width: 150px; height: 150px; } #canvas { width: 300px; height: 600px; } } /* 30px chunks */ | ||
@media screen and (min-width: 800px) and (min-height: 800px) { #tetris { font-size: 2.00em; width: 750px; } #menu { width: 350px; height: 700px; } #upcoming { width: 175px; height: 175px; } #canvas { width: 350px; height: 700px; } } /* 35px chunks */ | ||
@media screen and (min-width: 900px) and (min-height: 900px) { #tetris { font-size: 2.25em; width: 850px; } #menu { width: 400px; height: 800px; } #upcoming { width: 200px; height: 200px; } #canvas { width: 400px; height: 800px; } } /* 40px chunks */ | ||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
|
||
<div id="tetris"> | ||
<div id="menu"> | ||
|
||
<style> | ||
|
||
.button { | ||
display: inline-block; | ||
padding: 15px 25px; | ||
font-size: 24px; | ||
cursor: pointer; | ||
text-align: center; | ||
align-content: center; | ||
text-decoration: none; | ||
outline: none; | ||
color: #fff; | ||
background-color: #4CAF50; | ||
border: none; | ||
border-radius: 15px; | ||
box-shadow: 0 9px #999; | ||
} | ||
|
||
.button | ||
{ | ||
width: 150px; | ||
text-align: center; | ||
align-items: center; | ||
alignment-baseline: central; | ||
margin:5 auto; | ||
right: -150px; | ||
|
||
|
||
} | ||
.button:hover {background-color: #3e8e41} | ||
|
||
.button:active { | ||
background-color: #3e8e41; | ||
box-shadow: 0 5px #666; | ||
transform: translateY(4px); | ||
align-content: center; | ||
} | ||
.button{ | ||
display: block; | ||
margin-left: 500px; | ||
position: absolute; | ||
bottom: 250px; | ||
</style> | ||
|
||
<body> | ||
|
||
<a href="index.html" class="button">START</a> | ||
|
||
</body> | ||
<style> | ||
|
||
.Qbutton { | ||
display: inline-block; | ||
padding: 15px 25px; | ||
font-size: 24px; | ||
cursor: pointer; | ||
text-align: center; | ||
align-content: center; | ||
text-decoration: none; | ||
outline: none; | ||
color: #fff; | ||
background-color: #4CAF50; | ||
border: none; | ||
border-radius: 15px; | ||
box-shadow: 0 9px #999; | ||
} | ||
|
||
.Qbutton | ||
{ | ||
width: 150px; | ||
text-align: center; | ||
align-items: center; | ||
alignment-baseline: central; | ||
margin:5 auto; | ||
right: -150px; | ||
|
||
|
||
} | ||
.Qbutton:hover {background-color: #3e8e41} | ||
|
||
.Qbutton:active { | ||
background-color: #3e8e41; | ||
box-shadow: 0 5px #666; | ||
transform: translateY(4px); | ||
align-content: center; | ||
} | ||
.Qbutton{ | ||
display: block; | ||
margin-left: 500px; | ||
position: absolute; | ||
bottom: 150px; | ||
</style> | ||
<body> | ||
|
||
<a href="Javascript:window.close()" class="Qbutton">QUIT</a> | ||
|
||
|
||
|
||
</body> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test