diff --git a/index.css b/index.css index ae8b9a0..3d8d755 100644 --- a/index.css +++ b/index.css @@ -1,3 +1,88 @@ html { - + text-align: center; + font-family: 'Delius Unicase', cursive; +} + +body { + background-image: url("starsbg.png"); +} + +/*** +TITLE AND MESSAGE +***/ + +h1 { + font-size: 4rem; + margin-top: 0rem; + margin-bottom: 0rem; + color: #B345B9; +} + +#message { + font-size: 1.5rem; + margin-top: 0rem; + margin-bottom: .5rem; + color: #F04DB5; + font-weight: bold; +} + +/*** +GAME BOARD +***/ + +/*entire table*/ +#game-board { + width: 40%; + font-size: 6rem; + border-collapse: collapse; + border-spacing: 0; + margin-top: 3rem; + margin-left: auto; + margin-right: auto; +} + +/*size of each space*/ +td { + padding: 5rem; + cursor: pointer; +} + +/*hover img over space*/ +.space_hover { + background-image: url("moon.png"); + background-size: 40%; + background-repeat: no-repeat; + background-position: center; +} + +/*horizontal lines*/ +#top-row, #middle-row { + border-bottom: .5rem solid #A908E2; +} + +/*vertical lines*/ +#space-1, #space-4, #space-7, #space-2, #space-5, #space-8 { + border-right: .5rem solid #BB29EF; +} + +/*** +SPACE MARKERS +***/ + +/*player 1 space marker*/ +.player_1 { + background-image: url("locket.png"); + background-size: 85%; + background-repeat: no-repeat; + background-position: center; + transition: all .3s ease-in; +} + +/*player 2 space marker*/ +.player_2 { + background-image: url("locket2.png"); + background-size: 85%; + background-repeat: no-repeat; + background-position: center; + transition: all .3s ease-in; } diff --git a/index.html b/index.html index de8d985..a8ade39 100644 --- a/index.html +++ b/index.html @@ -3,13 +3,40 @@
+ | + | + |
+ | + | + |
+ | + | + |