Pokedex
- +Pokédex - 1ª Geração
+-
-
+
diff --git a/README.md b/README.md deleted file mode 100644 index 0c237c1c3..000000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# Trilha JS Developer - Pokedex diff --git a/assets/css/global.css b/assets/css/global.css index 980e87861..74b3357cd 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -4,7 +4,8 @@ } body { - background-color: #f6f8fc; + background: linear-gradient(10deg, rgba(0, 72, 255, 0.695), rgba(255, 1, 1, 0.695), rgba(245, 221, 1, 0.695)); + background-repeat: no-repeat; } .content { diff --git a/assets/css/pokedex.css b/assets/css/pokedex.css index 59eef2bde..d63e3b50f 100644 --- a/assets/css/pokedex.css +++ b/assets/css/pokedex.css @@ -84,18 +84,21 @@ margin: .5rem; padding: 1rem; border-radius: 1rem; + cursor: pointer; } .pokemon .number { color: #000; opacity: .3; text-align: right; - font-size: .625rem; + font-size: 1rem; } .pokemon .name { text-transform: capitalize; color: #fff; + font-size: 1.3rem; + font-weight: 600; margin-bottom: .25rem; } @@ -116,7 +119,9 @@ color: #fff; padding: .25rem .5rem; margin: .25rem 0; - font-size: .625rem; + font-size: .825rem; + font-weight: 400; + text-transform: capitalize; border-radius: 1rem; filter: brightness(1.1); text-align: center; @@ -137,13 +142,14 @@ } .pagination button { - padding: .25rem .5rem; + padding: .5rem 1rem; margin: .25rem 0; - font-size: .625rem; + font-size: 1rem; color: #fff; background-color: #6c79db; border: none; border-radius: 1rem; + cursor: pointer; } @media screen and (min-width: 380px) { diff --git a/assets/js/main.js b/assets/js/main.js index bcaa24508..62906bc50 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -2,7 +2,7 @@ const pokemonList = document.getElementById('pokemonList') const loadMoreButton = document.getElementById('loadMoreButton') const maxRecords = 151 -const limit = 10 +const limit = 12 let offset = 0; function convertPokemonToLi(pokemon) { @@ -10,7 +10,7 @@ function convertPokemonToLi(pokemon) {