-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdoc.html
388 lines (341 loc) · 16.4 KB
/
doc.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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<meta charset="UTF-8">
<style>
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
a:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
a:hover,
a:active {
outline: 0;
}
input {
margin: 0;
font-size: 100%;
vertical-align: middle;
overflow: visible;
line-height: normal;
}
input::-moz-focus-inner {
padding: 0;
border: 0;
}
body {
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333;
background-color: #fff;
}
a {
color: #08c;
text-decoration: none;
}
a:hover {
color: #000;
text-decoration: underline;
}
.row {
margin-left: -20px;
zoom: 1;
}
.row:before,
.row:after {
display: table;
content: "";
line-height: 0;
}
.row:after {
clear: both;
}
.span3 {
float: left;
min-height: 1px;
margin-left: 20px;
width: 220px;
margin-bottom: 15px;
}
.container {
width: 940px;
margin-right: auto;
margin-left: auto;
*zoom: 1;
}
.container:before,
.container:after {
display: table;
content: "";
line-height: 0;
}
.container:after {
clear: both;
}
small {
font-size: 85%;
}
h1 {
margin: 10px 0;
font-family: inherit;
font-weight: bold;
line-height: 20px;
color: inherit;
text-rendering: optimizelegibility;
line-height: 40px;
font-size: 38.5px;
}
h1 small {
font-weight: normal;
line-height: 1;
color: #999;
font-size: 24.5px;
}
.header {
background-color: #fff;
border-bottom: 1px solid #ddd;
padding-top: 10px;
z-index: 10;
}
.footer {
color: #ddd;
font-size: 12px;
text-align: center;
margin-top: 20px;
}
.footer a {
color: #ccc;
text-decoration: underline;
}
.the-icons {
font-size: 14px;
line-height: 24px;
}
.switch {
color: #666;
}
.switch input {
margin-right: 0.3em;
}
.codesOn .i-name {
display: none;
}
.codesOn .i-code {
display: inline;
}
.i-code {
display: none;
}
@font-face {
font-family: 'adibaIcon';
src: url('./font/adibaIcon.eot?46132523');
src: url('./font/adibaIcon.eot?46132523#iefix') format('embedded-opentype'),
url('./font/adibaIcon.woff?46132523') format('woff'),
url('./font/adibaIcon.ttf?46132523') format('truetype'),
url('./font/adibaIcon.svg?46132523#adibaIcon') format('svg');
font-weight: normal;
font-style: normal;
}
.adiba-icon {
font-family: "adibaIcon";
font-style: normal;
font-weight: normal;
speak: never;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;
/* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/* You can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Font smoothing. That was taken from TWBS */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
</style>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/animation.css">
<link rel="stylesheet" href="css/doc.css">
<link rel="stylesheet" href="css/style.css">
<script>
function toggleCodes(on) {
var obj = document.getElementById('icons');
if (on) {
obj.className += ' codesOn';
} else {
obj.className = obj.className.replace(' codesOn', '');
}
}
</script>
</head>
<body class="bd-masthead">
<header>
<div class="header-area">
<div class="main-header">
<div class="container">
<div class="row align-items-center">
<!-- Logo -->
<div class="col-xl-5 col-lg-5">
<a href="index.html">
<h1>adibaIcon </h1>
</a>
</div>
<div class="col-xl-7 col-lg-7">
<div class="menu-wrapper d-flex align-items-center justify-content-end">
<!-- Main-menu -->
<div class="main-menu d-none d-lg-block">
<nav>
<ul class="listing" id="navigation">
<li class="single-list nav-item dropdown">
<button type="button" class="btn btn-link nav-link py-2 px-0 px-lg-2 dropdown-toggle show" data-bs-toggle="dropdown" aria-expanded="true" data-bs-display="static">
<span class="d-lg-none" aria-hidden="true">Bootstrap</span><span class="visually-hidden">Bootstrap </span> v2.1 <span class="visually-hidden">(switch to other versions)</span>
</button>
<!-- Dropdown -->
<ul class="dropdown-menu dropdown-menu-end" data-bs-popper="static">
<li>
<a class="dropdown-item d-flex align-items-center justify-content-between active" aria-current="true" href="/">
Latest (2.1.x)
<svg class="bi"><use xlink:href="#check2"></use></svg>
</a>
</li>
<li>
<a class="dropdown-item" href="#">v2.1.1</a>
</li>
<li>
<a class="dropdown-item" href="#">v2.0.0</a>
</li>
<li><hr class="dropdown-divider"></li>
<li><h6 class="dropdown-header">Previous releases</h6></li>
<li><a class="dropdown-item" href="#">v1.0.0</a></li>
<li><a class="dropdown-item" href="#">v1.0.1</a></li>
<li><a class="dropdown-item" href="#">v1.0.2</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">All versions</a></li>
</ul>
</li>
<li class="single-list"><a href="icons.html" target="_blank" class="single">icons</a></li>
<li class="single-list"><a href="doc.html" target="_blank" class="single">Doc</a></li>
<li class="single-list"><a href="https://github.com/jmrashed/adibaicon" target="_blank" class="single">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="navbar-nav-svg" viewBox="0 0 512 499.36" role="img"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"></path></svg>
</a></li>
</ul>
</nav>
</div>
</div>
</div>
<!-- Mobile Menu -->
<div class="col-12">
<div class="mobile_menu d-block d-lg-none"></div>
</div>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container">
<div class="row">
<div class="container py-100" id="icons">
<section class="row g-md-5 pt-4 mt-4 pb-md-5 mb-5 align-items-center">
<div class="row gx-md-5">
<div class="col-lg-6 mb-3">
<h3 class="fw-semibold mb-2">Basic Usage</h3>
<p class="mb-0">Sets the icon color to primary <code> .icon-primary</code> <code> .icon-secondary</code></p>
<p class="mb-0"> Increases the icon size to large <code> .icon-lg</code> <code> .icon-red</code></p>
<div class="bd-code-snippet mt-4"> <div class="bd-clipboard"> <button type="button" class="btn-clipboard"> <svg class="bi" role="img" aria-label="Copy"><use xlink:href="#clipboard"></use></svg> </button> </div>
<div class="highlight">
<pre tabindex="0" class="chroma m-0"><code class="language-scss" data-lang="scss">
<span class="line"><span class="cl"><span class="nc">CDN</span> </span></span><span class="line"><span class="cl"> <span class="n"> https://adibaicon.vercel.app/css/adibaIcon.css</span>
</span></span>
</code></pre>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
<div class="row">
<img src="./img/v1/Screenshot from 2023-08-30 01-44-35.png">
<img src="./img/v1/Screenshot from 2023-08-30 01-44-55.png">
<h2 id="cdn">CDN</h2>
<ul>
<li>Use as cdn : <a
href="https://adibaicon.vercel.app/css/adibaIcon.css">https://adibaicon.vercel.app/css/adibaIcon.css</a></li>
</ul>
<h2 id="getting-started">Getting Started</h2>
<p>To use the icons from this library, follow these steps:</p>
<ol type="1">
<li>Include the font files in your project directory.</li>
<li>Link the generated CSS file in your HTML or import it in your
project's stylesheets.</li>
</ol>
<h2 id="usage">Usage</h2>
<h3 id="basic-usage">Basic Usage</h3>
<p>To add an icon to your HTML, use the following structure:</p>
<div class="sourceCode" id="cb1"><pre
class="sourceCode html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="kw"><span</span> <span class="er">class</span><span class="ot">=</span><span class="st">"adiba-icon icon-r icon-lg icon-red"</span><span class="kw">></span></span></span></code></pre></div>
<p>img/Screenshot.png</p>
<h2 id="customization">Customization</h2>
<p>You can customize icons by using color and size classes:</p>
<ul>
<li><p><code>.icon-primary</code>: Sets the icon color to
primary.</p></li>
<li><p><code>.icon-secondary</code>: Sets the icon color to
secondary.</p></li>
<li><p><code>.icon-success</code>: Sets the icon color to
success.</p></li>
<li><p><code>.icon-lg</code>: Increases the icon size to large.</p></li>
<li><p><code>.icon-md</code>: Sets the icon size to medium.</p></li>
<li><p><code>.icon-sm</code>: Reduces the icon size to small.</p></li>
</ul>
<p>Combine color and size classes for complete customization:</p>
<div class="sourceCode" id="cb2"><pre
class="sourceCode html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="kw"><span</span> <span class="er">class</span><span class="ot">=</span><span class="st">"adiba-icon icon-r icon-lg icon-red"</span><span class="kw">></span></span></span></code></pre></div>
<h2 id="available-icons">Available Icons</h2>
<p>A: <span class="adiba-icon icon-a icon-lg icon-red"></span> B:
<span class="adiba-icon icon-b icon-md icon-blue"></span> C:
<span class="adiba-icon icon-c icon-sm icon-orange"></span></p>
<h2 id="demo">Demo</h2>
<div class="sourceCode" id="cb3"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="kw"><i</span> <span class="er">class</span><span class="ot">=</span><span class="st">"adiba-icon icon-r icon-lg icon-red "</span><span class="kw">></i></span></span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="kw"><i</span> <span class="er">class</span><span class="ot">=</span><span class="st">"adiba-icon icon-a icon-lg icon-blue "</span><span class="kw">></i></span></span>
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a><span class="kw"><i</span> <span class="er">class</span><span class="ot">=</span><span class="st">"adiba-icon icon-s icon-lg icon-yellow "</span><span class="kw">></i></span></span>
<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a><span class="kw"><i</span> <span class="er">class</span><span class="ot">=</span><span class="st">"adiba-icon icon-h icon-lg icon-purple"</span><span class="kw">></i></span></span>
<span id="cb3-5"><a href="#cb3-5" aria-hidden="true" tabindex="-1"></a><span class="kw"><i</span> <span class="er">class</span><span class="ot">=</span><span class="st">"adiba-icon icon-e icon-lg icon-green"</span><span class="kw">></i></span></span>
<span id="cb3-6"><a href="#cb3-6" aria-hidden="true" tabindex="-1"></a><span class="kw"><i</span> <span class="er">class</span><span class="ot">=</span><span class="st">"adiba-icon icon-d icon-lg icon-orange"</span><span class="kw">></i></span></span></code></pre></div>
<img src="./img/demo.png">
<h1 id="contributing">Contributing</h1>
<p>If you'd like to contribute to the library by adding new icons or
improving existing ones, please follow our contribution guidelines.</p>
</div>
</div>
</main>
<footer class="footer">
<div class="container">
<p style="color: #000;">© Copyright by <a style="color: #000;" href="https://github.com/jmrashed">Md Rasheduzzaman</a> |
<a style="color: #000;" href="README.html">Documentation</a>
</p>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
</body>
</html>