More styling changes.

This commit is contained in:
John Shaver 2017-08-12 21:13:41 -07:00
parent 49ce0d30a8
commit 1917f572b2
3 changed files with 37 additions and 15 deletions

View File

@ -0,0 +1,26 @@
.project-image {
right: unset;
flex-direction: row;
position: relative;
justify-content: space-between;
flex-wrap: wrap;
max-width: unset;
width: 90vw;
margin-left: -0.5rem;
margin-right: -0.5rem;
margin-top: 0.8rem;
margin-bottom: 0.8rem;
}
.flex-container {
max-width: 90%;
}
img {}
.project-image > img {
max-width: 90%;
margin: 0.5rem;
}

View File

@ -1,6 +1,6 @@
.flex-container { .flex-container {
width: 5.5in; width: 35rem;
max-width: 90%; max-width: 50%;
margin: 0 auto; margin: 0 auto;
} }
@ -38,30 +38,26 @@ p.attention {
} }
h4 { h4 {
font-weight: normal; font-weight: 500;
font-style: italic; font-style: italic;
} }
img.project-image {
max-width: 30%;
}
.project { .project {
display: flex; display: block;
position: relative; position: relative;
} }
.project-image { .project-image {
margin: 2rem; margin: 2rem;
display: flex; display: flex;
flex-direction: flex-direction: column;
column;position: position: absolute;
absolute;width: width: 15rem;
50%;right: max-width: 40%;
100%;align-items: right: 100%;
flex-end; align-items: flex-end;
} }
.project-image > img { .project-image > img {

View File

@ -1,7 +1,7 @@
<head> <head>
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" media="screen and (max-width: 700.px)" href="css/700.css" /> <link rel="stylesheet" media="screen and (max-width: 700px)" href="css/700.css" />
<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700" rel="stylesheet">
<title>Javascipt Developer - Portfolio</title> <title>Javascipt Developer - Portfolio</title>
</head> </head>