Changed font on result page

Changed "probability" to "risk"
This commit is contained in:
Tim Ktitarev 2020-03-22 22:52:12 +01:00
parent 05429a4072
commit ce90e16c22
4 changed files with 13 additions and 2 deletions

View file

@ -50,6 +50,16 @@
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Comfortaa';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Comfortaa'), local('Comfortaa-Regular'), url(./assets/fonts/comfortaa.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* disables the rectangle feedback box when tapping something on a mobile device */
* {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);

Binary file not shown.

View file

@ -29,7 +29,7 @@
#information {
display: block;
margin: 0 auto;
margin-top: 5%;
padding: 5%;
font-size: 0.8em;
text-align: center;

View file

@ -1,6 +1,6 @@
<template>
<div class="results">
<p>Ihre Wahrscheinlichkeit sich zu infizieren ist</p>
<p>Ihr Risiko sich und andere zu infizieren ist</p>
<p class="risk-chance alert" v-if="risk >= 66">hoch</p>
<p class="risk-chance warning" v-if="risk >= 33 && risk < 66">durchschnittlich</p>
<p class="risk-chance success" v-if="risk < 33 && risk >= 0">niedrig</p>
@ -115,6 +115,7 @@
text-align: center;
font-size: 1.5em;
font-weight: bold;
font-family: Comfortaa;
}
.risk-chance.success {
color: #62E160;