diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-11-07 18:20:08 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-11-07 18:20:08 +0100 |
| commit | d656de03fc22e5b39117087ef4e95cfc9f239708 (patch) | |
| tree | 68413f4bdf9dffcd89288fc5f4eb939b495ac6af /utils/minesweeper/style.css | |
| parent | 4a890dad70bed4fa158f0607ee44fa5f02502b9c (diff) | |
| download | cacharle.xyz-d656de03fc22e5b39117087ef4e95cfc9f239708.tar.gz cacharle.xyz-d656de03fc22e5b39117087ef4e95cfc9f239708.tar.bz2 cacharle.xyz-d656de03fc22e5b39117087ef4e95cfc9f239708.zip | |
Added mine flagging, lost and won flash messages, won detection
Diffstat (limited to 'utils/minesweeper/style.css')
| -rw-r--r-- | utils/minesweeper/style.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/utils/minesweeper/style.css b/utils/minesweeper/style.css index b9c6c1c..7d2a0b1 100644 --- a/utils/minesweeper/style.css +++ b/utils/minesweeper/style.css @@ -44,6 +44,10 @@ table button.visited { border-width: 1px; } +table button.flagged { + background: url("flag.svg"); +} + button { font-weight: bold; } @@ -91,3 +95,25 @@ input { padding: 5px 10px; margin: 0 !important; } + +#flash-message { + padding: 10px; + border: solid; + border-width: 2px; + border-radius: 7px; + margin: auto; + width: 50%; + margin-bottom: 30px; + text-align: center; +} + +#flash-message.flash-won { + background: #2e7d32; + border-color: #1b5e20; +} + +#flash-message.flash-lost { + background: #c62828; + border-color: #b71c1c; +} + |
