forked from PolymerLabs/wizzywid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
137 lines (133 loc) · 3.88 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
<!--
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="generator" content="wizzywid - what you see is what you deserve">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<meta name="description" content="wizzywid - what you see is what you deserve">
<title>wizzywid</title>
<script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script>
<script src="bower_components/web-animations-js/web-animations-next-lite.min.js"></script>
<link rel="import" href="elements/app-shell.html">
<link rel="import" href="elements/code-view.html">
<style>
body {
margin: 0;
font-family: 'Roboto', 'Noto', sans-serif;
line-height: 1.5;
background-color: white;
-webkit-font-smoothing: antialiased;
}
.mobile-splash {
display: none;
background: #2f3545;
color: white;
height: 100vh;
font-size: 20px;
color: white;
}
.header {
background-color: #141720;
height: 60px;
width: 100%;
position: fixed;
padding: 0 16px;
color: white;
}
.middle {
padding: 30% 20px 0 20px;
font-size: 20px;
font-weight:200;
color: white;
}
p.block span {
display: inline-block;
background: #232733;
font-weight: 500;
padding: 4px;
margin: 4px 0;
}
.heavy {
font-weight: 900;
letter-spacing: 2px;
line-height: 64px;
}
.lite {
font-weight: 100;
opacity: 0.5;
letter-spacing: normal;
}
.small {
font-size: 12px;
}
app-shell {
display: block;
}
@media (max-width: 767px) {
app-shell {
display: none;
}
.mobile-splash {
display: block;
}
}
@media (max-width: 450px) {
.lite {
font-size: 15px;
}
}
@media (max-width: 340px) {
.lite {
font-size: 10px;
}
}
code-view {
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<div class="mobile-splash">
<div class="header heavy">wizzywid <span class="lite">// what you see is what you deserve</span></div>
<div class="middle">
<p>This app is desktop only*.</p>
<p class="block"><span>Get</span>
<span>off</span>
<span>your</span>
<span>phone</span>
<span>and</span>
<span>go</span>
<span>look</span>
<span>at</span>
<span>the sky</span>
<span>instead</span>
<span>.</span>
</p>
<br>
<p class="small">* It's a UI designer with a bunch of panes that need
visual space to be useful, and that uses drag and drop which is a horrible
experience on mobile. Sorry. I promise you'd still be enraged even if
the layout was responsive. ❤️
</p>
</div>
</div>
<app-shell id="shell">
<code-view id="codeView" slot="code"></code-view>
</app-shell>
<noscript>
Please enable JavaScript to view this website.
</noscript>
<script src="third-party/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="app.js"></script>
</body>
</html>