Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformatted layout #16

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
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
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"ritwickdey.liveserver"
]
}
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [


{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"CodeGPT.apiKey": "CodeGPT Plus",
"githubPullRequests.ignoredPullRequestBranches": [
"main"
],
"CodeGPT.Autocomplete.provider": "CodeGPT Plus - Plus"
}
152 changes: 110 additions & 42 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,57 +10,117 @@
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
/>
<link href="style.css" rel="stylesheet" type="text/css" />

</head>
<body>
<style>
.heading-container {
display: flex;
justify-content: space-around;
align-items: center;
margin: 0px 100px;
padding: 0px 300px;
}
.photo-container {
display: flex;
align-items: center;
margin: 0px 0px 0px 75px;
padding: 0px 100px 0px 300px;
}

.container {
display: flex;
flex-direction: column;
align-content: center;
margin: 0px 50px 0px 0px;
padding: 0px 150px 0px 100px;
}

.photos-container {
display: flex;
align-content: center;
margin: 0px 50px;
padding: 0px 300px;
}


.main-container {
display: flex;
flex-direction: column;
align-content: center;
margin: 0px 50px;
padding: 0px 300px;
}
.contact-container {
display: flex;
flex-direction: column;
align-content: center;
margin: 0px 100px;
padding: 0px 300px;
}

.flex-item {
text-align: left;}

.flex-items {
text-align: center;
}
</style>
<!-- Header section -->
<header>
<h1>Pete Thinkful | Artist</h1>
<nav>
<a href="#about">About</a>
<a href="#portfolio">Portfolio</a>
<a href="#contact">Contact</a>
</nav>

<nav class="heading-container">
<h1 style="font-size: 35px; text-align: center;">Pete Thinkful | Artist</h1>
<a class= "flex-items" style = "color: red; font-size: 12px;" href="#about">About</a>
<a class= "flex-items" style = "color: red; font-size: 12px;" href="#portfolio">Portfolio</a>
<a class= "flex-items" style = "color: red; font-size: 12px;" href="#contact">Contact</a>
</nav>
</header>

<main>
<div>
<!-- About section -->
<article id="about">
<h2>About</h2>
<section>
<h3>Hi! I'm Pete Thinkful</h3>
<div>
<section>
<div class="photo-container">
<img
class="image-circle"
src="images/pete-thinkful.png"
alt="Pete Thinkful"
/>
</div>
<p>I'm an artist living in Denver, Colorado.</p>
<p>As an artist, I'm interested in:</p>
<ul>
<li>Producing abstract art</li>
<li>Creating street graffiti art</li>
<li>Connecting with like-minded artists</li>
alt="Pete Thinkful"/>

<div class="container">
<h3 class="flex-items">Hi! I'm Pete Thinkful</h3>

<p class="flex-item">I'm an artist living in Denver, Colorado.</p>
<p class="flex-item">As an artist, I'm interested in:</p>
<ul class="flex-item">
<li class="flex-item">Producing abstract art</li>
<li class="flex-item">Creating street graffiti art</li>
<li class="flex-item">Connecting with like-minded artists</li>
</ul>
<p>
<p class="flex-item">
Please feel free to take a look at my website and feel free to
<a href="#contact">contact me</a>.
<a class="flex-item" href="#contact">contact me</a>.
</p>
</section>
</div>
</div>
</section>


<section>
<h3>Pete's Background</h3>
<p>
<div class="main-container">
<h3 class="flex-items">Pete's Background</h3>
<p class="flex-item">
After graduating college, I became an art teacher and worked with
beginners and professionals. I love art and my works have been
featured in major art galleries across the globe.
</p>
<p>
<p class="flex-item">
If you're looking to hire an artist or if you're an artist looking
for a collaborator for your next project, please reach out! I'm so
excited to work with other artists to create new art.
</p>
</div>
</section>
</article>

Expand All @@ -70,36 +130,42 @@ <h3>Pete's Background</h3>
<article id="portfolio">
<h2>Portfolio</h2>
<section>
<div class="photos-container">
<div class="flex-items">
<h3>Abstract Red</h3>
<div>
<img src="images/abstract-red.png" alt="Abstract Red" />
</div>
<p>

<img src="images/abstract-red.png" alt="Abstract Red"/>

<p class="flex-items" style="font-size: 14px" style="border: #eae2b7 5px solid;">
Vaporware wayfarers heirloom neutra disrupt. Activated charcoal
waistcoat scenester hell of.
</p>
</section>

<section>

</div>

<div class="flex-items">
<h3>Spiral Zany</h3>
<div>

<img src="images/spiral-zany.png" alt="Spiral Zany" />
</div>
<p>

<p class="flex-items" style="font-size: 14px" style="border: #eae2b7 5px solid;">
Sriracha portland taxidermy cronut messenger bag, vegan
distillery. Vaporware kickstarter air plant mumblecore food truck.
</p>
</section>

<section>
</div>
<div class="flex-items">
<h3>Melted Rainbow</h3>
<div>

<img src="images/melted-rainbow.png" alt="Melted Rainbow" />
</div>
<p>

<p class="flex-items" style="font-size: 14px" style="border: #eae2b7 5px solid;">
Edison bulb single-origin coffee snackwave, actually ennui
locavore shabby chic forage.
</p>
</div>
</div>

</section>
</article>

Expand All @@ -108,6 +174,7 @@ <h3>Melted Rainbow</h3>
<!-- Contact section -->
<article id="contact">
<h2>Contact</h2>
<div class="contact-container">
<p>
I'd love to hear from you! Please feel free to contact or follow me:
</p>
Expand All @@ -122,8 +189,9 @@ <h2>Contact</h2>
<a href="">Pinterest</a>
</li>
</ol>
</div>
</article>
</div>

</main>

<!-- Footer section -->
Expand Down
82 changes: 27 additions & 55 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,49 @@
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&family=Source+Sans+Pro:wght@400&display=swap");

body {
background-color: #eae2b7;
color: #003049;
font-family: "Source Sans Pro", Tahoma, Geneva, Verdana, sans-serif;
padding: 40px;
}

color: black;
font-family: "Source Sans Pro", Tahoma, Geneva, Verdana, sans-serif;
background-color: #eae2b7;}

/* Headings */
h1,
h2,
h3 {
font-family: "Playfair Display", Times, serif;
text-align: center;
}
body style {margin: 0px; height: 100%;}

/* Header */
header {
text-align: center;
}

/* Containers */
div {
background-color: #eae2b7;
margin: auto;
width: 600px;
/* Set the font family for any h1, h2, or h3 heading */
h1 {text-align: center;}
h2 {text-align: center;}
h3 {text-align: center;
font-family: "Playfair Display", Times, serif;
}

article {
padding: 50px 0;
}

article div {
text-align: center;
width: 100%;
}

/* Paragraphs */
p {
line-height: 1.5;
line-height: 1.5;
}
li {text-align: left;}
a:link {color: #d62828;}
a:visited {color: #d62828;}
a:hover {color: #f77f00}
a:active {color: #f77f00;}

/* Links */
a:link {
color: #d62828;
}
/* The div container constrains the content width within the main container to 600px */

a:hover {
color: #f77f00;
}

nav a {
padding-left: 20px;
}

/* Images */
img {
width: 100%;
max-width: 200px;
height: auto;
}
width:250px; height: auto; border: #eae2b7 1px solid;}

.image-circle {
border: 2px solid #003049;
border-radius: 50%;
}

/* Footer */
footer {
text-align: center;
}

/* Other page elements */
hr {
border: 1px solid black;
}

/* Add your solution below */

.image-circle {border-radius: 75%; border: 2px solid #003049;
width:20%; max-width: 20%; height: auto}

footer p {text-align: center;}