Spaces:
Running
Running
Update index.html
Browse files- index.html +29 -13
index.html
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Loki.AI - By Parth Sadaria</title>
|
7 |
-
|
8 |
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
9 |
-
<link href="https://fonts.googleapis.com/css2?family=Encode+Sans:[email protected]&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Protest+Revolution&display=swap" rel="stylesheet">
|
10 |
<style>
|
11 |
@font-face {
|
12 |
-
|
13 |
font-weight: normal;
|
14 |
font-style: normal;
|
15 |
}
|
@@ -76,12 +76,14 @@
|
|
76 |
opacity: 1;
|
77 |
}
|
78 |
|
79 |
-
body:hover h1
|
|
|
|
|
80 |
color: rgba(255, 255, 255, 1);
|
81 |
text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
|
82 |
}
|
83 |
|
84 |
-
body:hover
|
85 |
color: rgba(255, 255, 255, 0.7);
|
86 |
}
|
87 |
|
@@ -102,6 +104,20 @@
|
|
102 |
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
|
103 |
}
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
@media (max-width: 768px) {
|
106 |
h1 {
|
107 |
letter-spacing: -1px;
|
@@ -116,22 +132,22 @@
|
|
116 |
<div class="cursor"></div>
|
117 |
<div class="glow"></div>
|
118 |
<div class="container">
|
119 |
-
<h1>Loki.AI</h1>
|
120 |
-
<p>By Parth Sadaria</p>
|
121 |
-
<br>
|
122 |
-
<p
|
123 |
-
<a href="https://parthsadaria-lokiai.hf.space/playground" target="_blank" rel="noopener noreferrer"
|
124 |
</div>
|
125 |
|
126 |
<script>
|
127 |
document.addEventListener('mousemove', (e) => {
|
128 |
const cursor = document.querySelector('.cursor');
|
129 |
const glow = document.querySelector('.glow');
|
130 |
-
|
131 |
// Move cursor
|
132 |
cursor.style.left = e.clientX + 'px';
|
133 |
cursor.style.top = e.clientY + 'px';
|
134 |
-
|
135 |
// Move glow effect
|
136 |
glow.style.left = e.clientX + 'px';
|
137 |
glow.style.top = e.clientY + 'px';
|
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Loki.AI - By Parth Sadaria</title>
|
7 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
8 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
9 |
+
<link href="https://fonts.googleapis.com/css2?family=Encode+Sans:[email protected]&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Protest+Revolution&display=swap" rel="stylesheet">
|
10 |
<style>
|
11 |
@font-face {
|
12 |
+
font-family: "Playfair Display";
|
13 |
font-weight: normal;
|
14 |
font-style: normal;
|
15 |
}
|
|
|
76 |
opacity: 1;
|
77 |
}
|
78 |
|
79 |
+
body:hover h1,
|
80 |
+
body:hover p,
|
81 |
+
body:hover a {
|
82 |
color: rgba(255, 255, 255, 1);
|
83 |
text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
|
84 |
}
|
85 |
|
86 |
+
body:hover .playground-text {
|
87 |
color: rgba(255, 255, 255, 0.7);
|
88 |
}
|
89 |
|
|
|
104 |
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
|
105 |
}
|
106 |
|
107 |
+
.playground-text {
|
108 |
+
font-size: 14px;
|
109 |
+
font-weight: bold;
|
110 |
+
display: inline-block;
|
111 |
+
margin-right: 5px;
|
112 |
+
transition: all 0.5s ease;
|
113 |
+
}
|
114 |
+
|
115 |
+
a {
|
116 |
+
color: white;
|
117 |
+
text-decoration: underline;
|
118 |
+
transition: all 0.5s ease;
|
119 |
+
}
|
120 |
+
|
121 |
@media (max-width: 768px) {
|
122 |
h1 {
|
123 |
letter-spacing: -1px;
|
|
|
132 |
<div class="cursor"></div>
|
133 |
<div class="glow"></div>
|
134 |
<div class="container">
|
135 |
+
<h1>Loki.AI</h1>
|
136 |
+
<p>By Parth Sadaria</p>
|
137 |
+
<br>
|
138 |
+
<p class="playground-text">Playground:</p>
|
139 |
+
<a href="https://parthsadaria-lokiai.hf.space/playground" target="_blank" rel="noopener noreferrer">https://parthsadaria-lokiai.hf.space/playground</a>
|
140 |
</div>
|
141 |
|
142 |
<script>
|
143 |
document.addEventListener('mousemove', (e) => {
|
144 |
const cursor = document.querySelector('.cursor');
|
145 |
const glow = document.querySelector('.glow');
|
146 |
+
|
147 |
// Move cursor
|
148 |
cursor.style.left = e.clientX + 'px';
|
149 |
cursor.style.top = e.clientY + 'px';
|
150 |
+
|
151 |
// Move glow effect
|
152 |
glow.style.left = e.clientX + 'px';
|
153 |
glow.style.top = e.clientY + 'px';
|