This repository was archived by the owner on Nov 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
109 lines (109 loc) · 4.27 KB
/
index.html
File metadata and controls
109 lines (109 loc) · 4.27 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Fjall - More with Less</title>
<link rel="stylesheet" href="https://classicmc-studios.github.io/bc.css"/>
<style type="text/css">
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@900&family=Roboto:wght@100&display=swap');
*{
font-family:'Roboto',sans-serif;
}
h1{
font-size: 60px;
}
.sub{
font-family: 'Roboto',sans-serif;
font-size: 20px;
color:gray;
font-style: italic;
}
p{
font-family: 'Roboto',sans-serif;
}
b{
font-weight: 100;
font-family: 'Open Sans',sans-serif;
}
.item{
border-bottom:1px solid lightgray;
margin:10px;
}
.grad{
animation: background-pan 3s linear infinite;
background-image: linear-gradient(to right, blue,lightblue,darkblue);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
white-space: nowrap;
background-size: 200%;
}
a{
color:blue;
text-decoration: underline;
}
.true-center-with-mac{
display: inline-block;
}
blockquote{
--mar:10px;
display: inline-block;
padding: 5px;
border-left: 2px solid gray;
margin-left:var(--mar);margin-left:var(--mar);
}
pre code {
background-color: #eee;
border-radius: 10px;
display: block;
padding: 20px;
display: inline-block;
}
</style>
</head>
<body class="bc-text-align" data='{"title":"Fjall","attr":["if/else","lint","for","data","bind"],"active":"min is 3.46kb","counter":0}'>
<h1>
<a href="#Fjall">#</a> <span id="Fjall" class="grad" lint>{{title}}</span>.JS
</h1>
<p class="sub">
More with Less
</p><br/>
<p>A new Lightweight JavaScript framework to add reactivity in a **<b>snap</b>**</p><br/>
<div class="bc-border true-center-with-mac">
<button click="counter++;" class="bc-white bc-text-black bc-border bc-p-5 bc-hover-p-10 bc-m-10 bc-r-0">Increment</button>
<p lint>
Count: {{counter}}
</p>
</div><br/><br/>
<div class="bc-border true-center-with-mac bc-p-25">
<h2 id="with-attr"><a href="#with-attr">##</a> With Attributes Like...</h2>
<ol style="text-align:left;" class="bc-m-10" for="attr" item="li" item-class="item"></ol>
</div><br/><br/>
<h2><a href="#TINY">##</a> Absolutely <em id="TINY">TINY</em></h2>
<div>
<button click='active="src is 5.01kb"' class="bc-white bc-text-black bc-border bc-p-5 bc-hover-p-10 bc-m-5 bc-r-0">Source</button>
<button click='active="min is 3.46kb"' class="bc-white bc-text-black bc-border bc-p-5 bc-hover-p-10 bc-m-5 bc-r-0">Min</button>
<button click='active="build is 1.57kb"' class="bc-white bc-text-black bc-border bc-p-5 bc-hover-p-10 bc-m-5 bc-r-0">Build</button><br/>
<span>Fjall</span>
<em lint>
{{active}}!!
</em>
</div><br/><br/>
<blockquote>
“If your mind isn’t clouded by unnecessary things, then this is the best season of your life.”<br/>
- Wu Men
</blockquote><br/><br/>
<h2 id="learn"><a href="#learn">##</a> Learn The Basics</h2><br/>
<p>
Visit the tutorial <a href="https://github.com/guyotJs/FjallJS/blob/main/Fjall-Basics.md">Here</a>!
</p><br/>
<h2 id="add"><a href="#add">##</a> Add Fjall to your Project</h2><br/>
<p>
All you need is <b>One</b> script tag<br/>
Download Locally <a href="https://guyotjs.github.io/FjallJS/build/fjall-min.js">Here</a><br/>
Run from the link with a script tag <br/><br/><pre><code><script src="https://guyotjs.github.io/FjallJS/build/fjall-min.js"></script></code></pre>
</p><br/><br/>
<script type="text/javascript" src="https://guyotjs.github.io/FjallJS/build/fjall-min.js"></script>
</body>