Skip to content

Commit

Permalink
removed couple projects
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-c100 committed Nov 26, 2023
1 parent 9447daf commit 7722cad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 53 deletions.
25 changes: 6 additions & 19 deletions docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,11 @@ span {
}

img {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
margin-bottom: 20px;
max-width: 100%;
height: auto;
object-fit: contain;
}

/* main image displayed on desktop moved to right hand side of screen */
.display-image {
height: 350px;
background-size: contain;
background-repeat: no-repeat;
transition: all .3s linear;
margin-bottom: 10px;
}

p {
font-family: Space Grotesk, sans-serif;
Expand Down Expand Up @@ -90,10 +80,6 @@ section {
line-height: 1.8;
}

.content img {
width: 700px;
margin-left: 0;
}

.row {
border-bottom: solid 1px #ccc;
Expand Down Expand Up @@ -173,6 +159,7 @@ a {
margin-top: 20px;
}


.footer-section {
margin-top: 40px;
}
Expand Down Expand Up @@ -233,14 +220,14 @@ twitter-tweet {
margin-left: 20px;
}

img {
/* img {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
margin-bottom: 20px;
max-width: 20rem;
}
} */

}

Expand Down
34 changes: 4 additions & 30 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,39 +94,15 @@

<section>
<div class="display-image">
<script>
const images = [
'url("images/fantome.jpg")',
'url("images/DSC_1164.jpg")',
'url("images/gw_patterns.png")',
'url("images/gw_mockup2.png")',
'url("images/diagrams.png")',
'url("images/efvs_comps.png")',
'url("images/popdensity-asia.png")',
];

const image = document.querySelector('.display-image');

function showImage() {
var a = Math.floor(Math.random() * images.length);
var img = images[a];
image.style.backgroundImage = img;


}
showImage();
setInterval(showImage, 4000);

</script>
<img class="display-image" src="images/fantome.jpg" alt="">

</div>
</section>


<section>
<h2>Data</h2>
<div class="work-item">
<a href="https://drive.google.com/file/d/1Gsjer--Z-yH288PHMu_I9yUVONWHNk2S/view?usp=sharing">Full Portfolio</a>
</div>

<div class="work-item">
<a href="https://www.economist.com/interactive/israel-gaza-building-damage-map">Structural damage in Gaza</a>
</div>
Expand All @@ -139,9 +115,7 @@ <h2>Data</h2>
<div class='work-item'>
<a href = "/work/black_hole">Black Hole</a>
</div>
<div class='work-item'>
<a href = "https://observablehq.com/d/11e7a132e9865238">Tech Layoffs 2023</a>
</div>

</section>
<section>
<h2>Tools, websites, other</h2>
Expand Down
8 changes: 4 additions & 4 deletions themes/hugo-starter-theme/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@

<section>
<h2>Data</h2>
<div class="work-item">
<!-- <div class="work-item">
<a href="https://drive.google.com/file/d/1Gsjer--Z-yH288PHMu_I9yUVONWHNk2S/view?usp=sharing">Full Portfolio</a>
</div>
</div> -->
<div class="work-item">
<a href="https://www.economist.com/interactive/israel-gaza-building-damage-map">Structural damage in Gaza</a>
</div>
Expand All @@ -87,9 +87,9 @@ <h2>Data</h2>
<div class='work-item'>
<a href = "/work/black_hole">Black Hole</a>
</div>
<div class='work-item'>
<!-- <div class='work-item'>
<a href = "https://observablehq.com/d/11e7a132e9865238">Tech Layoffs 2023</a>
</div>
</div> -->
</section>
<section>
<h2>Tools, websites, other</h2>
Expand Down

0 comments on commit 7722cad

Please sign in to comment.