Created
March 25, 2013 23:49
-
-
Save tylergannon/5241972 to your computer and use it in GitHub Desktop.
A hectic stylesheet
This file contains hidden or 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
| body { | |
| padding-top: 50px; | |
| padding-left: 80px; } | |
| .flash { | |
| position: absolute; | |
| left: 0%; | |
| font-size: 50pt; | |
| font-family: 'VT323', cursive; | |
| top: 0; } | |
| .flash .message { | |
| background-color: red; | |
| padding: 10px; | |
| border-radius: 22px; } | |
| #gameboard.size8 { | |
| width: 544px; | |
| height: 544px; } | |
| #gameboard.size8 .controls { | |
| height: 24px; } | |
| #gameboard.size8 .controls a { | |
| background-size: 24px; | |
| width: 24px; | |
| height: 24px; } | |
| #gameboard.size8 span { | |
| width: 60px; | |
| height: 60px; | |
| border: 4px solid black; } | |
| #gameboard.size8 span .content { | |
| font-size: 24pt; | |
| opacity: 0.8; } | |
| #gameboard.size16 { | |
| width: 784px; | |
| height: 784px; } | |
| #gameboard.size16 .controls { | |
| height: 18px; } | |
| #gameboard.size16 .controls a { | |
| background-size: 18px; | |
| width: 18px; | |
| height: 18px; } | |
| #gameboard.size16 span { | |
| width: 45px; | |
| height: 45px; | |
| border: 2px solid black; } | |
| #gameboard.size16 span .content { | |
| font-size: 16pt; | |
| opacity: 0.8; } | |
| #gameboard.size22 { | |
| width: 924px; | |
| height: 924px; } | |
| #gameboard.size22 .controls { | |
| height: 16px; } | |
| #gameboard.size22 .controls a { | |
| background-size: 16px; | |
| width: 16px; | |
| height: 16px; } | |
| #gameboard.size22 span { | |
| width: 40px; | |
| height: 40px; | |
| border: 1px solid black; } | |
| #gameboard.size22 span .content { | |
| font-size: 14pt; | |
| opacity: 0.8; } | |
| .controls div { | |
| display: inline; | |
| padding: 0; } | |
| .controls a { | |
| text-indent: -999px; | |
| display: inline-block; | |
| background-repeat: no-repeat; } | |
| #gameboard { | |
| border: 4px solid black; } | |
| #gameboard span { | |
| display: inline-block; | |
| color: white; | |
| vertical-align: bottom; | |
| z-index: 0; } | |
| #gameboard span:hover { | |
| cursor: pointer; } | |
| #gameboard span.clicked { | |
| background: gray; | |
| color: black; } | |
| #gameboard span.clicked:hover { | |
| cursor: default; } | |
| #gameboard span.clicked .mark_square { | |
| display: none; } | |
| #gameboard span .unmark_square { | |
| display: none; } | |
| #gameboard span.marked { | |
| background: yellow; | |
| color: yellow; } | |
| #gameboard span.marked:hover { | |
| cursor: default; } | |
| #gameboard span.marked .clear_adjacent { | |
| display: none; } | |
| #gameboard span.marked .mark_square { | |
| display: none; } | |
| #gameboard span.marked .unmark_square { | |
| display: inline-block; } | |
| #gameboard span .controls { | |
| width: 100px; } | |
| #gameboard span .controls a { | |
| display: none; } | |
| #gameboard span .controls .fun { | |
| display: none; | |
| position: absolute; | |
| height: 300px; | |
| width: 300px; | |
| background-size: 300px; | |
| background-repeat: no-repeat; | |
| z-index: -100; | |
| top: 80px; | |
| left: 700px; } | |
| #gameboard span .controls div:hover .fun { | |
| display: block; | |
| opacity: 0.2; } | |
| #gameboard span:hover .controls a { | |
| z-index: 100; | |
| display: inline-block; } | |
| #gameboard span.cleared:hover .controls a { | |
| display: none; } | |
| #gameboard.boom { | |
| background: red; } | |
| #gameboard.boom span.mine { | |
| background-color: orange; } | |
| #gameboard.boom span:hover .controls a { | |
| display: none; } | |
| #nav { | |
| height: 80px; } | |
| #nav ul { | |
| display: block; | |
| list-style-type: none; } | |
| #nav ul.nav > li { | |
| float: left; } | |
| #nav ul li ul.subnav { | |
| padding-left: 0; | |
| position: absolute; | |
| display: none; } | |
| #nav ul li ul.subnav li { | |
| padding-left: 0; | |
| float: left; } | |
| #nav ul li:hover ul { | |
| display: block; } | |
| #game_controls a { | |
| opacity: 0.3; | |
| color: black; | |
| width: 50px; | |
| height: 50px; | |
| background-size: 50px; | |
| border-width: 5px; | |
| border-radius: 14px; | |
| border-style: solid; | |
| border-color: black; | |
| display: inline-block; | |
| text-decoration: none; | |
| position: relative; | |
| font-size: 50pt; | |
| font-family: 'VT323', cursive; | |
| line-height: 42px; } | |
| #game_controls:hover * { | |
| opacity: 1; } | |
| #clock a { | |
| width: 144px; } | |
| a#mine_count { | |
| width: 60px; } | |
| #new_game { | |
| background-image: url(/assets/games/minesweeper/media-play-c38d4560bcac2561f0a93a53f458db0f.png); } | |
| #new_game_easy { | |
| background-image: url(/assets/games/minesweeper/easy-2d40cbe89c846378634845c6b272b9c7.jpg); } | |
| #new_game_medium { | |
| background-image: url(/assets/games/minesweeper/medium-07111cedd9ec89b66a844e39ba9808f1.jpg); } | |
| #new_game_hard { | |
| background-image: url(/assets/games/minesweeper/hard-5b17256cce991dc1a3c64a2196ce32e9.jpg); } | |
| #validate { | |
| background-image: url(/assets/games/minesweeper/smiley-5537246abcf5a3291f33722842edc3ec.png); } | |
| #save_game { | |
| background-image: url(/assets/games/minesweeper/media-pause-2aaa0b3a54d9f588aa2d4dfb126aa5ca.png); } | |
| #load_game { | |
| background-image: url(/assets/games/minesweeper/media-repeat-alt-4c33c1f08a564f9476172c48a1c01e0a.png); } | |
| .clear_adjacent * { | |
| background-image: url(/assets/games/minesweeper/blowup-9f74a310851b68ed0c95d1d8c3852953.png); } | |
| .mark_square * { | |
| background-image: url(/assets/games/minesweeper/bomb-73c2b80b4d7645322fcce11bea0024d0.png); } | |
| .unmark_square * { | |
| background-image: url(/assets/games/minesweeper/nobomb-987d7579e6c8647706d317c8bb952373.png); } | |
| #template { | |
| display: none; } | |
| #boom { | |
| font-size: 100px; | |
| position: absolute; | |
| top: 300px; | |
| left: 100px; } | |
| #title { | |
| word-wrap: break-word; | |
| font-size: 50pt; | |
| font-family: 'VT323', cursive; | |
| position: absolute; | |
| left: 44px; | |
| top: 160px; | |
| opacity: 0.3; | |
| width: 25px; } | |
| /* | |
| * This is a manifest file that'll be compiled into application.css, which will include all the files | |
| * listed below. | |
| * | |
| * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | |
| * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. | |
| * | |
| * You're free to add application-wide styles to this file and they'll appear at the top of the | |
| * compiled file, but it's generally better to create a new file per style scope. | |
| * | |
| * | |
| */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment