Skip to content

Commit 0fbcd67

Browse files
I have fixed cell phone and tablet view issues, this should be the best deployment yet.
1 parent 3aa99c2 commit 0fbcd67

File tree

2 files changed

+46
-12
lines changed

2 files changed

+46
-12
lines changed

css/style.css

Lines changed: 44 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ nav {
338338
}
339339

340340
.sydneyLeigh {
341-
font-size: 0.4em;
341+
font-size: 0.3em;
342342
color: var(--secondary8);
343343
}
344344

@@ -350,7 +350,7 @@ nav {
350350
align-items: center;
351351
flex-direction: column;
352352
text-align: center;
353-
font-size:3em;
353+
font-size:2em;
354354
border-bottom: 3px solid var(--primary7);
355355
}
356356

@@ -361,7 +361,7 @@ nav {
361361
}
362362

363363
.themePicker {
364-
font-size:0.3em;
364+
font-size:0.5em;
365365
display:flex;
366366
justify-content: center;
367367
align-items: stretch;
@@ -370,8 +370,8 @@ nav {
370370

371371
.themeButton{
372372
margin:0.5rem;
373-
height:3rem;
374-
width:3rem;
373+
height:2rem;
374+
width:2rem;
375375
/* border-radius: 50%;
376376
border: 1px solid var(--secondary1); */
377377
box-shadow: -5px 0 0 0 var(--secondary1),
@@ -480,6 +480,7 @@ nav {
480480

481481
.bookButtonZ-index {
482482
position:absolute;
483+
transform: scale(0.85);
483484
background-color: var(--primary1);
484485
color: var(--secondary8);
485486
padding:1rem;
@@ -545,7 +546,6 @@ nav {
545546
align-items: start;
546547
justify-content: start;
547548
gap: 1.5rem;
548-
font-size: 2em;
549549
}
550550

551551
.contactSVG {
@@ -574,7 +574,9 @@ nav {
574574
border-top: 5px solid var(--primary5);
575575
}
576576

577+
577578
/* For phones in portrait mode */
579+
/* 0x0 pixels to 600x800 */
578580
@media only screen and (max-width:600px) {
579581
nav {
580582
font-size: 0.75em;
@@ -630,18 +632,37 @@ nav {
630632
width:15rem;
631633
}
632634

635+
.contactItem{
636+
font-size: 0.75em;
637+
}
638+
633639
.footer{
634-
font-size: 1.5em;
640+
padding:1rem;
641+
font-size: 1em;
635642
}
636643
}
637644

638645
/* Specifically for phones & tablets in lanscape mode */
646+
639647
@media only screen and (min-width:600px) and (max-height:600px) {
640648
nav {
641649
font-size: 1.5em;
642650
font-style: bold;
643651
}
644652

653+
.heroSection {
654+
font-size: 1.5em;
655+
}
656+
657+
.bookButtonZ-index {
658+
transform: scale(0.85);
659+
}
660+
661+
.gridBoxIcons{
662+
grid-template-rows: repeat(5, 1fr);
663+
grid-template-columns: repeat(5, 1fr);
664+
}
665+
645666
.bookButtonBoxPhone{
646667
display: none;
647668
}
@@ -656,15 +677,24 @@ nav {
656677
width:14rem;
657678
}
658679

680+
.contactItem{
681+
font-size: 2em;
682+
}
683+
659684
.footer{
660-
font-size: 2.5em;
685+
font-size: 1.5em;
661686
}
662687
}
663688

689+
/* 1024x768 */
690+
/* 1920x1080 */
691+
664692
/* For computer and tablet screens */
693+
665694
@media only screen and (min-width:600px) and (min-height:600px){
695+
/* @media only screen and (min-width:769px){ */
666696
nav {
667-
font-size: 3em;
697+
font-size: 2.5em;
668698
font-style: bold;
669699
}
670700

@@ -687,7 +717,11 @@ nav {
687717
width: 15rem;
688718
}
689719

720+
.contactItem{
721+
font-size: 2em;
722+
}
723+
690724
.footer{
691-
font-size: 2.5em;
725+
font-size: 1.5em;
692726
}
693727
}

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<!-- <a href="#portfolio">PORTFOLIO</a> -->
125125
<a href="#resume">RESUME</a>
126126
<a href="#contactMe">CONTACT</a>
127-
<a href="#footer">ABOUT</a>
127+
<a href="#about">ABOUT</a>
128128
</nav>
129129
<div class="banner">
130130
<div class="bannerBox bannerBox1">
@@ -781,7 +781,7 @@ <h1>CONTACT ME</h1>
781781
</form> -->
782782
</div>
783783
</article>
784-
<article class="article">
784+
<article id="about" class="article">
785785
<h1>ABOUT ME</h1>
786786
<div class="contentBox">
787787
<p>Having started programming in C++ at the age of 11, coding hasn't just been a job for me, it's a lifestyle. Whether it's been doing projects in my homelabs over the years, being webmaster for ACM in college, or being a lead developer at a company, sometimes even freelancing to pay the rent, software engineering has been a major part of my life. Between coding, system administration, and even being a security auditor, I've experienced IT from all angles. I like to think of myself as a Jack of all trades, master of none, but in most cases better than a master of one. Given a little time, I can hit the ground running with anything.</p>

0 commit comments

Comments
 (0)