Remove footers, install font

This commit is contained in:
Tanner Collin 2018-08-03 04:14:36 +00:00
parent 9f0e1edc88
commit e5aa80e123
5 changed files with 18 additions and 57 deletions

View File

@ -4,7 +4,8 @@
body { body {
line-height: 1.6; line-height: 1.6;
font-size: 1.125rem; font-size: 1.25rem;
font-family: 'Open Sans', sans-serif;
color: #333; color: #333;
background-color: #F9F9F9; background-color: #F9F9F9;
} }

View File

@ -1,11 +1,10 @@
.grid-container { .grid-container {
background: #bad4ff; text-align: center;
max-width: 120rem; max-width: 120rem;
margin: 0 auto; margin: 0 auto;
} }
.grid-item { .grid-item {
//background: linear-gradient(135deg, #87e0fd 0%,#53cbf1 40%,#05abe0 100%);
position: relative; position: relative;
float: left; float: left;
@ -29,12 +28,14 @@
} }
.menu .logo { .menu .logo {
background-color: #E9E9E9;
object-fit: contain; object-fit: contain;
padding-top: 1em; padding-top: 1em;
min-height: 5rem; min-height: 5rem;
} }
.menu section { .menu section {
background-color: #E9E9E9;
min-height: 0; min-height: 0;
flex: 1; flex: 1;
} }
@ -52,13 +53,18 @@
padding: 2rem; padding: 2rem;
} }
.menu footer {
background-color: #E9E9E9;
padding-bottom: 1rem;
}
.project { .project {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
} }
.project header { .project header {
font-size: 2.25rem; font-size: 2rem;
line-height: 1.2; line-height: 1.2;
} }
@ -94,21 +100,13 @@
padding: 1rem; padding: 1rem;
} }
.project footer {
display: flex;
justify-content: space-between;
margin: 0 1em;
font-size: 1rem;
font-family: monospace;
}
.photo a { .photo a {
display: block; display: block;
position: relative; position: relative;
height: 100%; height: 100%;
} }
.photo header, .photo footer { .photo header {
display: none; display: none;
position: absolute; position: absolute;
width: 100%; width: 100%;
@ -124,22 +122,10 @@
padding: 0.5rem; padding: 0.5rem;
} }
.photo footer {
bottom: 0;
justify-content: space-between;
padding: 0 1em;
font-size: 1rem;
font-family: monospace;
}
.photo a:hover header { .photo a:hover header {
display: block; display: block;
} }
.photo a:hover footer {
display: flex;
}
.photo img { .photo img {
position: absolute; position: absolute;
height: 100%; height: 100%;
@ -179,13 +165,13 @@
padding-bottom: 100%; padding-bottom: 100%;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.menu {
background-color: #E9E9E9;
}
.grid-item-content.photo { .grid-item-content.photo {
padding: 0; padding: 0;
} }
.photo a header { .photo a header {
display: block; display: block;
} }
.photo a footer {
display: flex;
}
} }

View File

@ -47,17 +47,11 @@ class Grid extends React.Component {
<img src={dress1} alt='' /> <img src={dress1} alt='' />
<p>A dress lit up with LEDs that act as twinkling stars. Seven act as The Big Dipper, and the rest twinkle randomly.</p> <p>A dress lit up with LEDs that act as twinkling stars. Seven act as The Big Dipper, and the rest twinkle randomly.</p>
</section> </section>
<footer>
<p>Project (Hardware)</p><p>2018-10-11</p>
</footer>
</GridItem> </GridItem>
<GridItem type='photo'> <GridItem type='photo'>
<a> <a>
<header>Thorncliffe Car Show</header> <header>Thorncliffe Car Show</header>
<img src={carshow1} alt='' /> <img src={carshow1} alt='' />
<footer>
<p>Photography</p><p>2018-10-11</p>
</footer>
</a> </a>
</GridItem> </GridItem>
<GridItem type='project bottom'> <GridItem type='project bottom'>
@ -66,9 +60,6 @@ class Grid extends React.Component {
<img src={switch1} alt='' /> <img src={switch1} alt='' />
<p>Custom circuit that lets me control a ceiling light over Wifi.</p> <p>Custom circuit that lets me control a ceiling light over Wifi.</p>
</section> </section>
<footer>
<p>Project (Hardware)</p><p>2018-10-11</p>
</footer>
</GridItem> </GridItem>
<GridItem type='project bottom'> <GridItem type='project bottom'>
<header>Plant Waterer</header> <header>Plant Waterer</header>
@ -76,26 +67,17 @@ class Grid extends React.Component {
<img src={pump1} alt='' /> <img src={pump1} alt='' />
<p>Controller that waters my plant automatically every day.</p> <p>Controller that waters my plant automatically every day.</p>
</section> </section>
<footer>
<p>Project (Hardware)</p><p>2018-10-11</p>
</footer>
</GridItem> </GridItem>
<GridItem type='photo'> <GridItem type='photo'>
<a> <a>
<header>Prince's Island Park</header> <header>Prince's Island Park</header>
<img src={bee1} alt='' /> <img src={bee1} alt='' />
<footer>
<p>Photography</p><p>2018-10-11</p>
</footer>
</a> </a>
</GridItem> </GridItem>
<GridItem type='photo'> <GridItem type='photo'>
<a> <a>
<header>Johnston Creek, Banff</header> <header>Johnston Creek, Banff</header>
<img src={banff1} alt='' /> <img src={banff1} alt='' />
<footer>
<p>Photography</p><p>2018-10-11</p>
</footer>
</a> </a>
</GridItem> </GridItem>
<GridItem type='project left'> <GridItem type='project left'>
@ -104,17 +86,11 @@ class Grid extends React.Component {
<img src={hand1} alt='' /> <img src={hand1} alt='' />
<p>Sculpture welded together out of scrap metal for practice.</p> <p>Sculpture welded together out of scrap metal for practice.</p>
</section> </section>
<footer>
<p>Project (Hardware)</p><p>2018-10-11</p>
</footer>
</GridItem> </GridItem>
<GridItem type='photo'> <GridItem type='photo'>
<a> <a>
<header>VW Van in Canmore</header> <header>VW Van in Canmore</header>
<img src={canmore1} alt='' /> <img src={canmore1} alt='' />
<footer>
<p>Photography</p><p>2018-10-11</p>
</footer>
</a> </a>
</GridItem> </GridItem>
</div> </div>

View File

@ -1,3 +0,0 @@
.Home {
text-align: center;
}

View File

@ -30,6 +30,7 @@ server
<title>Tanner Collin</title> <title>Tanner Collin</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="reset.css"> <link rel="stylesheet" href="reset.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
${ ${
assets.client.css assets.client.css
? `<link rel="stylesheet" href="${assets.client.css}">` ? `<link rel="stylesheet" href="${assets.client.css}">`