Skip to content

Commit 0f1692c

Browse files
committed
Update css
1 parent c7c42da commit 0f1692c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

assets/css/main.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,14 @@ a {
7777
position: relative;
7878
width: 100%; }
7979
.banner .inner {
80-
left: 0;
81-
right: 0; }
80+
position: absolute;
81+
left: 50%;
82+
top: 50%;
83+
min-width: 300px;
84+
transform: translate(-50%, -50%);
85+
-webkit-transform: translate(-50%, -50%);
86+
-moz-transform: translate(-50%, -50%);
87+
-o-transform: translate(-50%, -50%);}
8288
.banner.welcome {
8389
background: url("coderit_background.png") center center fixed;
8490
font-size: 1.25em;
@@ -87,8 +93,7 @@ a {
8793
padding: 60px 0 80px;
8894
text-align: center; }
8995
.banner.welcome .logo {
90-
margin-bottom: 25px;
91-
max-width: 60%; }
96+
margin-bottom: 25px;}
9297
.banner.welcome #learn-more:after {
9398
border-color: white transparent transparent transparent;
9499
border-style: solid;

0 commit comments

Comments
 (0)