feat: new font test

This commit is contained in:
nftchance 2022-11-11 13:05:53 -06:00
parent face3fc025
commit 7d4e59e7a8
4 changed files with 22 additions and 14 deletions

View File

@ -17,6 +17,10 @@
<meta name="twitter:image" content="%PUBLIC_URL%/opengraph.png"> <meta name="twitter:image" content="%PUBLIC_URL%/opengraph.png">
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<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=Playfair+Display:wght@400;500;600;700&display=swap" rel="stylesheet">
<title>cosanostra</title> <title>cosanostra</title>
</head> </head>
<body> <body>

View File

@ -103,9 +103,9 @@ const ApplicationForm = ({ setSuccess }) => {
return; return;
} }
const response = await postApplication(data) await postApplication(data)
.then(response => { .then(response => {
e.target.reset(); // clear form e.target.reset();
setSuccess(true); setSuccess(true);
}) })
.catch(err => { .catch(err => {

View File

@ -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; box-sizing: border-box;
font-family: 'Telugu MN', serif; font-family: 'Playfair Display', serif;
} }
html, html,
@ -16,25 +11,28 @@ body {
h1, h1,
h2, h2,
h3, h3,
h4,
h5,
label { label {
color: rgba(255, 255, 255, 0.85) color: rgba(255, 255, 255, .95)
}
h4,
h5 {
color:rgba(255, 255, 255, 0.75);
} }
p { p {
color: rgba(255, 255, 255, 0.65) color: rgba(255, 255, 255, .75);
} }
ul, ul,
ol, ol,
li { li {
color: rgba(255, 255, 255, 0.55) color: rgba(255, 255, 255, 0.85);
} }
a { a {
text-decoration: none; text-decoration: none;
color: rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.85);
transition: all .1s ease-in-out; transition: all .1s ease-in-out;
} }

View File

@ -13,6 +13,12 @@
height: auto; 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 { .paper .attributes {
margin-bottom: 40px; margin-bottom: 40px;
} }