mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added popup and fadein animations to the theme
This commit is contained in:
parent
12791f54e6
commit
8f5bb0a448
1 changed files with 16 additions and 1 deletions
|
@ -92,6 +92,21 @@ module.exports = {
|
||||||
'7xl': ['7.2rem', '1'],
|
'7xl': ['7.2rem', '1'],
|
||||||
'8xl': ['9.6rem', '1'],
|
'8xl': ['9.6rem', '1'],
|
||||||
'9xl': ['12.8rem', '1']
|
'9xl': ['12.8rem', '1']
|
||||||
|
},
|
||||||
|
animation: {
|
||||||
|
'popup': 'popup 0.25s ease-in-out',
|
||||||
|
'fadein': 'fadein 0.2s'
|
||||||
|
},
|
||||||
|
keyframes: {
|
||||||
|
popup: {
|
||||||
|
'0%': { transform: 'translateY(-20px)', opacity: '0' },
|
||||||
|
'1%': { transform: 'translateY(20px)', opacity: '0' },
|
||||||
|
'100%': { transform: 'translateY(0)', opacity: '1.0' }
|
||||||
|
},
|
||||||
|
fadein: {
|
||||||
|
'0%': { opacity: '0' },
|
||||||
|
'100%': { opacity: '1' }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
content: [
|
content: [
|
||||||
|
|
Loading…
Add table
Reference in a new issue