-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
207 lines (188 loc) · 5.43 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
<title>ARC 492 Final Project</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<style>
body{
font-family: 'Inconsolata', sans-serif;
background:rgb(0, 0, 0);
}
*{
margin:0;
padding:0;
}
#categories{
overflow:hidden;
width:90%;
margin:0 auto;
}
.clr:after{
content:"";
display:block;
clear:both;
}
#categories li{
position:relative;
list-style-type:none;
width:27.85714285714286%; /* = (100-2.5) / 3.5 */
padding-bottom: 32.16760145166612%; /* = width /0.866 */
float:left;
overflow:hidden;
visibility:hidden;
-webkit-transform: rotate(-60deg) skewY(30deg);
-ms-transform: rotate(-60deg) skewY(30deg);
transform: rotate(-60deg) skewY(30deg);
}
#categories li:nth-child(3n+2){
margin:0 1%;
}
#categories li:nth-child(6n+4){
margin-left:0.5%;
}
#categories li:nth-child(6n+4), #categories li:nth-child(6n+5), #categories li:nth-child(6n+6) {
margin-top: -6.9285714285%;
margin-bottom: -6.9285714285%;
-webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
-ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
transform: translateX(50%) rotate(-60deg) skewY(30deg);
}
#categories li:nth-child(6n+4):last-child, #categories li:nth-child(6n+5):last-child, #categories li:nth-child(6n+6):last-child{
margin-bottom:0%;
}
#categories li *{
position:absolute;
visibility:visible;
}
#categories li > div{
width:100%;
height:100%;
text-align:center;
color:#fff;
overflow:hidden;
-webkit-transform: skewY(-30deg) rotate(60deg);
-ms-transform: skewY(-30deg) rotate(60deg);
transform: skewY(-30deg) rotate(60deg);
-webkit-backface-visibility:hidden;
}
/* HEX CONTENT */
#categories li img{
left:-100%; right:-100%;
width: auto; height:100%;
margin:0 auto;
}
#categories div h1, #categories div p{
width:90%;
padding:0 5%;
background-color: rgba(50, 50, 50, 0.8);
font-family: 'Inconsolata', sans-serif;
-webkit-transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
-ms-transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
}
#categories li h1{
bottom:110%;
font-style:italic;
font-weight:normal;
font-size:1.5em;
padding-top:100%;
padding-bottom:100%;
}
#categories li h1:after{
content:'';
display:block;
position:absolute;
bottom:-1px; left:45%;
width:10%;
text-align:center;
z-index:1;
border-bottom:2px solid #fff;
}
#categories li p{
padding-top:50%;
top:110%;
padding-bottom:50%;
}
/* HOVER EFFECT */
#categories li div:hover h1 {
bottom:50%;
padding-bottom:10%;
}
#categories li div:hover p{
top:50%;
padding-top:10%;
}
</style>
<body>
<!-- Small size -->
<div class="w3-top w3-hide-large">
<div class="w3-row w3-padding w3-black">
<div class="w3-col s3">
<a href="index.html" class="w3-button w3-block w3-black">HOME</a>
</div>
<div class="w3-col s3">
<a href="about.html" class="w3-button w3-block w3-black">ABOUT</a>
</div>
<div class="w3-col s3">
<a href="proposal.html" class="w3-button w3-block w3-black">PROPOSAL</a>
</div>
<div class="w3-col s3">
<a href="demo.html" class="w3-button w3-block w3-black">DEMO</a>
</div>
</div>
</div>
<div class="w3-hide-large">
<div class="w3-display-middle w3-center">
<span class="w3-text-white w3-padding-64" style="font-size:50px">Riversense</span><br>
<span class="w3-text-white" style="font-size:20px">A Collaboration with the Los Angeles Museum of Contemporary Art</span>
</div>
<div class="w3-display-bottomright w3-center w3-padding-large">
<span class="w3-text-white">Kathleen Ma, Matthew Maldonado, Lindy Zeng <br> ARC 492 Spring 2017</span>
</div>
</div>
<!-- Large size -->
<div class="w3-hide-small w3-hide-medium w3-padding-16">
<div class="w3-container">
<ul id="categories" class="clr">
<li class="pusher"></li>
<li onclick="location.href='about.html'">
<div>
<img class="w3-grayscale" src="river1.jpg" alt=""/>
<h1>About</h1>
<p>Learn about this exhibition</p>
</div>
</li>
<li onclick="location.href='proposal.html'">
<div>
<img class="w3-grayscale" src="city1.jpg" alt=""/>
<h1>Proposal</h1>
<p>View the details behind this exhibition</p>
</div>
</li>
<li>
<div onclick="location.href='demo.html'">
<img class="w3-grayscale" src="city2.jpg" alt=""/>
<h1>Demo</h1>
<p>Interact with an online demonstration</p>
</div>
</li>
<li>
<div>
<img class="w3-grayscale" src="river2.jpg" alt=""/>
<h1>Coming soon in Spring 2018!</h1>
<p>Kathleen Ma, Matthew Maldonado, and Lindy Zeng (ARC 492 Spring 2017)</p>
</div>
</li>
</ul>
</div>
<div class="w3-text-white w3-container w3-top w3-padding-16">
<span style="font-size:70px;">Riversense</span><br>
<span>A Collaboration with the <br> Los Angeles Museum of Contemporary Art</span>
</div>
</div>
</body>
</html>