diff --git a/assets/style/sphere.css b/assets/style/sphere.css index fdfa455..a7d9b39 100644 --- a/assets/style/sphere.css +++ b/assets/style/sphere.css @@ -1,12 +1,35 @@ .sphere-wrapper{ - text-align: center; + display: flex; + + justify-content: center; + +} +.sphere-content-warapper{ + position: relative; + top: 50%; + -webkit-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + height: 90%; + width: 90%; +} + +img{ + width: 100%; + height: auto; + max-width: 100%; } sphere{ margin: 1.5vw; height: 10vw; width: 10vw; - background-color: #bbb; + background-color:#707070; border-radius: 50%; - display: inline-block; + display: flex; + justify-content: center; +} + +sphere:hover{ + background-color: #E8E8E8 ; } diff --git a/index.html b/index.html index 06b2139..bea8432 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,22 @@
+ + \ No newline at end of file