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
Showing
1 changed file
with
123 additions
and
0 deletions.
There are no files selected for viewing
123 changes: 123 additions & 0 deletions
123
02-FrontendDeveloperPractico/Vistas Principales/clase10_my-orders.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 |
---|---|---|
@@ -0,0 +1,123 @@ | ||
<!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>Document</title> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500;700&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<style> | ||
:root { | ||
--white: #fff; | ||
--black: #000; | ||
--very-light-pink: #c7c7c7; | ||
--text-input-field: #f7f7f7; | ||
--hospital-green: #acd9b2; | ||
--sm: 14px; | ||
--md: 16px; | ||
--lg: 18px; | ||
} | ||
body { | ||
margin: 0; | ||
font-family: "Quicksand", sans-serif; | ||
} | ||
.my-order { | ||
width: 100%; | ||
height: 100vh; | ||
display: grid; | ||
place-items: center; | ||
} | ||
.title { | ||
font-size: var(--lg); | ||
margin-bottom: 40px; | ||
} | ||
.my-order-container { | ||
display: grid; | ||
grid-template-rows: auto 1fr auto; | ||
width: 300px; | ||
} | ||
.my-order-content { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
.order { | ||
display: grid; | ||
grid-template-columns: auto 1fr auto; | ||
gap: 16px; | ||
align-items: center; | ||
margin-bottom: 24px; | ||
} | ||
.order p:nth-child(1) { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
.order p:nth-child(2) { | ||
text-align: end; | ||
font-weight: bold; | ||
} | ||
.order p span:nth-child(1) { | ||
font-size: var(--md); | ||
font-weight: bold; | ||
} | ||
.order p span:nth-chil(2) { | ||
font-size: var(--sm); | ||
color: var(--very-light-pink); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="my-order"> | ||
<div class="my-order-container"> | ||
<h1 class="title">My orders</h1> | ||
|
||
<div class="my-order-content"> | ||
<div class="order"> | ||
<p> | ||
<span>04.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="../assets/icons/flechita.svg" alt="" /> | ||
</div> | ||
<div class="order"> | ||
<p> | ||
<span>04.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="../assets/icons/flechita.svg" alt="" /> | ||
</div> | ||
<div class="order"> | ||
<p> | ||
<span>04.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="../assets/icons/flechita.svg" alt="" /> | ||
</div> | ||
<div class="order"> | ||
<p> | ||
<span>04.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="../assets/icons/flechita.svg" alt="" /> | ||
</div> | ||
<div class="order"> | ||
<p> | ||
<span>04.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="../assets/icons/flechita.svg" alt="" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |