-
Notifications
You must be signed in to change notification settings - Fork 0
/
store.html
executable file
·102 lines (99 loc) · 2.4 KB
/
store.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
<html>
<head>
<title>Azetrico Store</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Oswald|Roboto" rel="stylesheet">
<link href="/style.css" rel="stylesheet" />
<link href="/favicon.ico" rel="icon" />
<style>
.card {
box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
transition: all 0.3s;
width: 100;
height: 165;
border-radius: 25px;
padding: 30px;
margin: 2vw;
}
.card:hover {
box-shadow: 0px 0px 66px 0px rgba(0,0,0,0.75);
transform: scale(1.05);
}
.container {
padding: 2px 16px;
height: 50px;
transition: height 0.3s;
}
.appLink {
text-decoration:none;
transition: all 0.25s;
}
.appLink:hover {
transform: scale(1.1);
}
.card:active {
transform: scale(0.8);
box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
}
.wideCard {
height: 225px;
}
.installButton {
transform: scale(0);
transition: all 0.3s;
border-radius: 20px;
background-color: #3399ff;
border: none;
color: #ffffff;
margin: auto;
padding: 25%;
}
.installButton:active {
filter: brightness(0.5);
transform: scale(1.25);
}
.shown {
transform: scale(1);
}
</style>
</head>
<body>
<header>
<a href="/index" id="title">
<img src="/logo.png" />
<span>Azetrico</span>
</a>
</div>
<nav>
<a href="/index">Home</a>
<a href="/agenda">Agenda</a>
<a href="/store">Store</a>
</nav>
</header>
<div id="wrapper">
<div id="banner">
<div><h1>Azetrico Store</h1></div>
</div>
<div id="momentocard" onclick="MomentoDownloadClick()" class="card">
<img src="/img/store/ref/MomentoPNG.png" alt="Momento" style="width:100;margin-bottom:20px;pointer-events:none;">
<div class="container">
<p class="appLink" style="pointer-events:none;">Momento</p></a>
<button id="installButton" class="installButton">Install</button>
</div>
</div>
</div>
<script src="script.js"></script>
<script>
var MomentoCard = document.getElementById('momentocard');
var MomentoInstall = document.getElementById('installButton');
function MomentoDownloadClick() {
MomentoCard.classList.toggle('wideCard');
MomentoInstall.classList.toggle('shown');
}
MomentoInstall.onclick = function() {
window.location.href = "/store/momento"
}
</script>
</body>
</html>