Skip to content

Commit 74901a3

Browse files
committed
Centers inner container of welcome banner
1 parent 8571900 commit 74901a3

File tree

3 files changed

+50
-23
lines changed

3 files changed

+50
-23
lines changed

_sass/main.sass

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,18 @@ a
106106
min-height: 350px
107107
padding: 60px 0 80px
108108
text-align: center
109+
.inner.container
110+
position: absolute
111+
left: 50%
112+
top: 50%
113+
min-width: 300px
114+
width: 55%
115+
transform: translate(-50%, -50%)
116+
-webkit-transform: translate(-50%, -50%)
117+
-moz-transform: translate(-50%, -50%)
118+
-o-transform: translate(-50%, -50%)
109119
.logo
110120
margin-bottom: 25px
111-
max-width: 60%
112121
#learn-more
113122
&:after
114123
border-color: $white transparent transparent transparent

assets/css/main.css

Lines changed: 33 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/main.css.map

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)