forked from tholman/zenpen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
132 lines (104 loc) · 3.09 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
<!doctype html>
<html>
<head>
<!-- MISC/META -->
<title> ZenPen ~ Minimal Distraction, Maximim Zen </title>
<meta name="description" content="Zenpen - A minimal web based text editor, for the modern man.">
<!-- CSS -->
<link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href="css/style.css" rel="stylesheet">
<link href="css/fonts.css" rel="stylesheet">
<!-- LIBS -->
<script src="js/libs/head.min.js"></script>
<!-- JS loading in footer -->
</head>
<body class="yin">
<div class="overlay">
<div class="share modal">
<h1>Save + Share URL</h1>
<div class="editable">
<input type="text" onclick="javascript:select();"></input>
</div>
</div>
<div class="wordcount modal">
<h1>Target Word Count</h1>
<div class="editable">
<input type="number" name="quantity" value="0" min="0"></input>
</div>
</div>
</div>
<div class="text-options">
<div class="options">
<button class="bold">b</button>
<button class="italic"><i>i</i></button>
<button class="quote">”</button>
</div>
</div>
<div class="ui">
<div class="wrapper">
<div class="top">
<button class="fullscreen useicons">

</buttom>
<button class="color-flip useicons">

</button>
<button class="target useicons">

</button>
<button class="link useicons">

</button>
</div>
<div class="bottom">
<button class="about">
?
</button>
</div>
</div>
</div>
<div class="word-counter">
<span class="progress"></span>
</div>
<section>
<header contenteditable="true" class="header">
This is ZenPen
</header>
<article contenteditable="true" class="content">
<p>
A minimalist writing zone, where you can block out all distractions and get to what's important. The writing!
</p>
<p>
To get started, all you need to do is delete this text (seriously, just highlight it and hit delete), and fill the page with your own fantastic words.
</p>
<p>
You can use <b>bold</b>, <i>italics</i> or <b style="font-style: italic;">both</b> just by highlighting the text and selecting them from the tiny options box that appears above it.</p>
<blockquote>
Quotes are easy to add too!</blockquote>
<p>
Then save and share your writings... everything is passed via url, so none of your information is stored.
</p>
<p>
Questions/Comments? Click that little question mark at the bottom left of the screen.
</p>
<p>Happy Typing! ~ <b>Tim Holman (@twholman)</b></p>
</article>
</section>
<!-- JS -->
<script type="text/javascript">
// Load required scripts.
head.js( "js/libs/fullScreen.js",
"js/libs/rawinflate.js",
"js/libs/rawdeflate.js",
"js/utils.js",
"js/ui.js",
"js/editor.js",
function(){
// Initiate ZenPen
editor.init();
ui.init();
}
);
</script>
</body>
</html>