From d18a7da044b8fdb4ded49e05865b3dc743c4fb58 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 27 Sep 2017 20:07:58 -0400 Subject: Continued working on design, added moves MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Still a very early design Also, for Pokémon that have Natures that don't benefit and hinder the same stat, there is now a + next to the stat that the Nature benefits, and a - next to the stat it hinders. --- app/assets/stylesheets/pokeviewer/pokemon.css.scss | 99 +++++++++++++++++++--- 1 file changed, 89 insertions(+), 10 deletions(-) (limited to 'app/assets') diff --git a/app/assets/stylesheets/pokeviewer/pokemon.css.scss b/app/assets/stylesheets/pokeviewer/pokemon.css.scss index 766a0e0..077aaf7 100644 --- a/app/assets/stylesheets/pokeviewer/pokemon.css.scss +++ b/app/assets/stylesheets/pokeviewer/pokemon.css.scss @@ -3,10 +3,34 @@ They will automatically be included in application.css. */ +body { + +} + +#left-sidebar, #right-sidebar { + flex: 3 0px; +} + +#container { + display: flex; + +} + +#banner { + box-sizing: border-box; + height: 10em; + margin: 0 auto; + width: 60%; +} + +#content { + flex: 10 0px; +} + .trainer { margin: 1em; font-family: 'Power Green'; - width: 758px; +/* width: 758px;*/ box-sizing: border-box; background-color: #f7f7f7; border: 1px solid #999; @@ -70,6 +94,7 @@ .pc-boxes { display: flex; flex-wrap: wrap; + justify-content: space-between; .party { margin: 0; @@ -192,32 +217,86 @@ margin: .5em; } - .pokemon-memo { + .pokemon-column { + display: flex; + flex-direction: column; border-left: 1px solid #aaa; + + &>div + div { + border-top: 1px solid #aaa; + } + } + + .pokemon-row { + display: flex; + flex: 1 0px; + + &>div + div { + border-left: 1px solid #aaa; + } + } + + .pokemon-memo { background-color: #e7e8ff; + flex-grow: 1; .pd-details { - background-color: #2068e0; + background-color: #be3ff8; /*#d078f8;*/ + } + } + + .pokemon-moves { + flex-grow: 1; + + .pd-details { + background-color: #3fb5f8; + } + + ul { + display: flex; + flex-direction: column; + justify-content: space-between; + margin: 0; + padding: 0; + + li { + display: block; + padding: 0.25em; + box-sizing: border-box; + } } } .pokemon-stats { - border-left: 1px solid #aaa; + background-color: #d7f4f6; .pd-details { - background-color: #d078f8; + background-color: #2068e0; + border-bottom: 1px solid #A9C6C8; + } + + .nature-benefit { + color: green; + } + + .nature-hinder { + color: red; } table { - margin: 0 1em; + border-collapse: collapse; + border-style: hidden; + table-layout: fixed; - th { + th, td { text-align: center; - padding-right: .5em; + border: 1px solid #A9C6C8; + padding: 0.25em 0.25em; + width: 16.67%; } - td { - text-align: right; + th { + background-color: #bfdfff; } } } -- cgit 1.4.1