Skip to content

Commit

Permalink
chaning imgs to divs
Browse files Browse the repository at this point in the history
  • Loading branch information
dxa4481 committed Sep 24, 2015
1 parent 19e7bb2 commit 30366b1
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 13 deletions.
39 changes: 36 additions & 3 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,48 @@
}

.linksPage{
height: 100%;
width: 100%;
}

.images{
.image1{
background: rgba(0,0,0,0) url('../pics/proximity.png');
display: block;
height: 50%;
margin-left: auto;
margin-right: auto;
background-size:cover;
}

.image2{
background: rgba(0,0,0,0) url('../pics/esp8266.jpg');
display: block;
height: 50%;
margin-left: auto;
margin-right: auto;
background-size:cover;
}

.image3{
background: rgba(0,0,0,0) url('../pics/atmega328.jpg');
display: block;
height: 50%;
margin-left: auto;
margin-right: auto;
background-size:cover;
}

.image4{
background: rgba(0,0,0,0) url('../pics/motor.png');
height: 50%;
display: block;
margin-left: auto;
margin-right: auto;
background-size:cover;
}


.imageOverlay:before{
background-color: inherit;
}
.imageOverlay:hover{
background-color: rgba(120,120,120,0.5)
}
25 changes: 15 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<body>
<div class="frontBanner">
<div class="titleCard">
<span class="ripple"></span>
<div class="title">Veyebrations</div>
<div class="names"> <a class="names" href="https://github.com/Aether357">Josh</a> | <a class="names" href="https://github.com/dxa4481">Dylan</a> | <a class="names" href="https://github.com/rayrobdod">Raymond</a></div>

Expand All @@ -15,18 +16,22 @@
</div>
</div>
<div class="linksPage">
<div class="six columns">
<img class="images" src="pics/proximity.png"></img>
<div class="row">
<div class="six columns">
<div class="imageOverlay image1"></div>
</div>
<div class="six columns">
<div class="imageOverlay image2"></div>
</div>
</div>
<div class="six columns">
<img class="images" src="pics/pcb.png"></img>
<div class="row">
<div class="six columns">
<div class="imageOverlay image3"></div>
</div>
<div class="six columns">
<div class="imageOverlay image4"></div>
</div>
</div>
<div class="six columns">
<img class="images" src="pics/esp8266.jpg"></img>
</div>
<div class="six columns">
<img class="images" src="pics/atmega328.jpg"></img>
</div>
</div>
</body>

Expand Down
Binary file added pics/motor.png
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 pics/pcb.png
Binary file not shown.

0 comments on commit 30366b1

Please sign in to comment.