Skip to content

Commit d7c8722

Browse files
committedDec 22, 2019
Some formatting, remove text linking to info tab that was removed
1 parent b92b048 commit d7c8722

File tree

2 files changed

+42
-33
lines changed

2 files changed

+42
-33
lines changed
 

‎index.html

+41-32
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,45 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html>
3-
43
<head>
5-
64
<!-- MISC/META -->
7-
<title> ZenPen ~ Minimal Distraction, Maximum Zen </title>
8-
<meta charset="utf-8">
9-
<meta name="description" content="Zenpen - A minimal text editor, made to stay out of the way while you get the words down.">
10-
11-
<!-- CSS -->
12-
<link href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
13-
<link href="css/style.css" rel="stylesheet">
14-
<link href="css/fonts.css" rel="stylesheet">
5+
<title>ZenPen ~ Minimal Distraction, Maximum Zen</title>
6+
<meta charset="utf-8" />
7+
<meta
8+
name="description"
9+
content="Zenpen - A minimal text editor, made to stay out of the way while you get the words down."
10+
/>
1511

16-
</head>
12+
<!-- CSS -->
13+
<link
14+
href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
15+
rel="stylesheet"
16+
type="text/css"
17+
/>
18+
<link href="css/style.css" rel="stylesheet" />
19+
<link href="css/fonts.css" rel="stylesheet" />
20+
</head>
1721

1822
<body class="yin">
19-
2023
<div class="overlay">
2124
<div class="wordcount modal">
2225
<h1>Target Word Count</h1>
2326
<div>
2427
<input type="number" name="quantity" value="0" min="0" />
2528
</div>
2629
</div>
27-
30+
2831
<div class="saveoverlay modal">
2932
<h1>Select save format</h1>
30-
<p class='saveselection'>
31-
<span data-format='markdown'>Markdown</span>
32-
<span data-format='html'>HTML</span>
33-
<span data-format='plain'>Plain Text</span>
33+
<p class="saveselection">
34+
<span data-format="markdown">Markdown</span>
35+
<span data-format="html">HTML</span>
36+
<span data-format="plain">Plain Text</span>
3437
</p>
35-
<button class='savebutton useicons'>&#xe006;</button>
36-
<div> Or select format and press ctrl+c (cmd+c on mac) to copy the text. </div>
37-
<textarea class='hiddentextbox'></textarea>
38+
<button class="savebutton useicons">&#xe006;</button>
39+
<div>
40+
Or select format and press ctrl+c (cmd+c on mac) to copy the text.
41+
</div>
42+
<textarea class="hiddentextbox"></textarea>
3843
</div>
3944
</div>
4045

@@ -43,7 +48,11 @@ <h1>Select save format</h1>
4348
<span class="no-overflow">
4449
<span class="lengthen ui-inputs">
4550
<button class="url useicons">&#xe005;</button>
46-
<input class="url-input" type="text" placeholder="Type or Paste URL here"/>
51+
<input
52+
class="url-input"
53+
type="text"
54+
placeholder="Type or Paste URL here"
55+
/>
4756
<button class="bold">b</button>
4857
<button class="italic">i</button>
4958
<button class="quote">&rdquo;</button>
@@ -53,9 +62,7 @@ <h1>Select save format</h1>
5362
</div>
5463

5564
<div class="ui">
56-
5765
<div class="wrapper">
58-
5966
<div class="top editing">
6067
<button class="fullscreen useicons" title="Toggle fullscreen">
6168
&#xe000;
@@ -74,7 +81,11 @@ <h1>Select save format</h1>
7481
</div>
7582

7683
<div class="bottom">
77-
<a class="about" href="https://www.buymeacoffee.com/tholman" target="_blank">
84+
<a
85+
class="about"
86+
href="https://www.buymeacoffee.com/tholman"
87+
target="_blank"
88+
>
7889
7990
</a>
8091
</div>
@@ -86,26 +97,24 @@ <h1>Select save format</h1>
8697
</div>
8798

8899
<section>
89-
90100
<header contenteditable="true" class="header"></header>
91101
<article contenteditable="true" class="content"></article>
92-
93102
</section>
94103

95104
<!-- LIBS -->
96105
<script src="js/libs/FileSaver.min.js"></script>
97106
<script src="js/libs/Blob.min.js"></script>
98107
<script src="js/libs/screenfull.min.js"></script>
99-
108+
100109
<!-- JS -->
101110
<script src="js/default.js"></script>
102111
<script src="js/utils.js"></script>
103112
<script src="js/editor.js"></script>
104113
<script src="js/ui.js"></script>
105114
<script type="text/javascript">
106-
// Initiate ZenPen
107-
ZenPen.editor.init();
108-
ZenPen.ui.init();
109-
</script>
115+
// Initiate ZenPen
116+
ZenPen.editor.init();
117+
ZenPen.ui.init();
118+
</script>
110119
</body>
111120
</html>

‎js/default.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ A minimalist writing zone, where you can block out all distractions and get to w
1313
Quotes are easy to add too!\
1414
</blockquote>\
1515
<p>\
16-
For <i>questions</i> and <b>open source info</b>, Click that little question mark at the bottom-left of the screen.\
16+
If you\'re using ZenPen, and want to contribute a few dollars, there\'s a small donate button on the bottom left.\
1717
</p>\
1818
<p>Happy Typing! ~ <b>Tim Holman (@twholman)</b></p>';

0 commit comments

Comments
 (0)
Please sign in to comment.