-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
148 lines (120 loc) · 3.17 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
<!DOCTYPE html>
<html>
<head>
<title>onewordstudios</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Official website of onewordstudios"/>
<link rel="shortcut icon" href="/favicon.png"/>
<meta property="og:title" content="onewordstudios">
<meta property="og:image" content="https://onewordstudios.com/preview.png">
<meta property="og:description" content="Official website of onewordstudios">
<meta property="og:url" content="https://onewordstudios.com/">
<meta name="twitter:card" content="summary_large_image">
<script src="https://cdnjs.cloudflare.com/ajax/libs/parallax/3.1.0/parallax.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css?family=Montserrat');
body, html {
margin:0;padding:0;
overflow:hidden;
}
body {
background:black;
color:white;
font-family:"Montserrat", sans-serif !important;
user-select: none;
}
section {
width:100%;
height: 100vh;
}
header {
height: 20vh;
text-align: center;
background: linear-gradient(to top, rgba(0,0,0,0),rgba(0,0,0,1));
position: fixed;
top:0;left:0;
width: 100%;
pointer-events: none;
z-index: 4;
}
#studio {
height: 150%;
position:relative;
top: -25%;
}
a{
width: 50%;
display:inline-block;
height:100%;
position: relative;
}
a img{
position:absolute;
top:0;left:0;
}
a img:first-child{
width:100%;
height: 100%;
object-fit:cover;
}
a img:last-child {
width:100%;
height:100%;
object-fit: contain;
transform:scale(1);
transition: transform 0.3s ease-in-out;
}
a:hover img:last-child, a:focus img:last-child{
transform: scale(1.05);
}
a:active img:last-child{
transform: scale(0.95);
transition: transform 0.1s ease-in-out;
}
a h2 {
position: absolute;
color: white;
bottom: 7vh;
width: 100%;
text-align: center;
z-index: 3;
transform: translateY(0);
transition: transform 0.3s ease-in-out;
}
a span {
display: block;
padding: 0 10vw;
font-size: 85%;
margin-top: 3vh;
height: 5vh;
opacity: 0;
transition: opacity 0.3s ease-in-out;
}
a:hover h2, a:focus h2 {
transform: translateY(-3vh);
}
a:hover span, a:focus span {
opacity: 1;
}
@media(max-width: 800px) {
section a {
display: block;
width: 100%;
height: 50%;
}
a h2 {
bottom: 2vh;
}
}
</style>
</head>
<body>
<header>
<img src="sweetspace/onewordstudios_logo_invert.png" alt="onewordstudios" id="studio" />
</header>
<section>
<a href="flourish/"><img src="flourish_bg.png" alt="" /><h2>Survive. Grow. Thrive.<span>The award-winning strategy game for PC and Mac</span></h2><img src="flourish_logo.png" alt="Flourish" /></a><!--
--><a href="sweetspace/"><img src="sweetspace_bg.png" alt="" /><h2>Co-op Action. With Donuts.<span>Available for Android and soon iOS</span></h2><img src="sweetspace_logo.png" alt="sweetspace" /></a>
</section>
</body>
</html>