-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsizing.html
231 lines (198 loc) · 9.07 KB
/
sizing.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
<!--
Elementric - Web UI Components
Author: © Ciuca Cristian
Author URL: https://www.ciucacristi.tk/
Version: 0.1 Beta
Demo: ciucacristi.github.io/elementric
License: MIT License
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="Elementric/css/elementric.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism-tomorrow.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="shortcut icon" type="image/png" href="favicon.ico"/>
<title>Sizing | Elementric - Web UI Components</title>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg fixed-top navbar-light">
<div class="container">
<a class="navbar-brand" href="#"><img src="images/logo.svg" class="logo" alt="logo"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigationBar" aria-controls="navigationBar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navigationBar">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="buttons.html">Components</a>
</li>
<li class="nav-item">
<a class="nav-link" href="introduction.html">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="changelog.html">Changelog</a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-link">v0.1</li>
</ul>
<div class="socials">
<a href="https://github.com/ciucacristi/elementric"><i class="fab fa-github"></i></a>
<a href="https://discord.gg/GvVQvRj"><i class="fab fa-discord"></i></a>
</div>
</div>
</div>
</nav>
<!-- END Navbar -->
<!-- Left Sidebar -->
<button class="home-button-light open-sidebar" onclick="openNav()"><svg width="1rem" height="1rem" viewBox="0 0 16 16" class="bi bi-chevron-right" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
</svg></button>
<div class="container-full" id="introduction">
<div class="sidebar">
<button class="home-button-light close-sidebar" onclick="closeNav()"><svg width="1rem" height="1rem" viewBox="0 0 16 16" class="bi bi-x" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M11.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708-.708l7-7a.5.5 0 0 1 .708 0z"/>
<path fill-rule="evenodd" d="M4.146 4.146a.5.5 0 0 0 0 .708l7 7a.5.5 0 0 0 .708-.708l-7-7a.5.5 0 0 0-.708 0z"/>
</svg></button>
<ul class="sidebar-menu">
<li class="menu-title"><a href="introduction.html">Getting Started</a></li>
<li class="menu-link"><a href="introduction.html">Introduction</a></li>
<li class="menu-link"><a href="installation.html">Installation</a></li>
<li class="menu-title"><a href="buttons.html">Components</a></li>
<li class="menu-link"><a href="buttons.html">Buttons</a></li>
<li class="menu-link"><a href="alerts.html">Alerts</a></li>
<li class="menu-link"><a href="input.html">Input</a></li>
<li class="menu-link"><a href="dropdown.html">Dropdown</a></li>
<li class="menu-link"><a href="navbar.html">Navbar</a></li>
<li class="menu-link"><a href="sidebar.html">Sidebar</a></li>
<li class="menu-link"><a href="badge.html">Badge</a></li>
<li class="menu-link"><a href="card.html">Card</a></li>
<li class="menu-link"><a href="tooltips.html">Tooltips</a></li>
<li class="menu-link"><a href="testimonials.html">Testimonials</a></li>
<li class="menu-link"><a href="pricing-tables.html">Pricing Tables</a></li>
<li class="menu-title"><a href="sizing.html">Other</a></li>
<li class="menu-link active"><a href="sizing.html">Sizing</a></li>
<li class="menu-link"><a href="spacing.html">Spacing</a></li>
<li class="menu-link"><a href="fonts.html">Fonts</a></li>
<li class="menu-link"><a href="icons.html">Icons</a></li>
</ul>
</div>
<!-- End Left Sidebar -->
<!-- Right Nav -->
<nav class="right-nav" id="right-nav">
<ul>
<li><a href="#width">Width</a></li>
</ul>
</nav>
<!-- End Right Nav -->
<!-- Content -->
<div class="container-full content">
<p class="docs-main-title">Sizing Elements</p>
<p class="subtitle">Elementric components - just copy the HTML code of an element and paste it into your code
(after you read the <a href="installation.html">installation</a> guide).</p>
<p class="docs-title mt-5" id="width">Width Sizing</p>
<p class="subtitle">To change the width size of an element add one of the following classes:</p>
<table class="table table-bordered width-70">
<thead>
<tr>
<th scope="col">Class</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row"><mark>.width-auto</mark></th>
<td>Width auto</td>
</tr>
<tr>
<th scope="row"><mark>.width-10</mark></th>
<td>Width 10%</td>
</tr>
<tr>
<th scope="row"><mark>.width-20</mark></th>
<td>Width 20%</td>
</tr>
<tr>
<th scope="row"><mark>.width-30</mark></th>
<td>Width 30%</td>
</tr>
<tr>
<th scope="row"><mark>.width-40</mark></th>
<td>Width 40%</td>
</tr>
<tr>
<th scope="row"><mark>.width-50</mark></th>
<td>Width 50%</td>
</tr>
<tr>
<th scope="row"><mark>.width-60</mark></th>
<td>Width 60%</td>
</tr>
<tr>
<th scope="row"><mark>.width-70</mark></th>
<td>Width 70%</td>
</tr>
<tr>
<th scope="row"><mark>.width-80</mark></th>
<td>Width 80%</td>
</tr>
<tr>
<th scope="row"><mark>.width-90</mark></th>
<td>Width 90%</td>
</tr>
<tr>
<th scope="row"><mark>.full-width</mark></th>
<td>Width 100%</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- End Content -->
<!-- Footer -->
<div class="footer" id="docs-footer">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 text-center text-lg-left">
<p class="footer-logo"><img src="images/logo.svg" alt="logo"> Elementric</p>
</div>
<div class="col-lg-6 ml-auto text-center text-lg-right align-self-center">
<a href="https://github.com/ciucacristi/elementric" class="mr-4">GitHub</a>
<a href="changelog.html" class="mr-4">Changelog</a>
<a href="https://github.com/ciucacristi/elementric/issues" class="mr-4">Issues</a>
</div>
</div>
<hr>
<div class="copyright">
<div class="row">
<div class="col-lg-3 text-center text-lg-left">
<p>Copyright © 2021 Elementric</p>
</div>
<div class="col-lg-3 text-center mx-auto">
<p><a href="https://github.com/ciucacristi/elementric/blob/master/LICENSE">MIT License</a></p>
</div>
<div class="col-lg-3 text-center">
<p>Made by <a href="https://www.ciucacristi.tk/">Ciuca Cristian</a></p>
</div>
</div>
</div>
</div>
</div>
<!-- End Footer -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script src="js/js.js"></script>
<script src="Elementric/js/elementric.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script>
</body>
</html>