Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed firefox problem (need a clear:both after the float:left;
tiles to stop the popup shrinking vertically. Also separated css
- Loading branch information
Showing
5 changed files
with
55 additions
and
86 deletions.
There are no files selected for viewing
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
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
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
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
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,49 @@ | ||
body{ | ||
font-family:"Ubuntu"; | ||
} | ||
.wordtile{ | ||
border:none; | ||
width:100px; | ||
height:180px; | ||
float:left; | ||
text-align:center; | ||
margin:5px; | ||
cursor: pointer; | ||
padding-top:10px; | ||
border-radius:15px; | ||
box-shadow:rgba(0,0,0,0.5) 0px 0px 24px; | ||
position:relative; | ||
cursor:pointer; | ||
} | ||
.wordtile img{ | ||
width:80px; | ||
margin:10px; | ||
position:absolute; | ||
left:0px; | ||
bottom:10px; | ||
} | ||
.wordtile:hover img{ | ||
filter: alpha(opacity=85); /* for the sake of IE < 9 */ | ||
opacity: 0.85; | ||
} | ||
.wordtile:hover{ | ||
box-shadow:rgba(0,0,0,.3) 0px 0px 24px; | ||
} | ||
.verb{ | ||
background:#e8b7a6; | ||
} | ||
.verb:hover{ | ||
background:#dcaf9e; | ||
} | ||
.noun{ | ||
background:#89a8cd; | ||
} | ||
.noun:hover{ | ||
background:#82a0c3; | ||
} | ||
.other{ | ||
background:#9aeab3; | ||
} | ||
.other:hover{ | ||
background:#92deaa; | ||
} |