Start of Vax & Me

This commit is contained in:
2021-04-08 02:00:00 -04:00
commit ca7ea5fbf3
24 changed files with 17345 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
+79
View File
@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Learn about the expected side effects of COVID-19 Vaccines"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<style>
@import "%PUBLIC_URL%/styles/variables.css";
@import "%PUBLIC_URL%/styles/variables-dark.css" screen and
(prefers-color-scheme: dark);
@import "%PUBLIC_URL%/styles/extrasmall.css";
@import "%PUBLIC_URL%/styles/small.css" only screen and (min-width: 768px)
and (max-width: 1024px);
@import "%PUBLIC_URL%/styles/medium.css" only screen and
(min-width: 1024px);
@import "%PUBLIC_URL%/styles/large.css" only screen and
(min-width: 1366px);
@import "%PUBLIC_URL%/styles/extralarge.css" only screen and
(min-width: 1921px);
@font-face {
font-family: "GlacialBold";
src: url("%PUBLIC_URL%/fonts/glacialindifference-bold-webfont.woff2")
format("woff2"),
url("/fonts/glacialindifference-bold-webfont.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "GlacialItalic";
src: url("%PUBLIC_URL%/fonts/glacialindifference-italic-webfont.woff2")
format("woff2"),
url("%PUBLIC_URL%/fonts/glacialindifference-italic-webfont.woff")
format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Glacial";
src: url("%PUBLIC_URL%/fonts/glacialindifference-regular-webfont.woff2")
format("woff2"),
url("%PUBLIC_URL%/fonts/glacialindifference-regular-webfont.woff")
format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
[data-font="sans"] {
font-family: "Glacial", sans-serif;
font-display: swap;
}
[data-font="sans-bold"] {
font-family: "GlacialBold", sans-serif;
font-display: swap;
}
[data-font="sans-italic"] {
font-family: "GlacialItalic", sans-serif;
font-style: italic;
font-display: swap;
}
.logo {
background-image: url("%PUBLIC_URL%/logo512.png");
}
</style>
<title>Vax & Me</title>
</head>
<body>
<div id="root"></div>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+25
View File
@@ -0,0 +1,25 @@
{
"short_name": "Vax&Me",
"name": "Vax And Me",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
View File
+180
View File
@@ -0,0 +1,180 @@
* {
margin: 0;
padding: 0;
transition: all ease-in-out 0.2s;
}
html {
font-size: 10px;
}
body {
display: flex;
font-size: 10px;
padding: 3.75rem;
height: calc(100vh - 7.5rem);
}
#root {
flex: 1;
display: flex;
}
#root > div {
flex: 1;
display: flex;
flex-direction: column;
}
#root > div > main {
flex: 1;
}
.logo-container {
display: flex;
align-items: center;
justify-content: center;
}
.logo {
background-size: 100%;
width: 5rem;
height: 5rem;
display: inline-block;
}
.logo-text-container {
display: inline-flex;
align-items: center;
vertical-align: middle;
flex: 1;
margin-left: 1.5rem;
}
.logo-text-container p {
font-size: 2.4rem;
}
.logo-text-container p:last-of-type {
margin-left: 0.75rem;
}
.subheader {
font-size: 2.5rem;
margin: 0;
}
.overline {
font-size: 2rem;
letter-spacing: 0.1rem;
margin: 0;
}
.intro {
margin: 4.5rem 0;
}
.question {
font-size: 2rem;
}
.answers-container {
margin: 1rem 0;
}
.answer {
display: inline-flex;
font-size: 1.8rem;
padding: 1.2rem 1.5rem;
margin-right: 0.75rem;
margin-bottom: 0.75rem;
border-radius: 24rem;
background-color: var(--color-secondary);
color: var(--color-primary);
outline: none !important;
border: none !important;
letter-spacing: 0.2rem;
text-transform: uppercase;
cursor: pointer;
}
.answer:hover,
.answer:focus {
background-color: var(--color-secondary-light);
}
.answer.selected {
background-color: var(--color-bright);
}
.answer.unselected {
background-color: var(--color-dim);
}
.symptom-container.subheader {
margin-top: 5rem;
margin-bottom: 1rem;
display: block !important;
}
.symptom {
max-width: 100%;
padding: 1.5rem;
flex-direction: column;
justify-content: center;
align-items: center;
border: 1px solid transparent;
border-radius: 1rem;
transition: border-color ease-in-out 0.4s;
transition: box-shadow ease-in-out 0.3s;
}
.symptom.at-site {
background-color: var(--color-dim);
border-radius: 0;
}
.symptom.at-site:first-of-type {
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
}
.symptom.at-site:nth-of-type(3) {
border-bottom-left-radius: 1rem;
border-bottom-right-radius: 1rem;
}
.symptom-emoji {
text-align: center;
font-size: 3rem;
padding: 0.75rem;
display: block;
}
.symptom-name {
font-size: 2rem;
text-align: center;
display: block;
}
.symptom-chance {
font-size: 1.8rem;
text-align: center;
display: block;
}
.symptom:hover {
box-shadow: 0px 0px 100px var(--color-dim);
background-color: var(--color-primary);
}
.symptom.at-site:hover {
background-color: var(--color-bright);
color: var(--color-primary);
}
.symptom-chance:before {
content: "EXPERIENCED BY";
font-size: 1rem;
display: block;
text-align: center;
letter-spacing: 0.1rem;
}
.symptom-chance:after {
content: "PEOPLE";
font-size: 1rem;
display: block;
text-align: center;
letter-spacing: 0.1rem;
}
footer {
font-size: 1.2rem;
padding: 1.5rem;
}
+5
View File
@@ -0,0 +1,5 @@
body {
padding: 15rem;
padding-top: 10rem;
height: calc(100vh - 25rem);
}
+57
View File
@@ -0,0 +1,57 @@
body {
padding: 7.5rem;
padding-top: 5rem;
height: calc(100vh - 12.5rem);
}
.logo {
width: 7.5rem;
height: 7.5rem;
}
.logo-text-container {
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.logo-text-container p:last-of-type {
margin-left: 0;
}
.symptom {
width: 100%;
max-width: 20rem;
display: inline-block;
margin-bottom: 0.75rem;
}
.symptom-emoji {
font-size: 3.5rem;
padding: 0.75rem;
}
.symptom-name {
font-size: 2.5rem;
text-align: center;
}
.symptom-chance {
font-size: 2.4rem;
text-align: center;
}
.symptom-chance:before {
font-size: 1.5rem;
}
.symptom-chance:after {
font-size: 1.5rem;
}
.symptom.at-site:first-of-type {
border-radius: 0;
border-top-left-radius: 1rem;
border-bottom-left-radius: 1rem;
}
.symptom.at-site:nth-of-type(3) {
border-radius: 0;
border-top-right-radius: 1rem;
border-bottom-right-radius: 1rem;
}
footer {
font-size: 1.7rem;
padding: 1.5rem;
}
View File
View File
+9
View File
@@ -0,0 +1,9 @@
:root {
--color-primary: white;
--color-secondary: black;
--color-secondary-light: rgb(87, 87, 87);
--color-tertiary: #f7f6f6;
--color-bright: rgb(25, 48, 122);
--color-dim: rgb(138, 154, 209);
font-size: 10px;
}