Skip to content

Commit

Permalink
Blog Post images now responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
robinstickel committed Aug 27, 2016
1 parent d2e6b57 commit 3e02bdc
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
GENERAL STYLES
*/

Expand All @@ -21,7 +21,7 @@ body {
.container {
max-width: 960px;
position: relative;
}
}

.container h1 {
font-weight: 300;
Expand Down Expand Up @@ -61,12 +61,12 @@ body {
transition: .3s;
}

.container a:hover {
.container a:hover {
color: #34495e;
text-decoration: none;
}

/*
/*
NAVIGATION
*/

Expand Down Expand Up @@ -131,7 +131,7 @@ NAVIGATION
}
}

/*
/*
HEADER
*/

Expand All @@ -156,7 +156,7 @@ header p {
}
}

/*
/*
ABOUT ME
*/

Expand Down Expand Up @@ -234,7 +234,7 @@ ABOUT ME
max-width: 100%;
}

/*
/*
FOOTER
*/

Expand Down Expand Up @@ -292,7 +292,7 @@ FOOTER
font-weight: 400;
}

/*
/*
PORTFOLIO HOMEPAGE
*/

Expand Down Expand Up @@ -396,7 +396,7 @@ PORTFOLIO HOMEPAGE
opacity: 0;
}

/*
/*
PORTFOLIO CASE STUDIES
*/

Expand Down Expand Up @@ -435,7 +435,7 @@ PORTFOLIO CASE STUDIES
width: 100%;
height: auto;
}

.project figcaption {
color: #92989d;
}
Expand All @@ -444,7 +444,7 @@ PORTFOLIO CASE STUDIES
margin: 2rem 0 4rem 0;
}

/*
/*
BLOG LANDINGPAGE
*/

Expand Down Expand Up @@ -506,6 +506,11 @@ BLOG LANDINGPAGE
color: #34495e;
}

.project img {
width: 100%;
height: auto;
}

@media (max-width: 480px) {
.project_info {
display: none !important;
Expand Down Expand Up @@ -548,7 +553,7 @@ BLOG LANDINGPAGE
text-align: right;
}

/*
/*
BLOG ARTICLE
*/

Expand Down Expand Up @@ -602,7 +607,7 @@ BLOG ARTICLE
line-height: 2;
}

/*
/*
PHOTOGRAPHY
*/

Expand All @@ -622,7 +627,7 @@ PHOTOGRAPHY

/* Featherlight Fix */

@media all {
@media all {
.featherlight .featherlight-content {
padding: 0;
border: none;
Expand All @@ -631,7 +636,7 @@ PHOTOGRAPHY
}

.featherlight .featherlight-image {
max-width: 100%;
max-width: 100%;
border: 20px solid #fff;
}
}
Expand All @@ -641,4 +646,4 @@ PHOTOGRAPHY
padding: 0;
border: none;
}
}
}

0 comments on commit 3e02bdc

Please sign in to comment.