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: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>
</head>
<body>

View File

@ -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 => {

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;
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;
}

View File

@ -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;
}