atomic-css/index.html

160 lines
4.9 KiB
HTML
Raw Normal View History

2021-09-08 13:21:22 -04:00
<!DOCTYPE html>
<html>
<head>
<style>
.block
{
position:relative;
display: flex;
2021-09-10 09:36:46 -04:00
align-items: flex-start;
2021-09-08 13:21:22 -04:00
margin: 0;
padding: 0;
border: 0;
border-radius: 5px;
}
2021-09-08 14:52:42 -04:00
.block > *
2021-09-08 13:21:22 -04:00
{
2021-09-08 14:52:42 -04:00
padding:10px 0 10px 10px;
2021-09-08 13:21:22 -04:00
}
2021-09-08 14:52:42 -04:00
.block > *:last-child
2021-09-08 14:05:57 -04:00
{
2021-09-08 14:52:42 -04:00
padding-right: 10px;
2021-09-08 14:05:57 -04:00
}
2021-09-08 14:21:13 -04:00
2021-09-10 09:36:46 -04:00
.block__hit-area
2021-09-08 14:52:42 -04:00
{
width:100%;
}
2021-09-10 09:36:46 -04:00
.block--bordered
{
border:1px solid #ddd;
}
input[type='radio']
2021-09-08 14:05:57 -04:00
{
appearance: none;
2021-09-10 09:36:46 -04:00
display:block;
margin:0;
padding:0;
border:0;
width:0;
height:0;
}
input[type='radio'] + .block label
{
position: relative;
padding-left:50px;
2021-09-08 14:05:57 -04:00
}
2021-09-10 09:36:46 -04:00
input[type='radio'] + .block label::before
2021-09-08 14:05:57 -04:00
{
content: " ";
display: block;
2021-09-10 09:36:46 -04:00
position: absolute;
top: 10px;
left: 10px;
2021-09-08 14:05:57 -04:00
width: 17px;
height: 17px;
border: 2px solid #000;
border-radius: 20px;
}
2021-09-10 09:36:46 -04:00
input[type='radio']:checked + .block label::after
2021-09-08 14:05:57 -04:00
{
content: " ";
display: block;
position: absolute;
width: 11px;
height: 11px;
2021-09-08 14:21:13 -04:00
top: 15px;
left: 15px;
2021-09-08 14:05:57 -04:00
border-radius: 20px;
background: #000;
}
2021-09-10 09:36:46 -04:00
input[type='radio']:checked + .block
{
background:yellow;
}
2021-09-08 13:21:22 -04:00
</style>
2021-09-09 14:16:25 -04:00
<style>
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;600;900&display=swap');
.text--size-micro{ font-size: 12px; line-height:24px; }
.text--size-small{ font-size: 14px; line-height:24px; }
.text--size-copy{ font-size:16px; line-height:24px; }
.text--size-h2{ font-size:24px; line-height:28px; }
.text--size-h1{ font-size:32px; line-height:48px; }
.text--green-darken-01{ color: #4B6451; }
.text--weight-light{ font-family:"Nunito Sans"; font-weight:100; }
.text--weight-normal{ font-family:"Nunito Sans"; font-weight:300; }
.text--weight-bold{ font-family:"Nunito Sans"; font-weight:600; }
.text--weight-black{ font-family:"Nunito Sans"; font-weight:900; }
.text--uppercase{ text-transform: uppercase; }
2021-09-10 09:36:46 -04:00
.gap--lg { margin:72px 0 0 0; }
.gap--md { margin:47px 0 0 0; }
.gap--sm { margin:24px 0 0 0; }
.gap--xs { margin:12px 0 0 0; }
2021-09-09 14:16:25 -04:00
</style>
2021-09-08 13:21:22 -04:00
</head>
<body>
<form>
2021-09-08 14:05:57 -04:00
2021-09-10 09:36:46 -04:00
<div class="text--size-h2 text--weight-black gap--reset gap--lg">Review Your Order</div>
<div class="text--size-copy text--weight-black text--uppercase gap--sm">Payment Method</div>
<div class="block block--bordered gap--xs">
2021-09-09 14:16:25 -04:00
<div class="text--size-copy text--weight-bold">Credit Card</div>
<a class="text--green-darken-01" href="/">Change</a>
</div>
2021-09-10 09:36:46 -04:00
<input id="check-1" type="radio" name="slot-1" value="option-1"/>
2021-09-08 14:05:57 -04:00
<div class="block">
2021-09-10 09:36:46 -04:00
<label class="block__hit-area" for="check-1">
2021-09-09 14:16:25 -04:00
<span class="text--size-copy text--weight-bold">Credit Card</strong><br>
<span class="text--size-copy text--weight-normal">Credit Card</span><br>
<span class="text--size-copy text--weight-normal">Credit Card</span><br>
<span class="text--size-copy text--weight-normal">Credit Card</span><br>
<span class="text--size-copy text--weight-normal">Credit Card</span>
2021-09-08 14:05:57 -04:00
</label>
2021-09-10 09:36:46 -04:00
<a class="block__auxillary" href="/">Change</a>
2021-09-08 14:05:57 -04:00
</div>
2021-09-10 09:36:46 -04:00
<input id="check-2" type="radio" name="slot-1" value="option-2"/>
2021-09-08 13:21:22 -04:00
<div class="block">
2021-09-10 09:36:46 -04:00
<label class="block__hit-area" for="check-2">
2021-09-08 14:52:42 -04:00
<strong>Paypal</strong><br>
<span>also good</span>
</label>
2021-09-10 09:36:46 -04:00
<a class="block__auxillary" href="/">Change</a>
</div>
<div class="text--size-h2 text--weight-black">Shipping Information</div>
<div class="text--size-copy text--weight-black text--uppercase">Shipping Information</div>
<div class="block block--bordered">
<div class="block__hit-area">
<div class="text--size-copy text--weight-bold">Shell Long TP Check</div>
<div class="text--size-copy text--weight-normal">
8759 Cardinal Court<br>
Windmere, FL 34786<br>
US
</div>
<div class="text--size-copy text--weight-normal">
8759 Cardinal Court<br>
Windmere, FL 34786<br>
US
</div>
</div>
<a class="block__auxillary" href="">Change</a>
2021-09-08 13:21:22 -04:00
</div>
2021-09-08 14:05:57 -04:00
2021-09-08 13:21:22 -04:00
</form>
</body>
</html>