diff --git a/static/src/js/components/project-image.js b/static/src/js/components/project-image.js index b15fb8b..ab780bb 100644 --- a/static/src/js/components/project-image.js +++ b/static/src/js/components/project-image.js @@ -5,23 +5,20 @@ var Col = ReactBootstrap.Col; var projectImage = React.createClass({ render: function () { - var contents = this.props.isHovered ? - ( -
-

{this.props.data.title}

-

{this.props.data.text}

- - Find out more - -
- ) : null; + var animationClass = this.props.isHovered ? 'zoomIn' : 'zoomOut'; return (
- { contents } +
+

{this.props.data.title}

+

{this.props.data.text}

+ + Find out more + +
diff --git a/static/src/less/style.less b/static/src/less/style.less index c4707d0..329a0d9 100644 --- a/static/src/less/style.less +++ b/static/src/less/style.less @@ -120,13 +120,16 @@ ol , ul{ } & .project { - padding: 18px; + padding: 25px; .transition(~"opacity 0.5s ease-in"); opacity: 0; background-color: rgba(0,0,0,0.6); - h2 { - margin-top: 0; + p, a.btn { + font-size: 12px; + } + h4 { + font-size: 23px; } } }