Skip to content

Commit 4a5a819

Browse files
committed
Centered inner container in Welcome Banner
1 parent 182e761 commit 4a5a819

File tree

2 files changed

+41
-23
lines changed

2 files changed

+41
-23
lines changed

_sass/main.sass

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,17 @@ 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: 320px
114+
transform: translate(-50%, -50%)
115+
-webkit-transform: translate(-50%, -50%)
116+
-moz-transform: translate(-50%, -50%)
117+
-o-transform: translate(-50%, -50%)
109118
.logo
110119
margin-bottom: 25px
111-
max-width: 60%
112120
#learn-more
113121
&:after
114122
border-color: $white transparent transparent transparent

assets/css/main.css

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

0 commit comments

Comments
 (0)