Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 145 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
/* font-family: 'Source Sans Pro', sans-serif; */
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro");

:root {
--main-text-color: #000;
--about-background-color: #40404c;
}

body {
padding: 0;
margin: 0;
height: 100%;
}

/* Project wrapper */
.container {
margin: 0 auto;
width: 80%;
max-width: 1600px;
}

/* Main nav */
.main-nav {
list-style-type: none;
margin: 0;
padding: 20px;
}
.main-nav li {
display: inline-block;
text-transform: uppercase;
font-family: "Source Sans Pro", sans-serif;
}
.main-nav li:first-of-type {
margin-right: 30px;
}
.main-nav li a {
text-decoration: none;
color: var(--main-text-color);
}
.main-nav li a:hover {
opacity: 0.5;
}

@media (max-width: 480px) {
.main-nav {
padding: 20px 0;
}
}

/* Projects */
.projects-wrapper {
height: calc(100vh - 150px);
display: grid;
grid-template-columns: 33% 33% 33%;
grid-gap: 10px;
background-color: #fff;
color: #444;
margin-top: 40px;
padding-bottom: 10%;
}

@media (max-width: 768px) {
.projects-wrapper {
height: auto;
grid-template-columns: 50% 50%;
}
}

@media (max-width: 480px) {
.projects-wrapper {
grid-template-columns: 100%;
}
}

.project {
background-color: #fff;
color: #000;
text-align: right;
padding: 20px;
font-size: 1rem;
}

@media (max-width: 480px) {
.project {
padding: 0;
padding-bottom: 30px;
}
}

.project a.project-link {
text-decoration: none;
color: var(--main-text-color);
transition: opacity 1s;
opacity: 1;
}
.project a.project-link:hover {
opacity: 0.5;
}
.project img.project-img {
max-width: 100%;
width: 100%;
}
.project figure.project-details {
margin: 0;
}
.project figcaption.project-caption {
margin: 0;
font-family: "Source Sans Pro", sans-serif;
}

/* About */
.about-wrapper {
padding-left: 20%;
padding-top: 10%;
height: 100vh;
background-color: var(--about-background-color);
}

.about-heading {
font-size: 2rem;
color: #fff;
font-family: "Source Sans Pro", sans-serif;
}

.about-details {
color: #cbcbe5;
width: 60%;
font-family: "Source Sans Pro", sans-serif;
font-size: 1.75rem;
}

.social {
padding-left: 40px;
}
@media (max-width: 960px) {
.about-wrapper {
padding-left: 0;
}

.about-details {
width: 100%;
font-size: 1.2rem;
padding: 0;
}
}
Binary file added img/01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/02.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/03.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/04.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/05.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/06.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
97 changes: 97 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<!doctype html>
<html lang="">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Personal Website</title>

<!-- Styles -->
<link rel="stylesheet" href="css/styles.css">
</head>

<body>
<header class="container">
<ul class="main-nav">
<li>
<a href="#about-wrapper">About</a>
</li>
<li>
<a href="#projects-wrapper">Work</a>
</li>
</ul>
</header>
<section id="projects-wrapper" class="container projects-wrapper">
<div class="project">
<a href="#" class="project-link">
<figure class="project-details">
<img class="project-img" src="./img/01.jpg">
<figcaption class="project-caption">Project One</figcaption>
</figure>
</a>
</div>
<div class="project">
<a href="#" class="project-link">
<figure class="project-details">
<img class="project-img" src="./img/05.jpg">
<figcaption class="project-caption">Project Two</figcaption>
</figure>
</a>
</div>
<div class="project">
<a href="#" class="project-link">
<figure class="project-details">
<img class="project-img" src="./img/03.jpg">
<figcaption class="project-caption">Project Three</figcaption>
</figure>
</a>
</div>
<div class="project">
<a href="#" class="project-link">
<figure class="project-details">
<img class="project-img" src="./img/06.jpg">
<figcaption class="project-caption">Project Four</figcaption>
</figure>
</a>
</div>
<div class="project">
<a href="#" class="project-link">
<figure class="project-details">
<img class="project-img" src="./img/04.jpg">
<figcaption class="project-caption">Project Five</figcaption>
</figure>
</a>
</div>
<div class="project">
<a href="#" class="project-link">
<figure class="project-details">
<img class="project-img" src="./img/02.jpg">
<figcaption class="project-caption">Project Six</figcaption>
</figure>
</a>
</div>
</section>

<section id="about-wrapper" class="about-wrapper">
<div class="container">
<h3 class="about-heading">Profile</h3>
<ul class="about-details">
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore</li>
<li>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</li>
<li>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</li>
</ul>
<div class="social">
<a href="https://github.com/r4lfl4b" target="_blank">
<svg width="24" height="24" viewBox="0 0 24 24">
<title>github</title>
<path d="M12 2c6.625 0 12 5.375 12 12 0 5.297-3.437 9.797-8.203 11.391-.609.109-.828-.266-.828-.578 0-.391.016-1.687.016-3.297 0-1.125-.375-1.844-.812-2.219 2.672-.297 5.484-1.313 5.484-5.922 0-1.313-.469-2.375-1.234-3.219.125-.313.531-1.531-.125-3.187-1-.313-3.297 1.234-3.297 1.234a11.28 11.28 0 0 0-6 0S6.704 6.656 5.704 6.969c-.656 1.656-.25 2.875-.125 3.187-.766.844-1.234 1.906-1.234 3.219 0 4.594 2.797 5.625 5.469 5.922-.344.313-.656.844-.766 1.609-.688.313-2.438.844-3.484-1-.656-1.141-1.844-1.234-1.844-1.234-1.172-.016-.078.734-.078.734.781.359 1.328 1.75 1.328 1.75.703 2.141 4.047 1.422 4.047 1.422 0 1 .016 1.937.016 2.234 0 .313-.219.688-.828.578C3.439 23.796.002 19.296.002 13.999c0-6.625 5.375-12 12-12zM4.547 19.234c.031-.063-.016-.141-.109-.187-.094-.031-.172-.016-.203.031-.031.063.016.141.109.187.078.047.172.031.203-.031zm.484.532c.063-.047.047-.156-.031-.25-.078-.078-.187-.109-.25-.047-.063.047-.047.156.031.25.078.078.187.109.25.047zm.469.703c.078-.063.078-.187 0-.297-.063-.109-.187-.156-.266-.094-.078.047-.078.172 0 .281s.203.156.266.109zm.656.656c.063-.063.031-.203-.063-.297-.109-.109-.25-.125-.313-.047-.078.063-.047.203.063.297.109.109.25.125.313.047zm.891.391c.031-.094-.063-.203-.203-.25-.125-.031-.266.016-.297.109s.063.203.203.234c.125.047.266 0 .297-.094zm.984.078c0-.109-.125-.187-.266-.172-.141 0-.25.078-.25.172 0 .109.109.187.266.172.141 0 .25-.078.25-.172zm.906-.156c-.016-.094-.141-.156-.281-.141-.141.031-.234.125-.219.234.016.094.141.156.281.125s.234-.125.219-.219z"></path>
</svg>
</a>
</div>
</div>
</section>
</body>

</html>