-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsinhala.html
More file actions
140 lines (118 loc) · 3.63 KB
/
Copy pathsinhala.html
File metadata and controls
140 lines (118 loc) · 3.63 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
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
<!DOCTYPE html>
<html lang="si">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FunQ - සිංහල</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&family=Material+Icons+Round" rel="stylesheet">
<style>
/* Global Styles */
body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Fredoka', sans-serif;
background: linear-gradient(135deg, #fbc2eb, #a18cd1);
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
overflow-y: auto;
user-select: none;
}
/* Navbar */
.navbar {
width: 100%;
padding: 5px 0;
background: #6a11cb;
color: white;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
position: sticky;
top: 0;
z-index: 10;
}
.back-btn {
font-size: 2.5rem;
cursor: none;
display: flex;
margin: 10px;
}
.nav-title {
font-size: 1.8rem;
flex: 1;
text-align: center;
margin-right: 44px;
}
/* Grade GIF */
.grade-gif {
width: 300px;
border-radius: 20px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
margin: 40px 0;
animation: bounce 2s infinite ease-in-out;
}
/* Bounce Animation */
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
/* Grade Title */
.grade-title {
font-size: 2rem;
color: white;
text-align: center;
margin-bottom: 30px;
}
/* Grade Buttons */
.grade-buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin-bottom: 10px;
}
.grade-btn {
padding: 15px 25px;
font-size: 1.5rem;
border: none;
border-radius: 20px;
background: linear-gradient(45deg, #43cea2, #185a9d);
color: white;
cursor: none;
transition: transform 0.3s, box-shadow 0.3s;
}
.grade-btn:hover {
transform: scale(1.1);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
</style>
</head>
<body>
<!-- Navigation -->
<div class="navbar">
<span class="back-btn" onclick="location.href='https://funq.vercel.app'">
<span class="material-icons-round">arrow_back</span>
</span>
<span class="nav-title">FunQ - සිංහල</span>
</div>
<img src="https://funq.vercel.app/funq-logo.svg"
alt="Grade GIF" class="grade-gif">
<p class="grade-title">ඔබේ ශ්රේණිය තෝරන්න:</p>
<div class="grade-buttons" id="gradeButtons"></div>
<script>
// Generate Grade Buttons (1 to 13)
const gradeContainer = document.getElementById('gradeButtons');
for (let i = 1; i <= 13; i++) {
gradeContainer.innerHTML += `<button class="grade-btn" onclick="alert('Grade ${i}')">${i} ශ්රේණිය</button>`;
}
</script>
</body>
</html>