-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·369 lines (324 loc) · 13.7 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!DOCTYPE html>
<html lang="en">
<head>
<title>SimplyClassyCSS - A collection of beautiful and classy
CSS styles suitable for simple renderers such as Java Swing's</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="site/style.css">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Raleway">
<style>
body, h1, h2, h3, h4, h5 {
font-family: "Raleway", sans-serif
}
.w3-third img {
margin-bottom: -6px;
opacity: 1;
cursor: pointer
}
.w3-third img:hover {
opacity: 1;
}
.w3-half img {
margin-bottom: -6px;
opacity: 1;
cursor: pointer
}
.w3-half img:hover {
opacity: 1;
}
.w3-threequarter img {
margin-bottom: -6px;
opacity: 1;
cursor: pointer
}
.w3-threequarter img:hover {
opacity: 1;
}
</style>
<meta name="google-site-verification"
content="keUcRhVDGUX_MD74_v0OTzV1ran8gtKy_S8C6tWpCrM" />
</head>
<body class="w3-light-grey w3-content" style="max-width: 1414px">
<!-- Sidebar/menu -->
<nav
class="w3-sidebar w3-bar-block w3-white w3-animate-left w3-text-grey w3-collapse w3-top w3-center"
style="z-index: 3; width: 300px; font-weight: bold" id="mySidebar">
<br>
<h3 class="w3-padding-64 w3-center">
<a href="#" class="w3-bar-item w3-button"><b>SimplyClassyCSS</b></a>
</h3>
<a href="site/gallery.html" onclick="w3_close()"
class="w3-bar-item w3-button">GALLERY</a> <a href="#usage"
onclick="w3_close()" class="w3-bar-item w3-button">USAGE</a> <a
href="#about" onclick="w3_close()" class="w3-bar-item w3-button">ABOUT</a><a
href="https://github.com/i-plasm/simply-classy-css"
onclick="w3_close()" class="w3-bar-item w3-button">GITHUB</a> <a
href="https://ideaplasm.com" onclick="w3_close()"
class="w3-bar-item w3-button">☀ IDEAPLASM ☀</a>
</nav>
<!-- Top menu on small screens -->
<header
class="w3-container w3-top w3-hide-large w3-white w3-xlarge w3-padding-16">
<span class="w3-left w3-padding">SimplyClassyCSS</span> <a
href="javascript:void(0)" class="w3-right w3-button w3-white"
onclick="w3_open()">☰</a>
</header>
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-hide-large w3-animate-opacity"
onclick="w3_close()" style="cursor: pointer" title="close side menu"
id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left: 300px">
<!-- Push down content on small screens -->
<div class="w3-hide-large" style="margin-top: 83px"></div>
<!-- Photo grid -->
<div class="w3-row">
<div class="w3-half">
<img loading="lazy" src="site/gallery/spacious-light-nord.png"
style="max-width: 100%" onclick="onClick(this)">
</div>
<div class="w3-half">
<img loading="lazy" src="site/gallery/spacious-dark-nord.png"
style="max-width: 100%" onclick="onClick(this)">
</div>
</div>
<!-- Modal for full size images on click-->
<div id="modal01" class="w3-modal w3-black" style="padding-top: 0"
onclick="this.style.display='none'">
<span class="w3-button w3-black w3-xlarge w3-display-topright">close
×</span>
<div
class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
<img id="img01" class="w3-image">
<p id="caption"></p>
</div>
</div>
<!-- Browse Gallery -->
<div class="w3-center w3-padding-32">
<div class="w3-bar" id="gallery">
<br> <br> <br> <a href="site/gallery.html"
class="w3-bar-item w3-black w3-button">VISIT COMPLETE
GALLERY</a>
</div>
</div>
<!-- Usage section -->
<div
class="w3-container w3-dark-grey w3-center w3-text-light-grey w3-padding-32"
id="usage">
<h2>Usage</h2>
<div class="w3-content w3-center" style="max-width: 600px">
<p>
<em>SimplyClassyCSS</em> is a collection of beautiful and
classy CSS styles suitable for simple renderers such as Java
Swing's. Designed for beauty and readability.
</p>
<p>
<em>SimplyClassyCSS</em> is also conceived to be
highlighting-friendly: it features special CSS classes for
highlighting and emphasizing text. Thus, with a HTML syntax
such as
<code><span
class="simply-yellow">my_text</span></code>
your text is highlighted. Other classes for basic colors are
defined:
<code>simply-blue</code>
,
<code>simply-green</code>
, etc.
</p>
<p>
<em>SimplyClassyCSS</em> features different styles (e.g
“Spacious”).
</p>
<p>For each style, different color schemes may be supported
(e.g “Standard”, “Gruvbox”).</p>
<p>For each color scheme, light or dark mode (or both) are
supported.</p>
</div>
<div class="w3-content w3-justify" style="max-width: 600px">
<h3>Set-up</h3>
<ol type="1">
<li>Check out the <a
href="https://i-plasm.github.io/simply-classy-css/site/gallery.html">Gallery</a>
and select your preferred CSS. Download it.
</li>
<li>Configure your software/environment to use that CSS.
</li>
<li>Check the required fonts listed in the screenshot and
install any missing ones. All fonts are free Google fonts,
and can be obtained from: <a
href="https://fonts.google.com/">https://fonts.google.com/</a>.
</li>
<li>After installing the fonts, restart the software
where you will be using the CSS.</li>
</ol>
<h3>Styled Paragraphs and Sections</h3>
<p>
When using any of the <strong>SimplyClassyCSS</strong> styles,
text inside special
<code><span></code>
tags becomes highlighted. Additionally, special
<code><p></code>
tags draw styled boxes around your paragraphs. Very useful for
studying, analyzing or creating emphasis on texts. The syntax
is:
</p>
<p>
<img src="docs/git-styled-paragraphs-sections.png"
alt="Styled Paragraphs and Section" style="max-width: 100%" />
</p>
<h4>Extra: Automatic styling scripts</h4>
<p>
The groovy scripts <a href="scripts/spanHighlighter.groovy"><strong>SpanHighlighter</strong></a>
and <a href="scripts/boxedParagraph.groovy"><strong>BoxedParagraph</strong></a>
wrap selected text in a
<code>JTextComponent</code>
(Java Swing) with the desired syntax.
</p>
<h5>Use in Freeplane</h5>
<p>
<a
href="docs/beautiful-mindmaps-freeplane-simplyclassycss-790x1474.png"><img
src="docs/beautiful-mindmaps-freeplane-simplyclassycss-790x762.png"
alt="Beautiful mindmap freeplane and SimplyClassyCSS. CSS and highlighting."
style="max-width: 100%" /></a>
</p>
<p>
To use in Freeplane: after setting up the CSS style (<a
href="https://ideaplasm.com/2023/09/29/freeplane-highlighting-emphasizing">see
guide here</a>), install the scripts, select the text you’d like
to emphasize, and call the desired script: the appropriate
tags will be inserted automatically. A brief explanation on
how to use each script:
</p>
<div class="w3-row-padding" style="margin: 0 -16px">
<div class="w3-half w3-margin-bottom">
<ul class="w3-ul w3-white w3-center">
<li class="w3-black w3-xlarge w3-padding-32">SpanHighlighter
Script</li>
<li class="w3-padding-16"><strong>Freeplane
Tip!</strong> You can use the <a
href="scripts/spanHighlighter.groovy"><strong>SpanHighlighter</strong></a>
script to <strong><em>automatically
surround the text you’d like to highlight</em></strong> with <strong><code><span
class="simply-yellow">my_text</span></code></strong>. The
default is the yellow color. You can change the color
simply by changing the <code>class</code> attribute. The
script gets installed in the menu <code>Format ->
Highlight -> Span Highlighter</code>. <em>Suggestion:
for quick access, assign the <code>ctrl + shift
+ H</code> shortcut to the script. <a
href="https://ideaplasm.com/2023/09/29/freeplane-highlighting-emphasizing">CLICK
HERE FOR THE FULL GUIDE</a>
</em></li>
<li class="w3-light-grey w3-padding-24"><a
href="scripts/spanHighlighter.groovy"><button
class="w3-button w3-white w3-padding-large">Download
script</button></a></li>
</ul>
</div>
<div class="w3-half w3-margin-bottom">
<ul class="w3-ul w3-white w3-center">
<li class="w3-black w3-xlarge w3-padding-32">BoxedParagraph
Script</li>
<li class="w3-padding-16"><strong>Freeplane
Tip!</strong> You can use the <a
href="scripts/boxedParagraph.groovy"><strong>BoxedParagraph</strong></a>
script to <strong><em>automatically
surround the paragraph you’d like to enclose in a
box</em></strong> with <strong><code><p
class="blue-dotted">my_paragraph</p></code></strong>. The
default is blue dotted box. You can change it by
modifying the <code>class</code> attribute. The script
gets installed in the menu <code>Format ->
Highlight -> Boxed Paragraph</code>. <em>Suggestion: for
quick access, assign the <code>ctrl + shift + P</code>
shortcut to the script. <a
href="https://ideaplasm.com/2023/09/29/freeplane-highlighting-emphasizing">CLICK
HERE FOR THE FULL GUIDE</a>
</em></li>
<li class="w3-light-grey w3-padding-24"><a
href="scripts/boxedParagraph.groovy"><button
class="w3-button w3-white w3-padding-large">Download
script</button></a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="w3-container w3-padding-32 w3-light-grey" id="about">
<div class="w3-row-padding">
<div class="w3-third">
<h3>SimplyClassyCSS</h3>
<p>A collection of beautiful and classy CSS styles
suitable for simple renderers such as Java Swing's.</p>
</div>
<div class="w3-third">
<h3>FEATURES</h3>
<ul>
<li>Beauty</li>
<li>Readability</li>
<li>Fonts chosen for the best displays in Java Swing</li>
<li>Variety of styles and color schemes. Light and dark
modes</li>
<li>Extra 1: special CSS classes for highlighting and
emphasizing text</li>
<li>Extra 2: groovy scripts for automatic
highlighting/emphasizing</li>
</ul>
</div>
<div class="w3-third">
<h3>IdeaPlasm</h3>
<p>
<span class="w3-tag w3-dark-grey w3-margin-bottom">Learning</span>
<span class="w3-tag w3-green w3-small w3-margin-bottom">Creativity</span>
<span class="w3-tag w3-black w3-margin-bottom">Information
Management</span> <span
class="w3-tag w3-deep-orange w3-small w3-margin-bottom">Research</span>
<span
class="w3-tag w3-deep-purple w3-large w3-margin-bottom">Tools</span>
<span class="w3-tag w3-blue w3-medium w3-margin-bottom">Analysis</span>
</p>
<p>
<a href="https://ideaplasm.com/"><img
src="site/images/ideaplasm-300x114.png" alt="IdeaPlasm"
style="max-width: 100%" /></a>
</p>
</div>
</div>
</footer>
<div class="w3-black w3-center w3-padding-24">
<p>
SimplyClassyCSS, except logos and otherwise noted, is licensed
under a BSD-3-Clause license, and it is free to use according to
its terms. See <a
href="https://github.com/i-plasm/simply-classy-css">information
on licensing</a>.
</p>
<p>Copyright © 2023 B Barbosa. All rights reserved.</p>
</div>
<!-- End page content -->
</div>
<script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
</script>
</body>
</html>