summaryrefslogtreecommitdiff
path: root/public/assets/stylesheets/app.css
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-10-08 14:47:47 -0400
committerJules Laplace <jules@okfoc.us>2014-10-08 14:47:47 -0400
commit583d213f22be93a1363c24ac2cdf9f083833703f (patch)
tree2b084787c04b0c8932688c20259f4e4a7f03e7b5 /public/assets/stylesheets/app.css
parent6f4cd32fa13efe3b0e8b26183589f66889dd3738 (diff)
projectList item formatting
Diffstat (limited to 'public/assets/stylesheets/app.css')
-rwxr-xr-xpublic/assets/stylesheets/app.css77
1 files changed, 52 insertions, 25 deletions
diff --git a/public/assets/stylesheets/app.css b/public/assets/stylesheets/app.css
index d47b5a7..24ca772 100755
--- a/public/assets/stylesheets/app.css
+++ b/public/assets/stylesheets/app.css
@@ -327,27 +327,42 @@ iframe.embed {
.projectList {
display: inline-block;
float: left;
- width: 100%;
+ width: 98vw;
+ margin: 2vw;
}
+.projectList a {
+ width: 32vw;
+ float:left;
+ clear: right;
+ padding-bottom: 2vw;
+}
.projectList .room {
- width: 50%;
- height:40vh;
+ width: 30vw;
+ height: 23vw;
+ margin: 1vw;
+ border: 1vw solid white;
display:table;
position: relative;
- float:left;
- border-top:1px solid;
+ z-index: 1;
}
-
-.projectList .room:nth-child(3n+2) {
- border-right:1px solid black;
+.projectList .holder {
+ position: absolute;
+ top: 50%;
+ z-index: 2;
}
-.projectList .room:nth-child(3n+1) {
- width: 100%;
- height: 50vh;
+.room .mask {
+ position: absolute;
+ top: 0; left: 0;
+ z-index: 1;
+ width: 100%;
+ height: 100%;
+ text-align: center;
+ overflow: hidden;
+ background-size: cover;
+ background-repeat: no-repeat;
}
-
.room .images {
position: absolute;
top: 0; left: 0;
@@ -358,15 +373,28 @@ iframe.embed {
overflow: hidden;
}
.room .images img {
- max-height: 100%;
- max-width: 100%;
+ width: 50%;
+ position: absolute;
}
+.room .images[data-mediacount='1'] img:nth-child(1) { left: 20%; top: 20%; }
+
+.room .images[data-mediacount='2'] img:nth-child(1) { left: 51%; bottom: 0%; width: auto; height: 100%; }
+.room .images[data-mediacount='2'] img:nth-child(2) { right: 51%; bottom: 0%; width: auto; height: 100%; }
+
+.room .images[data-mediacount='3'] img:nth-child(1) { right: 51%; bottom: 41%; }
+.room .images[data-mediacount='3'] img:nth-child(2) { left: 51%; bottom: 0%; width:auto; height:100%;}
+.room .images[data-mediacount='3'] img:nth-child(3) { right: 51%; top: 61%; }
+
+.room .images[data-mediacount='4'] img:nth-child(1) { right: 51%; bottom: 41%; }
+.room .images[data-mediacount='4'] img:nth-child(2) { left: 51%; bottom: 61%; }
+.room .images[data-mediacount='4'] img:nth-child(3) { right: 51%; top: 61%; }
+.room .images[data-mediacount='4'] img:nth-child(4) { left: 51%; top: 41%; }
+
.page .btn {
clear: both;
padding: 30px 0;
border: 0;
-
}
.page .viewMore {
@@ -385,22 +413,21 @@ iframe.embed {
vertical-align: middle;
}
-.page .room .holder a {
- font-weight: 300;
- font-size: 20px;
- letter-spacing: 1px;
+.page label {
+ font-weight: 500;
+ font-size: 15px;
color: black;
- background: white;
- border: 1px solid;
padding: 5px;
- box-shadow: -3px 3px black;
text-decoration:none;
- max-width: 180px;
display: inline-block;
+ cursor: pointer;
}
-.page .room .holder a:hover {
- background:black;
+.projectList a:hover {
+ background: linear-gradient( 0deg, blue, red );
+}
+
+.projectList a:hover label {
color:white;
}