From 79ce82df05f951364e414378852d67df65168905 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 7 May 2022 13:50:33 -0700 Subject: [PATCH] doc: add styles to payment stylesheet --- src/Checkout/Payment/Payment.css | 52 ++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/src/Checkout/Payment/Payment.css b/src/Checkout/Payment/Payment.css index e69de29..004e761 100644 --- a/src/Checkout/Payment/Payment.css +++ b/src/Checkout/Payment/Payment.css @@ -0,0 +1,52 @@ +.payment { + background-color: white; +} + +.payment__container > h1 { + text-align: center; + padding: 10px; + font-weight: 400; + background-color: rgb(234, 237, 237); + border-bottom: 1px solid lightgray; +} + +.payment__container > h1 a { + text-decoration: none; +} + +.payment__section { + display: flex; + padding: 20px; + margin: 0 20px; + border-bottom: 1px solid lightgray; +} + +.payment__title { + flex: 0.2; +} + +.payment__address, +.payment__items, +.payment__details { + flex: 0.8; +} + +.payment__details > form { + max-width: 400px; +} + +.payment__details > h3 { + padding-bottom: 20px; +} + +.payment__details > form > div > button { + background: #f0c14b; + border-radius: 2px; + width: 100%; + height: 30px; + border: 1px solid; + font-weight: bolder; + margin-top: 10px; + border-color: #a88734 #9c7e31 #846a29; + color: #111; +}