forked from SebasAriasDEV/p2-typescript-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e855c0a
commit 4ededa0
Showing
2 changed files
with
94 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Pokemon Name</title> | ||
<link | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
rel="stylesheet" | ||
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" | ||
crossorigin="anonymous" | ||
/> | ||
<link href="./styles.css" rel="stylesheet" /> | ||
</head> | ||
<body> | ||
<h1>Pokemon Name</h1> | ||
<hr /> | ||
|
||
<div class="row"> | ||
<div class="col-3" style="text-align: center;"> | ||
<img | ||
src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/dream-world/1.svg" | ||
/> | ||
</div> | ||
|
||
<div class="col-9"> | ||
<div class="row mb-3"> | ||
<div class="col-4"> | ||
<div class="stats-card"> | ||
<p class="stat-title">HP:</p> | ||
<p class="stat-number">350</p> | ||
</div> | ||
</div> | ||
<div class="col-4"> | ||
<div class="stats-card"> | ||
<p class="stat-title">HP:</p> | ||
<p class="stat-number">350</p> | ||
</div> | ||
</div> | ||
<div class="col-4"> | ||
<div class="stats-card"> | ||
<p class="stat-title">HP:</p> | ||
<p class="stat-number">350</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-4"> | ||
<div class="stats-card"> | ||
<p class="stat-title">HP:</p> | ||
<p class="stat-number">350</p> | ||
</div> | ||
</div> | ||
<div class="col-4"> | ||
<div class="stats-card"> | ||
<p class="stat-title">HP:</p> | ||
<p class="stat-number">350</p> | ||
</div> | ||
</div> | ||
<div class="col-4"> | ||
<div class="stats-card"> | ||
<p class="stat-title">HP:</p> | ||
<p class="stat-number">350</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<button class="btn btn-primary"> << Go back</button> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,25 @@ | ||
body,html{ | ||
padding: 1.5%; | ||
body, | ||
html { | ||
padding: 1.5%; | ||
} | ||
|
||
.poke-thumb { | ||
background-color: lightgray; | ||
background-color: lightgray; | ||
} | ||
|
||
.stats-card { | ||
border: 1px solid lightgray; | ||
border-radius: 10px; | ||
margin: 0px 8px; | ||
padding: 10px; | ||
} | ||
|
||
.stat-number { | ||
font-size: 32px; | ||
text-align: center; | ||
} | ||
|
||
.stat-title { | ||
color: grey; | ||
text-align: center; | ||
} |