Skip to content
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

Update hangman.css #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
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
151 changes: 81 additions & 70 deletions docker/nginx/site/css/hangman.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
Hangman

Author: Justin Cook
Credits: Jeffri Hong
*/
Expand Down Expand Up @@ -28,38 +27,40 @@ p
}
#gallows .top {
position: absolute;
/* width: 60%; */
width: 60%;
height: 1em;
background: #000;
background: #544300;
border-radius: 1em;
}
#gallows .support {
position: absolute;
width: .5em;
width: 1em;
height: 7em;
left: 2em;
background: #000;
background: #544300;
-webkit-transform: rotate(-145deg);
-moz-transform: rotate(-145deg);
}
#gallows .hanger {
position: absolute;
width: 1em;
height: 3em;
left: 45%;
background: #000;
height: 6em;
left: 46%;
background: #544300;
border-radius: 1em;
}
#gallows .upright {
width: 1em;
height: 100%;
background: #000;
background: #544300;
position: absolute;
}
#gallows .bottom {
position: absolute;
top: 100%;
width: 100%;
height: 1em;
background: #000;
background: #544300;
margin-left: -3em;
}
.stick
Expand All @@ -73,7 +74,7 @@ p
{
width: 2.5em;
height: 2.5em;
background: #fff;
background: #fbceb1;
border: .15em solid #000;
border-radius: 1.2em 1.2em;
-moz-border-radius: 1.25em 1.25em;
Expand All @@ -83,47 +84,55 @@ p
margin-left: -1.4em;
text-align: center;
line-height: 3em;
display: none;
display: none;

}
.stick .body
{
width: .15em;
width: 3em;
height: 4em;
background: #000;
background:#ff0000;
border: .15em solid #000;
border-radius: 1em;
position: absolute;
top: 2.7em;
left: 50%;
margin-left: -.1em;
display: none;
left: 0%;
margin-left: -1.6em;
z-index: 1000;
display: none;
}
.stick .part
{
width: .15em;
height: 5em;
width: .7em;
height: 7em;
position: absolute;
/* top: .2em; */
left: 50%;
margin-left: -.1em;
margin-left: -.4em;

}
.stick .part div
{
height: 50%;
background: #000;
background:#00ff00;
border: .15em solid #000;
border-radius: 1em;
}
.stick .lefthand
{
top: .2em;
-webkit-transform: rotate(-130deg);
-moz-transform: rotate(-130deg);
display: none;
display: none;
}

.stick .righthand
{
top: .2em;
-webkit-transform: rotate(130deg);
-moz-transform: rotate(130deg);
display: none;
display: none;

}

.stick .leftfoot
Expand All @@ -132,7 +141,8 @@ p
top: 3em;
-webkit-transform: rotate(-160deg);
-moz-transform: rotate(-160deg);
display: none;
display: none;

}

.stick .rightfoot
Expand All @@ -141,7 +151,8 @@ p
top: 3em;
-webkit-transform: rotate(160deg);
-moz-transform: rotate(160deg);
display: none;
display: none;

}
.usrint {
position: absolute;
Expand All @@ -155,7 +166,7 @@ p#hint {
}

/* General iPad layouts */
@media only screen
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px) {
#gallows .top {
Expand All @@ -167,7 +178,7 @@ and (max-device-width: 1024px) {
}

/* iPad in portrait */
@media only screen
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation:portrait) {
Expand All @@ -185,10 +196,10 @@ and (orientation:landscape) {
width: 60%;
}
}

/* General retina iPad */
@media only screen
and (min-device-width : 768px)
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
#gallows .top {
Expand All @@ -197,9 +208,9 @@ and (-webkit-min-device-pixel-ratio: 2) {
}

/* iPad retina in portrait */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2) {
#gallows .top {
Expand All @@ -208,9 +219,9 @@ and (-webkit-min-device-pixel-ratio: 2) {
}

/* iPad retina in landscape */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2) {
#gallows .top {
Expand All @@ -219,28 +230,28 @@ and (-webkit-min-device-pixel-ratio: 2) {
}

/* iPhone 6 Plus in portrait & landscape */
@media only screen
and (min-device-width : 414px)
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px) {
#gallows .top {
width: 125%;
}
}

/* iPhone 6 Plus in landscape */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
and (orientation : landscape) {
#gallows .top {
width: 60%;
}
}

/* iPhone 6 Plus in portrait */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
and (orientation : portrait) {
#gallows {
width: 50%;
Expand All @@ -254,86 +265,86 @@ and (orientation : portrait) {
}

/* iPhone 6 in portrait & landscape */
@media only screen
and (min-device-width : 375px)
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
#gallows .top {
width: 80%;
}
}

/* iPhone 6 in landscape */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : landscape) {
#gallows .top {
width: 60%;
}
}

/* iPhone 6 in portrait */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : portrait) {
#gallows .top {
width: 60%;
}
}

/* iPhone 5 & 5S in portrait & landscape */
@media only screen
and (min-device-width : 320px)
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {
#gallows .top {
width: 60%;
}
}

/* iPhone 5 & 5S in landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : landscape) {
#gallows .top {
width: 60%;
}
}

/* iPhone 5 & 5S in portrait */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait) {
#gallows .top {
width: 80%;
}
}

/* iPhone 2G-4S general */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
#gallows .top {
width: 60%;
}
}

/* iPhone 2G-4S in landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
and (orientation : landscape) {
#gallows .top {
width: 60%;
}
}

/* iPhone 2G-4S in portrait */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
and (orientation : portrait) {
#gallows .top {
width: 80%;
Expand All @@ -347,7 +358,7 @@ and (min-width : 1224px) {
width: 60%;
}
}

/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
Expand Down