Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
einnemee authored Jul 8, 2023
1 parent 33bb52c commit 91524f0
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 0 deletions.
223 changes: 223 additions & 0 deletions layout.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
* {
box-sizing: border-box;
}

html {
text-size-adjust: none;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
}

body {
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}




/* Main Page Layout */

#main-content {
margin: 225px 425px;
display: flex;
flex-direction: column;
gap: 96px;
}




/* Portfolio Header */

#portfolio-header {
display: flex;
gap: 20px;
align-items: center;
}

#portfolio-header-image-container {
display: flex;
flex-direction: column;
gap: 10px;
flex-basis: 50%;
}

.portfolio-header-image {
width: 100%;
height: auto;
}

#portfolio-header-text-container {
display: flex;
flex-direction: column;
gap: 34px;
flex-basis: 50%;
}




/* About Section */

#about-section {
display: flex;
flex-direction: column;
gap: 16px;
}

.about-section-content {
display: flex;
flex-direction: column;
gap: 34px;
}




/* Project Section */

#my-work-section {
display: flex;
flex-direction: column;
gap: 16px;
}

.projects-container {
display: flex;
gap: 34px 16px;
flex-wrap: wrap;
}

/* Project Cards */

.project-card {
max-width: calc((100% - 32px) / 3);
display: flex;
flex-direction: column;
gap: 34px;
}

.project-card-text-container {
flex-direction: column;
display: flex;
gap: 16px
}

.project-image {
width: 100%;
height: 200px;
object-fit: cover;
object-position: center;
}




/* Project Pages */

#project-header {
display: flex;
flex-direction: column;
gap: 16px;
}

.project-header-image {
width: 100%;
height: auto;
}

#project-details {
display: flex;
flex-direction: column;
gap: 16px;
}

.project-details-content {
display: flex;
flex-direction: column;
gap: 34px;
}

/* Project Gallery */

#project-gallery {
display: flex;
flex-direction: column;
gap: 16px;
}

.project-gallery-content {
display: flex;
flex-wrap: wrap;
gap: 34px 16px;
}

.gallery-image-container {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
}

.gallery-image-container.half-width {
width: calc((100% - 16px) / 2);
}

.gallery-image {
width: 100%;
height: auto;
}


/* Extra Extra large devices (large laptops and desktops, 1200px and below) */
@media only screen and (max-width: 1600px) {
#main-content {
margin: 225px 275px;
}
}

/* Extra large devices (large laptops and desktops, 1200px and below) */
@media only screen and (max-width: 1200px) {
#main-content {
margin: 225px 175px;
}
}

/* Large devices (laptops/desktops, 1000px and below) */
@media only screen and (max-width: 1000px) {
#main-content {
margin: 225px 75px;
}
}

/* Small devices (portrait tablets and large phones, 800px and below) */
@media only screen and (max-width: 800px) {
#main-content {
margin: 150px 50px;
}

#portfolio-header {
flex-direction: column;
}

.project-card {
max-width: calc((100% - 16px) / 2);
}
}

/* Small devices (portrait tablets and large phones, 600px and below) */
@media only screen and (max-width: 600px) {
#main-content {
margin: 125px 20px;
}

.project-card {
max-width: 100%;
}
}



49 changes: 49 additions & 0 deletions typography.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.nav-title {
font-weight: 700;
font-size: 24px;
}

.button-text {
font-size: 14px;
font-weight: 700;
}

.image-caption {
font-size: 14px;
font-weight: 500;
}

.main-title {
font-size: 40px;
font-weight: 700;
}

.subheader-text {
font-size: 20px;
font-weight: 700;
}

.body-text {
font-size: 16px;
font-weight: 500;
}

.project-card-text {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
}

.project-title {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
106 changes: 106 additions & 0 deletions utilities.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@

/* Icons */

.right-arrow-icon {
width: 16px;
height: 16px;
margin-top: 1px;
}

.footer-icon {
width: 20px;
height: 20px;
}

a.icon-link {
transition: transform 200ms ease-in-out;
}

a.icon-link:hover {
cursor: pointer;
stroke-width: 5;
margin: 0;
transform: rotate(15deg);
}


/* Navbar Styling */

.navbar {
width: 100%;
padding: 30px 50px;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
top: 0;
left: 0;
}

.nav-title-link {
color: black;
text-decoration: none;
}

.nav-title-link:hover {
text-decoration: underline;
}

/* Small devices (portrait tablets and large phones, 800px and below) */
@media only screen and (max-width: 800px) {
.navbar {
padding: 20px 20px;
background-color: white
}
}


/* Button Styling */

a.button {
padding: 8px 16px;
border: 3px solid #141414;
border-radius: 50px;
color: black;
text-decoration: none;
width: fit-content;
display: flex;
gap: 5px;
align-items: center;
}

a.button:hover {
text-decoration: underline;
text-decoration-thickness: 2px;
cursor: pointer;
}


/* Footer Styling */

#footer {
width: 100%;
display: flex;
padding: 30px 50px;
justify-content: center;
align-items: center;
gap: 16px;
}

/* Link Styling */
a.no-underline {
text-decoration: none;
color: black
}

a.no-underline:hover {
text-decoration: underline;
cursor: pointer;
}

/* Small devices (portrait tablets and large phones, 800px and below) */
@media only screen and (max-width: 800px) {
#footer {
padding: 20px 20px;
}
}

0 comments on commit 91524f0

Please sign in to comment.