layout and media adjusted
This commit is contained in:
27
index.html
27
index.html
@@ -61,9 +61,8 @@
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
title="github"
|
title="github"
|
||||||
>
|
>
|
||||||
github</a
|
github <i class="fa fa-github fa-lg" aria-hidden="true"></i>
|
||||||
>
|
</a>
|
||||||
<i class="fa fa-github fa-lg" aria-hidden="true"></i>
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
@@ -71,18 +70,18 @@
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
title="LinkedIn"
|
title="LinkedIn"
|
||||||
>
|
>
|
||||||
linkedin</a
|
linkedin
|
||||||
>
|
|
||||||
<i class="fa fa-linkedin-square fa-lg" aria-hidden="true"></i>
|
<i class="fa fa-linkedin-square fa-lg" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
href="mailto:tylerkng96@icloud.com"
|
href="mailto:tylerkng96@icloud.com"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
title="email"
|
title="email"
|
||||||
>email</a
|
>email
|
||||||
>
|
|
||||||
<i class="fa fa-envelope-o fa-lg" aria-hidden="true"></i>
|
<i class="fa fa-envelope-o fa-lg" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -96,14 +95,15 @@
|
|||||||
<a
|
<a
|
||||||
href="https://github.com/2021-Spring-Part-Time/virtual-pets-amok-lerko96"
|
href="https://github.com/2021-Spring-Part-Time/virtual-pets-amok-lerko96"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>virtual-pet-amok</a
|
>virtual-pets-amok</a
|
||||||
>
|
>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div id="project-container">
|
<div id="project-container">
|
||||||
<img src="/images/amok.png" alt="virtual-pet-amok-console" />
|
<img src="/images/amok.png" alt="virtual-pet-amok-console" />
|
||||||
<ul class="project-skills">
|
<div class="project-skills">
|
||||||
<h4>skills</h4>
|
<h4>skills</h4>
|
||||||
|
<ul>
|
||||||
<li>TDD</li>
|
<li>TDD</li>
|
||||||
<li>polymorphism</li>
|
<li>polymorphism</li>
|
||||||
<li>encapsulation</li>
|
<li>encapsulation</li>
|
||||||
@@ -111,6 +111,7 @@
|
|||||||
<li>abstract class (extends)</li>
|
<li>abstract class (extends)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<article class="project-item">
|
<article class="project-item">
|
||||||
<div>
|
<div>
|
||||||
@@ -128,8 +129,9 @@
|
|||||||
src="/images/shelter.png"
|
src="/images/shelter.png"
|
||||||
alt="virtual-pet-shelter-console"
|
alt="virtual-pet-shelter-console"
|
||||||
/>
|
/>
|
||||||
<ul class="project-skills">
|
<div class="project-skills">
|
||||||
<h4>skills</h4>
|
<h4>skills</h4>
|
||||||
|
<ul>
|
||||||
<li>TDD</li>
|
<li>TDD</li>
|
||||||
<li>constructor() {...}</li>
|
<li>constructor() {...}</li>
|
||||||
<li>getter() {...}</li>
|
<li>getter() {...}</li>
|
||||||
@@ -137,6 +139,7 @@
|
|||||||
<li>collections<></li>
|
<li>collections<></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<article class="project-item">
|
<article class="project-item">
|
||||||
<div>
|
<div>
|
||||||
@@ -151,8 +154,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="project-container">
|
<div id="project-container">
|
||||||
<img src="/images/pet.png" alt="virtual-pet-console" />
|
<img src="/images/pet.png" alt="virtual-pet-console" />
|
||||||
<ul class="project-skills">
|
<div class="project-skills">
|
||||||
<h4>skills</h4>
|
<h4>skills</h4>
|
||||||
|
<ul>
|
||||||
<li>game loop</li>
|
<li>game loop</li>
|
||||||
<li>user input</li>
|
<li>user input</li>
|
||||||
<li>classes</li>
|
<li>classes</li>
|
||||||
@@ -161,6 +165,7 @@
|
|||||||
<li>clean code</li>
|
<li>clean code</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
143
style.css
143
style.css
@@ -15,23 +15,20 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-width: 560px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
|
||||||
/* border: 1px solid red; */
|
|
||||||
/* margin: 0 auto; */
|
|
||||||
/* width: 70%; */
|
|
||||||
}
|
|
||||||
|
|
||||||
nav a {
|
nav a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border: 1px solid yellow;
|
/* border: 1px solid yellow; */
|
||||||
padding: 1rem;
|
border-radius: 500px;
|
||||||
|
padding: 0.2rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: #c9cacc;
|
color: #c9cacc;
|
||||||
|
letter-spacing: 0.09rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul {
|
nav ul {
|
||||||
@@ -42,7 +39,11 @@ nav ul {
|
|||||||
|
|
||||||
nav a:hover {
|
nav a:hover {
|
||||||
background-color: #2a9d8f;
|
background-color: #2a9d8f;
|
||||||
transition: 150ms ease-in;
|
/* background-position-y: -20em; */
|
||||||
|
/* background-position: bottom; */
|
||||||
|
|
||||||
|
/* border-radius: 500px; */
|
||||||
|
transition: 150ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
@@ -95,7 +96,7 @@ h4 {
|
|||||||
|
|
||||||
#aboutMe {
|
#aboutMe {
|
||||||
border: 2px solid white;
|
border: 2px solid white;
|
||||||
padding: 1.5rem;
|
/* padding: 1.5rem; */
|
||||||
letter-spacing: 0.01rem;
|
letter-spacing: 0.01rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -105,12 +106,22 @@ h4 {
|
|||||||
text-align: start;
|
text-align: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#bio h2 {
|
||||||
|
font-size: 2.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
#bio h4 {
|
#bio h4 {
|
||||||
color: #666;
|
color: #666;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin: 0 auto 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bio ul {
|
#bio ul {
|
||||||
line-height: 1.35rem;
|
line-height: 1.35rem;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#contact {
|
#contact {
|
||||||
@@ -119,31 +130,53 @@ h4 {
|
|||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#contact h3 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
border: 1px solid salmon;
|
||||||
|
}
|
||||||
|
|
||||||
|
#contact ul {
|
||||||
|
display: flex;
|
||||||
|
/* text-align: start; */
|
||||||
|
border: 1px solid yellow;
|
||||||
|
list-style-type: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.contactLinks li {
|
.contactLinks li {
|
||||||
display: inline;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex: 1;
|
||||||
|
border: 1px solid green;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contactLinks a {
|
.contactLinks a {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
/* flex: 1; */
|
||||||
color: #c9cacc;
|
color: #c9cacc;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom: 1px solid #c9cacc;
|
/* border-bottom: 1px solid #c9cacc; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.contactLinks a:hover {
|
.contactLinks a:hover {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
border-bottom: 2px solid #c9cacc;
|
/* border-bottom: 2px solid #c9cacc; */
|
||||||
}
|
}
|
||||||
|
|
||||||
#projects {
|
#projects {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border: 2px solid green;
|
border: 2px solid green;
|
||||||
padding: 1.5rem;
|
/* padding: 1.5rem; */
|
||||||
}
|
}
|
||||||
|
|
||||||
#projects h2 {
|
#projects h2 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
|
font-size: 2rem;
|
||||||
border: 1px solid #3d405b;
|
border: 1px solid #3d405b;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,6 +187,7 @@ h4 {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
|
letter-spacing: 0.01rem;
|
||||||
/* padding: 1.5rem; */
|
/* padding: 1.5rem; */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -167,48 +201,74 @@ h4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#projects h3 {
|
#projects h3 {
|
||||||
|
font-size: 1.5rem;
|
||||||
border: 1px solid brown;
|
border: 1px solid brown;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
|
letter-spacing: 0.01rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-skills {
|
.project-skills {
|
||||||
color: #666;
|
color: #666;
|
||||||
border: 1px solid red;
|
border: 1px solid red;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
width: 66%;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
line-height: 1.25rem;
|
line-height: 1.25rem;
|
||||||
text-align: start;
|
text-align: start;
|
||||||
padding-top: 0;
|
padding: 0 1.5rem;
|
||||||
padding-bottom: 1.5rem;
|
/* padding-top: 0; */
|
||||||
|
/* padding-bottom: 1.5rem; */
|
||||||
|
display: flex;
|
||||||
|
align-items: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-skills h4 {
|
||||||
|
border: 1px solid white;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
flex: 1;
|
||||||
|
/* text-align: end; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-skills li {
|
||||||
|
border: 1px solid green;
|
||||||
|
list-style-type: none;
|
||||||
|
/* display: block; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-skills ul {
|
||||||
|
flex: 2;
|
||||||
|
line-height: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-item img {
|
.project-item img {
|
||||||
width: 100%;
|
width: 90%;
|
||||||
border: 2px solid red;
|
/* border: 2px solid red; */
|
||||||
margin: auto;
|
/* margin: auto; */
|
||||||
|
/* padding: 1.5rem; */
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
color: #666;
|
color: #666;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column-reverse;
|
flex-direction: column;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border: 1px dotted red;
|
border: 1px dotted red;
|
||||||
/* padding: 1.5rem; */
|
padding: 1rem;
|
||||||
|
/* padding: 1rem; */
|
||||||
/* height: 90px; */
|
/* height: 90px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
#copyright {
|
#copyright {
|
||||||
|
margin: 0.4rem;
|
||||||
border: 1px solid yellow;
|
border: 1px solid yellow;
|
||||||
letter-spacing: 0.1rem;
|
letter-spacing: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footLinks {
|
#footLinks {
|
||||||
|
margin: 0.4rem;
|
||||||
border: 1px solid blue;
|
border: 1px solid blue;
|
||||||
letter-spacing: 0.8rem;
|
letter-spacing: 0.8rem;
|
||||||
}
|
}
|
||||||
@@ -222,7 +282,7 @@ footer {
|
|||||||
transition: 160ms ease-in;
|
transition: 160ms ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 576px) {
|
||||||
#wrapper {
|
#wrapper {
|
||||||
width: 560px;
|
width: 560px;
|
||||||
/* text-align: center; */
|
/* text-align: center; */
|
||||||
@@ -233,6 +293,7 @@ footer {
|
|||||||
|
|
||||||
nav a {
|
nav a {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
padding: 0.5rem;
|
||||||
flex: 4;
|
flex: 4;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
/* justify-content: space-between; */
|
/* justify-content: space-between; */
|
||||||
@@ -265,19 +326,46 @@ footer {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contactLinks li {
|
||||||
|
align-items: flex-end;
|
||||||
|
/* margin: auto; */
|
||||||
|
}
|
||||||
|
.contactLinks a {
|
||||||
|
flex-direction: row;
|
||||||
|
/* justify-content:space-between; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.contactLinks i {
|
||||||
|
/* border: 1px solid purple; */
|
||||||
|
margin: auto 5px;
|
||||||
|
}
|
||||||
|
|
||||||
#project-container {
|
#project-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-item img {
|
.project-item img {
|
||||||
flex: 3;
|
flex: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-skills {
|
.project-skills {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding-right: 1rem;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-skills h4 {
|
||||||
|
margin: 1.5rem;
|
||||||
|
align-self: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-skills ul {
|
||||||
|
margin: 1.5rem;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-item a {
|
.project-item a {
|
||||||
@@ -286,11 +374,12 @@ footer {
|
|||||||
|
|
||||||
footer {
|
footer {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
width: 87%;
|
||||||
|
padding: 2rem;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 90%;
|
/* width: 90%; */
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1200px) {
|
@media (min-width: 1200px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user