Spaces:
Running
Running
Update index.html
Browse files- index.html +104 -9
index.html
CHANGED
@@ -4,10 +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 |
<style>
|
8 |
@font-face {
|
9 |
-
|
10 |
-
src: url('https://openwebui.com/assets/fonts/InstrumentSerif-Regular.ttf') format('truetype');
|
11 |
font-weight: normal;
|
12 |
font-style: normal;
|
13 |
}
|
@@ -25,28 +27,121 @@
|
|
25 |
flex-direction: column;
|
26 |
justify-content: center;
|
27 |
align-items: center;
|
28 |
-
height: 100vh;
|
29 |
text-align: center;
|
30 |
font-family: 'Instrument Serif', serif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
h1 {
|
34 |
-
font-size: 9rem;
|
35 |
font-weight: bold;
|
36 |
letter-spacing: -3px;
|
37 |
text-transform: uppercase;
|
|
|
|
|
|
|
38 |
}
|
39 |
|
40 |
p {
|
41 |
-
font-size: 2rem;
|
42 |
-
color:
|
43 |
margin-top: -10px;
|
44 |
letter-spacing: 1px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
}
|
46 |
</style>
|
47 |
</head>
|
48 |
<body>
|
49 |
-
<
|
50 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</body>
|
52 |
-
</html>
|
|
|
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 |
}
|
|
|
27 |
flex-direction: column;
|
28 |
justify-content: center;
|
29 |
align-items: center;
|
30 |
+
min-height: 100vh;
|
31 |
text-align: center;
|
32 |
font-family: 'Instrument Serif', serif;
|
33 |
+
position: relative;
|
34 |
+
overflow: hidden;
|
35 |
+
}
|
36 |
+
|
37 |
+
.container {
|
38 |
+
position: relative;
|
39 |
+
z-index: 1;
|
40 |
+
transition: all 0.3s ease;
|
41 |
}
|
42 |
|
43 |
h1 {
|
44 |
+
font-size: clamp(4rem, 15vw, 9rem);
|
45 |
font-weight: bold;
|
46 |
letter-spacing: -3px;
|
47 |
text-transform: uppercase;
|
48 |
+
position: relative;
|
49 |
+
transition: all 0.5s ease;
|
50 |
+
color: rgba(255, 255, 255, 0.1);
|
51 |
}
|
52 |
|
53 |
p {
|
54 |
+
font-size: clamp(1rem, 3vw, 2rem);
|
55 |
+
color: rgba(255, 255, 255, 0.1);
|
56 |
margin-top: -10px;
|
57 |
letter-spacing: 1px;
|
58 |
+
transition: all 0.5s ease;
|
59 |
+
}
|
60 |
+
|
61 |
+
.glow {
|
62 |
+
position: fixed;
|
63 |
+
width: 600px;
|
64 |
+
height: 600px;
|
65 |
+
background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
|
66 |
+
pointer-events: none;
|
67 |
+
opacity: 0;
|
68 |
+
transition: opacity 0.3s ease;
|
69 |
+
transform: translate(-50%, -50%);
|
70 |
+
z-index: 0;
|
71 |
+
}
|
72 |
+
|
73 |
+
/* Hover effects */
|
74 |
+
body:hover .glow {
|
75 |
+
opacity: 1;
|
76 |
+
}
|
77 |
+
|
78 |
+
body:hover h1 {
|
79 |
+
color: rgba(255, 255, 255, 1);
|
80 |
+
text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
|
81 |
+
}
|
82 |
+
|
83 |
+
body:hover p {
|
84 |
+
color: rgba(255, 255, 255, 0.7);
|
85 |
+
}
|
86 |
+
|
87 |
+
.cursor {
|
88 |
+
width: 20px;
|
89 |
+
height: 20px;
|
90 |
+
border: 2px solid rgba(255, 255, 255, 0.3);
|
91 |
+
border-radius: 50%;
|
92 |
+
position: fixed;
|
93 |
+
pointer-events: none;
|
94 |
+
transition: all 0.1s ease;
|
95 |
+
z-index: 9999;
|
96 |
+
transform: translate(-50%, -50%);
|
97 |
+
}
|
98 |
+
|
99 |
+
body:hover .cursor {
|
100 |
+
border-color: white;
|
101 |
+
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
|
102 |
+
}
|
103 |
+
|
104 |
+
@media (max-width: 768px) {
|
105 |
+
h1 {
|
106 |
+
letter-spacing: -1px;
|
107 |
+
}
|
108 |
+
p {
|
109 |
+
letter-spacing: 1px;
|
110 |
+
}
|
111 |
}
|
112 |
</style>
|
113 |
</head>
|
114 |
<body>
|
115 |
+
<div class="cursor"></div>
|
116 |
+
<div class="glow"></div>
|
117 |
+
<div class="container">
|
118 |
+
<h1>Loki.AI</h1>
|
119 |
+
<p>By Parth Sadaria</p>
|
120 |
+
</div>
|
121 |
+
|
122 |
+
<script>
|
123 |
+
document.addEventListener('mousemove', (e) => {
|
124 |
+
const cursor = document.querySelector('.cursor');
|
125 |
+
const glow = document.querySelector('.glow');
|
126 |
+
|
127 |
+
// Move cursor
|
128 |
+
cursor.style.left = e.clientX + 'px';
|
129 |
+
cursor.style.top = e.clientY + 'px';
|
130 |
+
|
131 |
+
// Move glow effect
|
132 |
+
glow.style.left = e.clientX + 'px';
|
133 |
+
glow.style.top = e.clientY + 'px';
|
134 |
+
});
|
135 |
+
|
136 |
+
document.addEventListener('mousedown', () => {
|
137 |
+
const cursor = document.querySelector('.cursor');
|
138 |
+
cursor.style.transform = 'translate(-50%, -50%) scale(0.8)';
|
139 |
+
});
|
140 |
+
|
141 |
+
document.addEventListener('mouseup', () => {
|
142 |
+
const cursor = document.querySelector('.cursor');
|
143 |
+
cursor.style.transform = 'translate(-50%, -50%) scale(1)';
|
144 |
+
});
|
145 |
+
</script>
|
146 |
</body>
|
147 |
+
</html>
|