diff --git a/_posts/2017-07-28-slime.md b/_posts/2017-07-28-slime.md index d8b2da0a..2a7478da 100755 --- a/_posts/2017-07-28-slime.md +++ b/_posts/2017-07-28-slime.md @@ -7,4 +7,4 @@ cards: [Slime Chargers Embed, Slime Chargers!, Slime Chargers Screenshot 1, Slim links: ["Source Code|https://github.com/thepaperpilot/Slime-Chargers", "Play Game|https://thepaperpilot.itch.io/ld39", "Ludum Dare Entry|https://ldjam.com/events/ludum-dare/39/slime-chargers"] tags: [javascript, pixi.js, ludum dare] --- -A game made for Ludum Dare 39 about using slimes to charge crystals. +A game made for Ludum Dare 39 about using slimes to charge crystals. It was made entirely by me, including the design, art, sound, and of course code. diff --git a/css/main.css b/css/main.css index a0acff7e..fffe9851 100755 --- a/css/main.css +++ b/css/main.css @@ -12,12 +12,12 @@ } footer { + background: #242a33; font-size: .8em; - width: 90%; - max-width: 900px; margin: auto; - margin-top: 20px; - padding-bottom: 10px; + padding-top: 20px; + padding-bottom: 20px; + text-align: center; } a { @@ -55,7 +55,6 @@ body { background: transparent; margin: 0; padding: 0; - margin-bottom: 10px; overflow-x: hidden; } @@ -81,7 +80,7 @@ h1:first-child { } body > h4 { - width: 90%; + width: 95%; max-width: 940px; margin: 20px auto -10px auto; color: white; @@ -139,7 +138,7 @@ ul:not(.browser-default) li { .container { margin: 0 auto; max-width: 1280px; - width: 90%; + width: 95%; text-align: justify; } @@ -301,10 +300,35 @@ button.accordion:focus { text-align: center; } +.two-section, +.three-section { + display: flex; + flex-flow: wrap; +} + +.two-section .card { + width: calc(50% - 40px) !important; +} + +.three-section .card { + width: calc(33% - 40px) !important; +} + .card-title a { color: white; } +.card-content .card-image:first-child { + margin-top: -20px; +} + +@media screen and (max-width: 1200px) { + .two-section .card, + .three-section .card { + width: 95% !important; + } +} + @media screen and (max-device-width: 480px) { .head { padding: 10px; @@ -370,7 +394,8 @@ button.accordion:focus { margin: 0 -20px 20px -20px; } -.card .card-image img { +.card .card-image img, +.card .card-image video { display: block; border-radius: 2px 2px 0 0; position: relative; @@ -417,7 +442,7 @@ table { } .off { - width: 90%; + width: 95%; max-width: 940px; margin: auto; margin-top: 10px; @@ -438,7 +463,7 @@ a.btn, a.btn-flat, input.btn, input.btn-flat { } body > .collapsible, body > .collection, body .card, body .slider, body > .container { - width: 90% !important; + width: 95% !important; max-width:940px !important; margin:auto !important; margin-bottom:20px !important; diff --git a/index.html b/index.html index 6398b555..5549857d 100755 --- a/index.html +++ b/index.html @@ -21,49 +21,68 @@ favorites: [NaN, Tower Offense, Slime Chargers!]