Commit 5187678f authored by Matija Obreza's avatar Matija Obreza
Browse files

Text content styles updated

- default font and size
- paragraph margins, line height
parent 5e912a5e
......@@ -17,26 +17,27 @@ const styles = (theme) => ({
boxSizing: 'border-box' as 'border-box',
},
text: {
'& > p': {
fontFamily: 'Roboto-Light',
fontSize: '24px',
fontFamily: 'Roboto-Light',
fontSize: '18px',
'& p': {
color: '#4d4c46',
lineHeight: '36px',
margin: 0,
lineHeight: '1.5em',
margin: '0 0 1.5em 0',
},
'& > p:first-child': {
fontSize: '22px',
},
'& > h3': {
'& h3': {
fontSize: '24px',
marginTop: '28px',
paddingBottom: '6px',
},
'& > ul': {
'& ul': {
marginTop: '30px',
padding: 0,
paddingLeft: '11px',
},
'& > ul > li': {
fontFamily: 'Roboto-Regular',
fontSize: '18px',
'& ul > li': {
lineHeight: '30px',
},
},
......
......@@ -15,21 +15,17 @@ const style = (theme) => ({
columnCount: 3,
columnGap: '3rem',
},
fontFamily: 'Roboto-Light',
fontSize: '18px',
'& > h1':{
fontSize: '32px',
marginBottom: '1rem',
fontFamily: 'Roboto-Bold',
},
'& > p': {
// color: '#4d4c46',
fontSize: '18px',
fontFamily: 'Roboto-Regular',
lineHeight: '30px',
margin: '0 0 30px 0',
'& ~ a': {
// color: '#006db4',
textDecoration: 'none',
},
'& p': {
color: '#4d4c46',
lineHeight: '1.5em',
margin: '0 0 1.5em 0',
},
},
});
......
......@@ -15,12 +15,15 @@ const styles = (theme) => ({
margin: 0,
},
text: {
fontFamily: 'Roboto-Light',
fontSize: '18px',
'& p': {
fontFamily: 'Roboto-Light',
fontSize: '24px',
color: '#4d4c46',
lineHeight: '36px',
margin: 0,
lineHeight: '1.5em',
margin: '0 0 1.5em 0',
},
'& > p:first-child': {
fontSize: '22px',
},
'& h2, h3, h4': {
fontSize: '24px',
......@@ -33,7 +36,6 @@ const styles = (theme) => ({
paddingLeft: '11px',
},
'& > ul > li': {
fontFamily: 'Roboto-Regular',
fontSize: '18px',
lineHeight: '30px',
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment