From f66f3d9f01fa99cb80275ae1e25636a03c2db089 Mon Sep 17 00:00:00 2001 From: salomonelli Date: Fri, 9 Jun 2017 23:07:14 +0200 Subject: [PATCH] UPDATE size of logo --- src/pages/home.vue | 82 ++++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 40 deletions(-) diff --git a/src/pages/home.vue b/src/pages/home.vue index 75c2bd9..4d8a48d 100755 --- a/src/pages/home.vue +++ b/src/pages/home.vue @@ -17,33 +17,33 @@
- - material-blue -
+ + material-blue +
- - left-right -
+ + left-right +
- - oblique -
+ + oblique +
- - side-bar -
+ + side-bar +
@@ -62,12 +62,13 @@ export default Vue.component('resume', { font-family: 'Roboto' !important; } -.logo{ +.logo { text-align: center; } .logo img { - height: 200px; + height: 50px; + margin-top: 40px; } .title { @@ -75,51 +76,52 @@ export default Vue.component('resume', { text-align: center; width: 100%; color: black; - font-weight: 300; - font-size: 30px; - line-height: 110%; - margin: 1.78rem 0 1.424rem 0; - margin-top: 0px; -margin-bottom: 40px; + font-weight: 300; + font-size: 30px; + line-height: 110%; + margin: 1.78rem 0 1.424rem 0; + margin-top: 0px; + margin-bottom: 40px; } -.previews{ +.previews { width: 90%; margin-right: auto; margin-left: auto; } -.preview{ +.preview { width: 180px; - float: left; - margin-left: 1.5%; - margin-right: 1.5%; - margin-bottom: 1.5%; - box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2); - height: 252px; - overflow: hidden; + float: left; + margin-left: 1.5%; + margin-right: 1.5%; + margin-bottom: 1.5%; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); + height: 252px; + overflow: hidden; } + .preview-wrapper { position: relative; background: white; } -.preview img{ +.preview img { width: 100%; opacity: 0.5; filter: blur(1px); } -.preview span{ +.preview span { position: absolute; - max-width: 100%; - font-size: 24px; - font-weight: 300; - color: rgba(0, 0, 0, 0.75); - width: 100%; - text-align: center; - display: inline-block; - top: 50%; - transform: translateY(-50%); + max-width: 100%; + font-size: 24px; + font-weight: 300; + color: rgba(0, 0, 0, 0.75); + width: 100%; + text-align: center; + display: inline-block; + top: 50%; + transform: translateY(-50%); }