File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 96
96
position : relative
97
97
width : 100%
98
98
.inner
99
- left : 0
100
- right : 0
99
+ position : absolute ;
100
+ left : 50% ;
101
+ top : 50% ;
102
+ min-width : 300px ;
103
+ transform : translate(-50% , -50% );
104
+ -webkit-transform : translate(-50% , -50% );
105
+ -moz-transform : translate(-50% , -50% );
106
+ -o-transform : translate(-50% , -50% );
101
107
// custom banners
102
108
& .welcome
103
109
background : url (' coderit_background.png' ) center center fixed
108
114
text-align : center
109
115
.logo
110
116
margin-bottom : 25px
111
- max-width : 60%
112
117
#learn-more
113
118
& :after
114
119
border-color : $white transparent transparent transparent
371
376
.inner
372
377
padding : 10px 3px
373
378
#event-list-cta
374
- width : auto
379
+ width : auto
Original file line number Diff line number Diff line change 77
77
position : relative;
78
78
width : 100% ; }
79
79
.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% );}
82
88
.banner .welcome {
83
89
background : url ("coderit_background.png" ) center center fixed;
84
90
font-size : 1.25em ;
87
93
padding : 60px 0 80px ;
88
94
text-align : center; }
89
95
.banner .welcome .logo {
90
- margin-bottom : 25px ;
91
- max-width : 60% ; }
96
+ margin-bottom : 25px ;}
92
97
.banner .welcome # learn-more : after {
93
98
border-color : white transparent transparent transparent;
94
99
border-style : solid;
You can’t perform that action at this time.
0 commit comments