spacing tweak

This commit is contained in:
micah rich 2019-08-28 23:52:09 -04:00
parent 19cc7de1ff
commit e06b84eef9
2 changed files with 8 additions and 6 deletions

View File

@ -69,6 +69,11 @@ export const Button = styled("button")`
export const Intro = styled("section")`
padding: 1rem;
${props =>
props.margin &&
css`
margin: ${props.margin};
`}
h1 {
font-size: 7.2vw;
line-height: 1.1;

View File

@ -1,3 +1,4 @@
import { css } from '@emotion/core'
import { useState, useEffect } from "react";
import useVariableFont from "react-variable-fonts";
import { Flex, Left, Right, Intro } from "../components";
@ -214,12 +215,8 @@ Each student read out loud a passage set in a control of Times New Roman, then f
</ChartStats>
<br/>
<br/>
<br/>
<br/>
<Intro>
<Intro margin="4rem auto -5rem">
## Trusted by Incredible Organizations
@ -236,7 +233,7 @@ Lexend has been discussed in two Stanford labs, at HP & Microsoft, was listed on
<Flex>
<Left>
## A Virtue of Variable Font Technology
## The Valuable Virtues of Variable Font Technology
As the study demonstrates, while the Lexend series were beneficial to a large sample of students, no one setting worked best for all students. Diverse readers need different axis settings like people require different eyeglass prescriptions.