Skip to content

Commit

Permalink
Updated pics
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Cockrell authored and Joshua Cockrell committed Jan 10, 2020
1 parent 03ba73a commit 782a16d
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 15 deletions.
Binary file modified assets/.DS_Store
Binary file not shown.
Binary file removed assets/diamond-elipse-noback.png
Binary file not shown.
Binary file removed assets/elite/elite_cover.jpg
Binary file not shown.
Binary file removed assets/elite/elite_logo.png
Binary file not shown.
Binary file removed assets/elite/elite_logo_circle.png
Binary file not shown.
Binary file removed assets/forest-1.jpeg
Binary file not shown.
Binary file removed assets/forest-2.jpeg
Binary file not shown.
Binary file removed assets/profile.jpg
Binary file not shown.
Binary file removed assets/profile_crop.jpg
Binary file not shown.
Binary file added assets/profile_crop_min_mobile_tint.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 assets/profile_crop_min_tint.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 removed assets/profile_crop_small.jpg
Binary file not shown.
Binary file removed assets/stars-1-min.jpg
Binary file not shown.
Binary file removed assets/stars-1.jpg
Binary file not shown.
Binary file removed assets/stars-2.jpeg
Binary file not shown.
25 changes: 16 additions & 9 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ a {
color: #F4F3F3;

background-size: cover;
min-height: 100vh;
/*min-height: 100vh;*/
}

/* All nav bars */
Expand Down Expand Up @@ -123,9 +123,9 @@ a {
#section-landing {
z-index: 3;

background-image: linear-gradient(rgba(0, 0, 0, 0.6),
/*background-image: linear-gradient(rgba(0, 0, 0, 0.6),
rgba(0, 0, 0, 0.6)),url(../assets/profile_crop_min.jpg);
background-attachment: fixed;
background-attachment: fixed;*/

/*background-image: linear-gradient(rgba(0, 0, 0, 0.4),
rgba(0, 0, 0, 0.4)),url(../assets/forest-3-small.jpeg);*/
Expand All @@ -135,7 +135,7 @@ a {
*/

background-position: center;
height: 100vh;
/*height: 100vh;*/
color: #FFFFFF;
background-color: #7f8c8d;
}
Expand All @@ -158,6 +158,14 @@ a {
background-color: rgb(255,255,255,0.1);
color: white;
max-width: 60%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}

.background-img {
width: 100%;
}

#section-iphone {
Expand All @@ -167,6 +175,7 @@ a {
#section-web {
color: #ccc;
background-color: #000;
padding: 50px 0;
}

#section-stars {
Expand Down Expand Up @@ -380,7 +389,7 @@ a {
@media all and (max-width: 750px) {

.section-main {
min-height: 500px;
/*min-height: 500px; */
}


Expand All @@ -393,7 +402,6 @@ a {
}

#section-landing {
height: 500px;
justify-content: flex-end;
}

Expand All @@ -411,9 +419,8 @@ a {
border-bottom: none;
}

#section-landing {
background-image: linear-gradient(rgba(0, 0, 0, 0.6),
rgba(0, 0, 0, 0.6)),url(../assets/profile_crop_min_mobile.jpg);
.box-title {
top: 75%;
}
}

Expand Down
14 changes: 8 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@
</li>
</ul>

<div class="section-main flex-vert" id="section-landing">
<div class="section-main" id="section-landing">

<picture>
<source srcset="assets/profile_crop_min_mobile_tint.jpg" media="(max-width: 750px)">
<source srcset="assets/profile_crop_min_tint.jpg" media="(min-width: 750px)">
<img class="background-img" src="assets/profile_crop_min_tint.jpg">
</picture>

<div class="box-title">
<h1 class="text-name">JOSH</h1>
Expand All @@ -46,11 +52,7 @@ <h1 class="text-name">COCKRELL</h1>
<div class="line"></div>
</div>

<!-- <picture>
<source srcset="assets/profile_crop_min_mobile.jpg" media="(max-width: 640px)">
<source srcset="assets/profile_crop_min.jpg" media="(min-width: 640px)">
<img src="assets/profile_crop_min.jpg">
</picture> -->


</div>

Expand Down

0 comments on commit 782a16d

Please sign in to comment.