bl-css 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/bin/sc.js +0 -0
- package/bl.css +53 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# bl CSS
|
|
2
2
|
A *lightweight*, **blueviolet**, ***small*** CSS framework!
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
|
|
4
|
+
# 0.11.1 - Release notes(by Dev)
|
|
5
|
+
FINALLY :D! `.hero` and `.navbar`!! This update is just straight up fire (imo)
|
|
6
|
+
|
|
7
|
+
## Classes Added
|
|
8
|
+
`.hero`: A hero section with 100vh :O
|
|
9
|
+
`.navbar`: A floating pill navbar :P
|
|
10
|
+
`.h1-hero`: An outline stroked text :O
|
|
11
|
+
`.navtitle`: The title on the left of the navbar :D
|
|
12
|
+
`.navlinks`: Links on the right of the navbar :D
|
|
13
|
+
|
|
14
|
+
## [Preview](https://fg-xd.github.io/bl-CSS)
|
|
7
15
|
# How to Change Accent Color?
|
|
8
16
|
To change from the **original** blueviolet theme you have to open the main```bl.css``` file and you can change the following:
|
|
9
17
|
```css
|
package/bin/sc.js
CHANGED
|
File without changes
|
package/bl.css
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* bl-css
|
|
3
|
+
* (c) 2026 __fg_xd
|
|
4
|
+
* Licensed under LGPLv2.1 License
|
|
5
|
+
* https://github.com/fg-xd/bl-CSS
|
|
6
|
+
* https://npmjs.com/package/bl-css
|
|
7
|
+
*/
|
|
1
8
|
@import url(https://fonts.googleapis.com/css2?family=Lilita+One&display=swap);
|
|
2
9
|
@import url(https://fonts.googleapis.com/css2?family=Cause:wght@700&display=swap);
|
|
3
10
|
@layer low{
|
|
@@ -25,8 +32,7 @@ body{
|
|
|
25
32
|
.h1{
|
|
26
33
|
font-family: "Lilita One";
|
|
27
34
|
display: table;
|
|
28
|
-
padding: 10px;
|
|
29
|
-
font-size: 2rem;
|
|
35
|
+
padding: 10px; /* No more 2rem */
|
|
30
36
|
border-bottom: 0.5px solid;
|
|
31
37
|
border-bottom-color: rgba(255,255,255,0.3);
|
|
32
38
|
transition: 0.4s ease;
|
|
@@ -161,7 +167,6 @@ body{
|
|
|
161
167
|
flex-direction: column;
|
|
162
168
|
gap: 10px;
|
|
163
169
|
}
|
|
164
|
-
/* Form (NEW) */
|
|
165
170
|
.form{
|
|
166
171
|
display: table;
|
|
167
172
|
padding: 12px;
|
|
@@ -206,4 +211,49 @@ body{
|
|
|
206
211
|
.label:focus-within{
|
|
207
212
|
color: var(--_);
|
|
208
213
|
}
|
|
214
|
+
/* navbar and splash screen! (New!) */
|
|
215
|
+
.hero{
|
|
216
|
+
height: 100vh;
|
|
217
|
+
display: flex;
|
|
218
|
+
justify-content: center;
|
|
219
|
+
align-items: center;
|
|
220
|
+
background-color: black;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
gap: 10px;
|
|
223
|
+
}
|
|
224
|
+
.navbar{
|
|
225
|
+
height: auto;
|
|
226
|
+
min-height: fit-content;
|
|
227
|
+
display: grid;
|
|
228
|
+
padding: 0 5px;
|
|
229
|
+
grid-template-columns: auto 1fr;
|
|
230
|
+
top: 15px;
|
|
231
|
+
right: 15%;
|
|
232
|
+
left: 15%;
|
|
233
|
+
border-radius: 9999px;
|
|
234
|
+
background-color: rgba(0,0,0,0.6);
|
|
235
|
+
border: 2px solid rgb(50,50,50);
|
|
236
|
+
position: fixed;
|
|
237
|
+
}
|
|
238
|
+
.navtitle{
|
|
239
|
+
grid-column: 1;
|
|
240
|
+
align-items: center;
|
|
241
|
+
/* Use with h1 */
|
|
242
|
+
}
|
|
243
|
+
.navlinks{
|
|
244
|
+
grid-column: 2;
|
|
245
|
+
display: flex;
|
|
246
|
+
gap: 5px;
|
|
247
|
+
justify-content: end;
|
|
248
|
+
align-items: center;
|
|
249
|
+
/* add your links to the right */
|
|
250
|
+
}
|
|
251
|
+
.h1-hero{
|
|
252
|
+
font-family: "Lilita One";
|
|
253
|
+
display: table;
|
|
254
|
+
padding: 10px;
|
|
255
|
+
color: transparent;
|
|
256
|
+
-webkit-text-stroke: 1px var(--_);
|
|
257
|
+
text-stroke: 1px var(--_);
|
|
258
|
+
}
|
|
209
259
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bl-css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "black - blueviolet lightweight CSS framework",
|
|
5
5
|
"main": "bl.css",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
|
-
"repository":{
|
|
9
|
+
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/fg-xd/bl-CSS.git"
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
14
|
"bl-css": "./bin/sc.js",
|
|
15
|
-
|
|
15
|
+
"bl": "./bin/sc.js"
|
|
16
16
|
},
|
|
17
17
|
"files": ["bl.css", "README.md", "sc.js"],
|
|
18
18
|
"exports": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
},
|
|
24
24
|
"keywords": ["css", "framework", "dark", "blueviolet", "lightweight", "simple"],
|
|
25
25
|
"author": "__fg_xd",
|
|
26
|
-
"license": "
|
|
26
|
+
"license": "LGPL-2.1-only"
|
|
27
27
|
}
|