Skip to content

Commit 08d8b24

Browse files
adding fix for device size of my phone --- dev tools had incorrect size for my phone 412x702
1 parent 48935ae commit 08d8b24

10 files changed

Lines changed: 44 additions & 18 deletions

File tree

css/00-sections.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,16 @@
7171
}
7272
}
7373

74-
@media only screen and (max-width: 400px) {
74+
/*@media only screen and (max-width: 400px) {*/
75+
@media only screen and (max-width: 412px) {
7576
/*@media only screen and (max-width: 6.2in) {*/
7677
#contact .section-intro {
7778
padding: 1.5rem;
7879
}
7980
}
8081

81-
@media only screen and (max-width: 400px) {
82+
/*@media only screen and (max-width: 400px) {*/
83+
@media only screen and (max-width: 412px) {
8284
/*@media only screen and (max-width: 6.2in) {*/
8385
.section-intro h1 {
8486
font-size: 3.3rem;

css/01-main.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,10 @@ button::-moz-focus-inner, input::-moz-focus-inner {
391391
max-width: 800px;
392392
}
393393

394-
@media only screen and (max-width: 400px) {
394+
/*@media only screen and (max-width: 400px) {*/
395+
@media only screen and (max-width: 412px) {
395396
/*@media only screen and (max-width: 6.2in) {*/
396-
.btn--primary {
397-
font-size: 1rem;
397+
.btn {
398+
font-size: 1.2rem;
398399
}
399400
}

css/02-home.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,8 @@ html.no-csstransitions .home-content__main {
792792
}
793793
}
794794

795-
@media only screen and (max-width: 400px) {
795+
/*@media only screen and (max-width: 400px) {*/
796+
@media only screen and (max-width: 412px) {
796797
/*@media only screen and (max-width: 6.2in) {*/
797798
.home-content {
798799
vertical-align: middle;

css/03-about.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,23 @@
9191
}
9292
}
9393

94-
@media only screen and (max-width: 400px) {
94+
/*@media only screen and (max-width: 400px) {*/
95+
@media only screen and (max-width: 412px) {
9596
/*@media only screen and (max-width: 6.2in) {*/
9697
.about-content .left {
9798
padding-right: 0;
9899
}
99100
.about-content .right {
100101
padding-left: 0;
101102
}
102-
.about-content .btn-primary {
103+
.about-content .btn {
103104
font-size: 1rem;
104105
}
106+
.s-about p.lead { /* .lead is in bootstrap */
107+
padding-bottom: 1rem;
108+
margin-bottom: 0px;
109+
}
110+
p {
111+
font-size: 1.4rem;
112+
}
105113
}

css/04-projects.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@
269269
}
270270
}
271271

272-
@media only screen and (max-width: 400px) {
272+
/*@media only screen and (max-width: 400px) {*/
273+
@media only screen and (max-width: 412px) {
273274
/*@media only screen and (max-width: 6.2in) {*/
274275
.masonry-wrap {
275276
width: auto;

css/04-xp.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@
115115
}
116116
}
117117

118-
@media only screen and (max-width: 400px) {
118+
/*@media only screen and (max-width: 400px) {*/
119+
@media only screen and (max-width: 412px) {
119120
/*@media only screen and (max-width: 6.2in) {*/
120121
.timeline__block {
121122
padding-left: 5.5rem;

css/10-contact.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@
277277
}
278278
}
279279

280-
@media only screen and (max-width: 400px) {
280+
/*@media only screen and (max-width: 400px) {*/
281+
@media only screen and (max-width: 412px) {
281282
/*@media only screen and (max-width: 6.2in) {*/
282283
.contact__form {
283284
padding-right: 0;
@@ -464,7 +465,7 @@ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:foc
464465
/* parallax without JS - Create the scrolling effect */
465466
background-attachment: fixed;
466467
background-size: auto 100%;
467-
background-position: 10%, 25%;
468+
background-position: 12.5%, 30%;
468469
padding-top: 7rem;
469470
padding-bottom: 3rem;
470471
/*background-repeat: no-repeat;

css/11-footer.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ footer a:hover, footer a:focus {
204204
}
205205
}
206206

207-
@media only screen and (max-width: 400px) {
207+
/*@media only screen and (max-width: 400px) {*/
208+
@media only screen and (max-width: 412px) {
208209
/*@media only screen and (max-width: 6.2in) {*/
209210
.footer-site-logo {
210211
width: 100px;

css/blog.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,8 @@ article.blog-single .blog-content {
770770
}
771771
}
772772

773-
@media only screen and (max-width: 400px) {
773+
/*@media only screen and (max-width: 400px) {*/
774+
@media only screen and (max-width: 412px) {
774775
/*@media only screen and (max-width: 6.2in) {*/
775776
.page-header__content {
776777
font-size: 1.6rem;

css/media.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@
279279
}
280280
}
281281

282-
@media only screen and (max-width: 400px) {
282+
/*@media only screen and (max-width: 400px) {*/
283+
@media only screen and (max-width: 412px) {
283284
/*@media only screen and (max-width: 6.2in) {*/
284285
/* On screens that are 413px wide or less,
285286
make the columns stack on top of each other
@@ -293,7 +294,7 @@
293294
}
294295

295296
#home .home-content .flex-row {
296-
padding-top: 60%;
297+
padding-top: 33%;
297298
}
298299
#home .home-content {
299300
margin-bottom: 0px;
@@ -309,7 +310,8 @@
309310
/* stack columns on small mobile devices
310311
* ------------------------------------------------------------------- */
311312

312-
@media only screen and (max-width: 400px) {
313+
/*@media only screen and (max-width: 400px) {*/
314+
@media only screen and (max-width: 412px) {
313315
/*@media only screen and (max-width: 6.2in) {*/
314316
/* typography */
315317
html {
@@ -366,15 +368,22 @@
366368
font-size: 2.1rem;
367369
}
368370
#XP h5 {
369-
font-size: 1.25rem;
371+
font-size: 1.45rem;
370372
}
371373
#XP ul.lead {
372374
font-size: 1.6rem;
373375
}
376+
#contact h3 {
377+
padding-top: 2rem;
378+
}
374379
#contact .section-intro {
375380
padding: 0px;
376381
margin-left: 0px;
377382
margin-right: 0px;
378383
width: 98%;
379384
}
385+
#contact .section-intro .col-full {
386+
padding-left: 0px;
387+
padding-right: 0px;
388+
}
380389
}

0 commit comments

Comments
 (0)