Skip to content

Commit 721ffbb

Browse files
committed
Homepage looking pretty good
1 parent 88fef00 commit 721ffbb

File tree

5 files changed

+283
-60
lines changed

5 files changed

+283
-60
lines changed

myblog/home/static/home/css/home.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Change color of gradient to match color scheme of site
122122
}
123123

124124
.jumbotron-home .typed-wrapper {
125-
min-height: 65px;
125+
min-height: 75px;
126126
}
127127

128128
.page-header {

myblog/home/static/home/css/index.css

+139-18
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ nav.navbar.navbar-default {
77
}
88

99
.jumbotron {
10-
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ /* OLD - Firefox 19- (buggy but mostly works) */
11-
display: -ms-flexbox; /* TWEENER - IE 10 */ /* NEW - Chrome */
12-
display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
10+
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ /* OLD - Firefox 19- (buggy but mostly works) */
11+
display: -ms-flexbox; /* TWEENER - IE 10 */ /* NEW - Chrome */
12+
display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
1313
-webkit-box-pack: center;
1414
-ms-flex-pack: center;
1515
justify-content: center;
@@ -33,7 +33,7 @@ nav.navbar.navbar-default {
3333

3434
.jumbotron-home a {
3535
background-color: rgba(108, 31, 43, .94);
36-
font-family: 'Ubuntu';
36+
font-family: 'Ubuntu', sans-serif;
3737
font-weight: 600;
3838
font-size: 1.2em;
3939
color: #dadada;
@@ -60,27 +60,27 @@ nav.navbar.navbar-default {
6060
display: -ms-flexbox;
6161
display: flex;
6262
-webkit-box-align: center;
63-
-ms-flex-align: center;
64-
align-items: center;
63+
-ms-flex-align: center;
64+
align-items: center;
6565
}
6666

6767
.index-content {
6868
display: -webkit-box;
6969
display: -ms-flexbox;
7070
display: flex;
7171
-ms-flex-flow: row wrap;
72-
flex-flow: row wrap;
72+
flex-flow: row wrap;
7373
-ms-flex-pack: distribute;
74-
justify-content: space-around;
74+
justify-content: space-around;
7575
-webkit-box-align: center;
76-
-ms-flex-align: center;
77-
align-items: center;
76+
-ms-flex-align: center;
77+
align-items: center;
7878
width: 95%;
7979
max-width: 1080px;
8080
margin-left: auto;
8181
margin-right: auto;
82-
padding-bottom: 80px;
83-
padding-top: 80px;
82+
padding-bottom: 30px;
83+
padding-top: 30px;
8484
}
8585

8686
.index-container .logo-container {
@@ -90,18 +90,18 @@ nav.navbar.navbar-default {
9090
display: -ms-flexbox;
9191
display: flex;
9292
-ms-flex-flow: row wrap;
93-
flex-flow: row wrap;
93+
flex-flow: row wrap;
9494
-webkit-box-pack: center;
95-
-ms-flex-pack: center;
96-
justify-content: center;
95+
-ms-flex-pack: center;
96+
justify-content: center;
9797
}
9898

9999
.index-container .index-logo {
100-
max-width: 90px;
100+
max-width: 120px;
101101
margin: 20px;
102102
-webkit-filter: drop-shadow(0px 0px 7px rgba(50, 50, 50, .6));
103103
filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur in="SourceAlpha" stdDeviation="7" /><feOffset dx="1" dy="1" result="offsetblur" /><feFlood flood-color="rgba(50,50,50,0.6)" /><feComposite in2="offsetblur" operator="in" /><feMerge><feMergeNode /><feMergeNode in="SourceGraphic" /></feMerge></filter></svg>#filter');
104-
filter: drop-shadow(0px 0px 7px rgba(50, 50, 50, .6));
104+
filter: drop-shadow(0px 0px 7px rgba(50, 50, 50, .6));
105105
}
106106

107107
.index-container .text-container {
@@ -119,13 +119,21 @@ nav.navbar.navbar-default {
119119
margin-bottom: .5em;
120120
}
121121

122+
#my-work h1 {
123+
font-family: 'Ubuntu', sans-serif;
124+
font-weight: 600;
125+
font-size: 4em;
126+
margin-bottom: .5em;
127+
text-align: center;
128+
}
129+
122130
.index-container .text-container p {
123131
font-family: 'Lora', serif;
124132
font-style: italic;
125133
font-size: 1.5em;
126134
}
127135

128-
#python-django hr, #bootstrap-github hr{
136+
#software-engineer hr {
129137
border-color: #666;
130138
}
131139

@@ -145,3 +153,116 @@ nav.navbar.navbar-default {
145153
}
146154

147155
}
156+
157+
/* Slideshow container */
158+
.slideshow-container {
159+
max-width: 1000px;
160+
position: relative;
161+
margin: auto;
162+
}
163+
164+
/* Hide the images by default */
165+
.mySlides {
166+
display: none;
167+
}
168+
169+
.mySlides h3 {
170+
font-family: 'Ubuntu', sans-serif;
171+
font-weight: 600;
172+
font-size: 2em;
173+
margin-bottom: 0;
174+
}
175+
176+
.mySlides p {
177+
font-family: 'Lora', serif;
178+
font-style: italic;
179+
font-size: 1.5em;
180+
}
181+
182+
/* Next & previous buttons */
183+
.prev, .next {
184+
cursor: pointer;
185+
position: absolute;
186+
top: 50%;
187+
width: auto;
188+
margin-top: -22px;
189+
padding: 16px;
190+
color: #333;
191+
font-weight: bold;
192+
font-size: 18px;
193+
transition: 0.6s ease;
194+
border-radius: 0 3px 3px 0;
195+
user-select: none;
196+
}
197+
198+
/* Position the "next button" to the right */
199+
.next {
200+
right: 0;
201+
border-radius: 3px 0 0 3px;
202+
}
203+
204+
/* On hover, add a black background color with a little bit see-through */
205+
.prev:hover, .next:hover {
206+
background-color: #dadada;
207+
}
208+
209+
/* Caption text */
210+
.text {
211+
color: #333;
212+
background-color: #dadada;
213+
font-size: 15px;
214+
padding: 8px 12px;
215+
width: 100%;
216+
text-align: center;
217+
}
218+
219+
/* Number text (1/3 etc) */
220+
.numbertext {
221+
color: #f2f2f2;
222+
font-size: 12px;
223+
padding: 8px 12px;
224+
position: absolute;
225+
top: 0;
226+
}
227+
228+
/* The dots/bullets/indicators */
229+
.dot {
230+
cursor: pointer;
231+
height: 15px;
232+
width: 15px;
233+
margin: 0 2px;
234+
background-color: #bbb;
235+
border-radius: 50%;
236+
display: inline-block;
237+
transition: background-color 0.6s ease;
238+
}
239+
240+
.active, .dot:hover {
241+
background-color: #717171;
242+
}
243+
244+
/* Fading animation */
245+
.fader {
246+
-webkit-animation-name: fade;
247+
-webkit-animation-duration: 1.5s;
248+
animation-name: fade;
249+
animation-duration: 1.5s;
250+
}
251+
252+
@-webkit-keyframes fade {
253+
from {
254+
opacity: .4
255+
}
256+
to {
257+
opacity: 1
258+
}
259+
}
260+
261+
@keyframes fade {
262+
from {
263+
opacity: .4
264+
}
265+
to {
266+
opacity: 1
267+
}
268+
}
Loading
243 KB
Loading

0 commit comments

Comments
 (0)