File tree 2 files changed +30
-5
lines changed
2 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,12 @@ a:hover, a:focus {
77
77
}
78
78
}
79
79
80
+
81
+ /* Lighter background */
82
+ .lighter-bg {
83
+ background-color : # 0f0f11 ;
84
+ }
85
+
80
86
/* hero block */
81
87
.hero {
82
88
display : flex;
@@ -95,8 +101,8 @@ a:hover, a:focus {
95
101
letter-spacing : -0.01em ;
96
102
font-weight : 800 ;
97
103
}
98
- .hero .jarallax > .jarallax-img ,
99
- .hero .jarallax > .jarallax-container {
104
+ .hero .jarallax > .jarallax-img img ,
105
+ .hero .jarallax > .jarallax-container img {
100
106
filter : blur (3px );
101
107
}
102
108
.hero-name {
@@ -108,6 +114,10 @@ a:hover, a:focus {
108
114
margin-bottom : 20px ;
109
115
text-transform : uppercase;
110
116
}
117
+ .hero + .demo-gap {
118
+ min-height : 230px ;
119
+ }
120
+
111
121
.text-center {
112
122
text-align : center;
113
123
}
@@ -124,13 +134,16 @@ a:hover, a:focus {
124
134
flex-wrap : wrap;
125
135
justify-content : center;
126
136
gap : 10px ;
137
+ }
138
+ * + .buttons {
127
139
margin-top : 20px ;
128
140
}
129
141
a .button {
130
142
display : inline-block;
131
143
text-decoration : none;
132
144
font-size : 16px ;
133
145
font-weight : 500 ;
146
+ text-align : center;
134
147
padding : 12px ;
135
148
border-radius : 4px ;
136
149
min-width : 200px ;
@@ -171,7 +184,6 @@ a.button-outline:focus {
171
184
172
185
/* Demo Content */
173
186
.demo-content {
174
- background-color : # 0b0b0b ;
175
187
padding : 80px ;
176
188
}
177
189
@@ -185,6 +197,12 @@ a.button-outline:focus {
185
197
}
186
198
187
199
200
+ /* Footer */
201
+ .footer {
202
+ text-align : center;
203
+ }
204
+
205
+
188
206
/* Mobile */
189
207
@media screen and (max-width : 500px ) {
190
208
.demo-gap ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ <h2>Different parallax speed</h2>
59
59
< img class ="jarallax-img " src ="images/image-3.jpg " alt ="" loading ="lazy " />
60
60
</ div >
61
61
62
- < div class ="demo-content demo-gap ">
62
+ < div class ="demo-gap demo-content lighter-bg ">
63
63
< div class ="container ">
64
64
< p >
65
65
So Give doesn't forth male him. God cattle rule Heaven blessed Beast lesser him so. Fowl
@@ -108,7 +108,14 @@ <h2>Self-Hosted Videos / Youtube / Vimeo</h2>
108
108
< img class ="jarallax-img " src ="video/video.png " alt ="" loading ="lazy " />
109
109
</ div >
110
110
111
- < div class ="demo-gap ">
111
+ < div class ="demo-gap lighter-bg ">
112
+ < div class ="buttons ">
113
+ < a class ="button " href ="https://github.com/nk-o/jarallax/blob/master/README.md " target ="_blank "> Get Started</ a >
114
+ < a class ="button button-outline " href ="https://github.com/nk-o/jarallax/ " target ="_blank "> GitHub</ a >
115
+ </ div >
116
+ </ div >
117
+
118
+ < div class ="demo-gap footer ">
112
119
< p > Jarallax © 2022 nK</ p >
113
120
< small >
114
121
All images taken from < a href ="https://unsplash.com/ "> https://unsplash.com/</ a >
You can’t perform that action at this time.
0 commit comments