Skip to content

Commit

Permalink
updated portfolio styles
Browse files Browse the repository at this point in the history
  • Loading branch information
elin001 committed Nov 8, 2023
1 parent cad9d93 commit 9c3512f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
1 change: 0 additions & 1 deletion portfolio.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ <h1>Portfolio</h1>
</div>

<main id="content">
<p></p>
<div class="portfolio">
<div class="byline">
<img id="autoplayGif" src="media/migrants-journey-scroller.gif" alt="An animated look at the 3D terrain of Caparguná, Colombia. Caparguná is a port city near an entrance to the Darién Gap.">
Expand Down
18 changes: 13 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
main {
display: flex;
flex-flow: column wrap;
z-index: -1000;
}

body {
Expand Down Expand Up @@ -112,6 +113,7 @@ input:checked ~ span:nth-last-child(2) {
top: 0;
left: 0;
background: rgba(0,0,0,0.9);
z-index: 10000;
}

.overlay label{
Expand All @@ -121,8 +123,8 @@ input:checked ~ span:nth-last-child(2) {
right: 20px;
top: 20px;
background: url('https://tympanus.net/Development/FullscreenOverlayStyles/img/cross.png');
z-index: 100;
cursor:pointer;
z-index: 1000;
cursor: pointer;
}

.overlay nav {
Expand All @@ -142,6 +144,7 @@ input:checked ~ span:nth-last-child(2) {
display: inline-block;
height: 100%;
position: relative;
z-index: 1000;
}

.overlay ul li {
Expand Down Expand Up @@ -180,6 +183,7 @@ input:checked ~ span:nth-last-child(2) {
visibility: visible;
-webkit-transition: opacity 0.5s;
transition: opacity 0.5s;
z-index: 10000;
}

.overlay-hugeinc nav {
Expand Down Expand Up @@ -208,7 +212,7 @@ input:checked ~ span:nth-last-child(2) {
.about {
font-size: 2.5em;
margin-right: 600px;
margin-bottom: 0px"
margin-bottom: 0px;
}

.resume {
Expand All @@ -223,6 +227,10 @@ input:checked ~ span:nth-last-child(2) {
font-style: italic;
}

.portfolio {
margin-right: 33px;
}

.byline {
display: flex;
}
Expand All @@ -243,7 +251,7 @@ input:checked ~ span:nth-last-child(2) {
.hedlink::before {
content: '';
position: absolute;
display: block;
display: flex;
width: 0; /* Start with a width of 0 */
height: 2px;
background-color: black; /* Color of the underline */
Expand Down Expand Up @@ -285,7 +293,7 @@ input:checked ~ span:nth-last-child(2) {
cursor: pointer;
}

a:visited:{
a:visited{
font-style: none;
}

Expand Down

0 comments on commit 9c3512f

Please sign in to comment.