From 4fa5039e3c633b68a6980db714584cd85ebc445e Mon Sep 17 00:00:00 2001 From: Wendel Nascimento Date: Wed, 19 Jun 2019 12:34:23 -0300 Subject: [PATCH] center text --- _site/assets/css/style.css | 2 +- assets/css/style.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_site/assets/css/style.css b/_site/assets/css/style.css index 3e249c5..9bcfaf7 100644 --- a/_site/assets/css/style.css +++ b/_site/assets/css/style.css @@ -352,7 +352,7 @@ input[type=submit]:after { content: "SUBMIT"; } .card-speaker { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 200px; height: 350px; padding: 8px; margin: 16px !important; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.1); } .card-speaker > img { border-radius: 1000px; } -.card-speaker > .name { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; } +.card-speaker > .name { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; } .card-speaker > .name > h1 { font-size: 16px; margin: 0; margin-top: 16px; } .card-speaker > .name > p { font-size: 12px; margin: 0; text-align: left; margin-bottom: 16px; } .card-speaker > .name > img { align-self: center; } diff --git a/assets/css/style.scss b/assets/css/style.scss index 886cb32..1ddb7a7 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -149,7 +149,7 @@ input[type=submit] { >.name { display: flex; flex-direction: column; - align-items: flex-start; + align-items: center; justify-content: flex-start; >h1 { font-size: 16px;