Skip to content

Commit

Permalink
work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
victusfate committed Oct 9, 2018
1 parent 1954986 commit 4226d48
Show file tree
Hide file tree
Showing 5 changed files with 416 additions and 352 deletions.
103 changes: 103 additions & 0 deletions css/polaroid.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
/* polaroids image stying from http://www.zurb.com/playground/css3-polaroids */

div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, div#content h6, div#content p {
text-shadow: 0 1px 1px rgba(255,255,255,.5);
}
div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, div#content h6 {
color: #62412e;
}
.polaroid_box {
margin:20px 0 0px 25px;
/*margin:0 0 0 0;*/
}

ul.polaroids {
width: 95%;
margin: 0px 0px 18px 0px;
float: left;
list-style: none;
padding: 20px;
}
.polaroids li {
display: inline;
}
.polaroids a {
background: #fff;
display: inline;
float: left;
margin: 0 0 0px 20px;
width: auto;
padding: 10px 10px 5px;
text-align: center;
font-family: "Marker Felt", sans-serif;
text-decoration: none;
color: #333;
font-size: 16px;
-webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
-moz-box-shadow: 0 3px 6px rgba(0,0,0,.25);
-webkit-transform: rotate(-2deg);
-webkit-transition: -webkit-transform .15s linear;
-moz-transform: rotate(-2deg);
}
.polaroids img {
display: block;
height: 160px;
width: 160px;
margin-bottom: 12px;
}
.polaroids img.small {
height: 100px;
width: 100px;
}



.polaroids a:after {
content: attr(title);
}

.polaroids li:nth-child(even) a {
-webkit-transform: rotate(2deg);
-moz-transform: rotate(2deg);
}
.polaroids li:nth-child(3n) a {
-webkit-transform: none;
position: relative;
top: -5px;
-moz-transform: none;
}
.polaroids li:nth-child(5n) a {
-webkit-transform: rotate(5deg);
position: relative;
right: 5px;
-moz-transform: rotate(5deg);
}
.polaroids li:nth-child(8n) a {
position: relative;
right: 5px;
top: 8px;
}
.polaroids li:nth-child(11n) a {
position: relative;
left: -5px;
top: 3px;
}

.polaroids li a:hover,
.polaroids .front a:hover {
-webkit-transform: scale(1.25);
-moz-transform: scale(1.25);
-webkit-box-shadow: 0 3px 6px rgba(0,0,0,.5);
-moz-box-shadow: 0 3px 6px rgba(0,0,0,.5);
position: relative;
z-index: 5;
}

canvas {
position: absolute;
overflow: auto;
width: 100%;
height: 100%;
z-index: -1;
}

File renamed without changes.
Loading

0 comments on commit 4226d48

Please sign in to comment.