From 7d4e59e7a8ca810e389700e63b8b83bcb964d153 Mon Sep 17 00:00:00 2001 From: nftchance Date: Fri, 11 Nov 2022 13:05:53 -0600 Subject: [PATCH] feat: new font test --- public/index.html | 4 ++++ src/applications/ApplicationForm.js | 4 ++-- src/index.css | 22 ++++++++++------------ src/papers/Paper.css | 6 ++++++ 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/public/index.html b/public/index.html index d68576b..2ed539e 100644 --- a/public/index.html +++ b/public/index.html @@ -17,6 +17,10 @@ + + + + cosanostra diff --git a/src/applications/ApplicationForm.js b/src/applications/ApplicationForm.js index 2a6a346..b67b090 100644 --- a/src/applications/ApplicationForm.js +++ b/src/applications/ApplicationForm.js @@ -103,9 +103,9 @@ const ApplicationForm = ({ setSuccess }) => { return; } - const response = await postApplication(data) + await postApplication(data) .then(response => { - e.target.reset(); // clear form + e.target.reset(); setSuccess(true); }) .catch(err => { diff --git a/src/index.css b/src/index.css index 58d1ccc..e235f1a 100644 --- a/src/index.css +++ b/src/index.css @@ -1,11 +1,6 @@ -@font-face { - font-family: 'Telugu MN'; - src: local('Telugu MN'), url(./static/telugu-mn.woff) format('woff'); -} - * { box-sizing: border-box; - font-family: 'Telugu MN', serif; + font-family: 'Playfair Display', serif; } html, @@ -16,25 +11,28 @@ body { h1, h2, h3, -h4, -h5, label { - color: rgba(255, 255, 255, 0.85) + color: rgba(255, 255, 255, .95) +} + +h4, +h5 { + color:rgba(255, 255, 255, 0.75); } p { - color: rgba(255, 255, 255, 0.65) + color: rgba(255, 255, 255, .75); } ul, ol, li { - color: rgba(255, 255, 255, 0.55) + color: rgba(255, 255, 255, 0.85); } a { text-decoration: none; - color: rgba(255, 255, 255, 0.35); + color: rgba(255, 255, 255, 0.85); transition: all .1s ease-in-out; } diff --git a/src/papers/Paper.css b/src/papers/Paper.css index c335285..f094838 100644 --- a/src/papers/Paper.css +++ b/src/papers/Paper.css @@ -13,6 +13,12 @@ height: auto; } +.paper .markdown a { + text-decoration: none; + border-bottom: 1px solid rgba(255, 216, 0, 1); + transition: all .1s ease-in-out; +} + .paper .attributes { margin-bottom: 40px; }