-
Notifications
You must be signed in to change notification settings - Fork 0
/
study.html
127 lines (110 loc) · 3.46 KB
/
study.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>study</title>
<style>
body {
font-family: "DM Serif Display", serif;
font-weight: 600; /* This makes the text bold */
background-color: #ffffff;
margin: 0;
padding: 0;;
}
header {
background-color: #714a9c;
text-align: center;
padding: 10px;
margin: 0;
}
header img {
max-width: 100px;
height: 100px;
border-radius: 10px;
}
main {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0;
}
.subject-button {
text-align: center;
margin: 2%;
width: 29%;
cursor: pointer;
border: 2px solid #333;
border: linear-gradient(180deg,
rgb(249, 70, 100),
orange,
rgb(244, 43, 244));
border-radius: 10px;
overflow: hidden;
transition: transform 0.2s;
cursor: pointer;
}
.subject-button:hover {
transform: scale(1.1);
border-radius: 20px;
box-shadow: 0px 0px 100px black
}
.subject-button img {
display: block; /* Ensures the image is centered properly */
margin: 0 auto; /* Centers the image horizontally */
max-width: 100%;
height: auto;
}
footer {
text-align: center;
padding: 10px;
background-color: #60427d;
color: white
;
}
</style>
<link rel="icon" href="C:\study\foxbg.png" type="image/png" sizes="16x16 62x62">
</head>
<body>
<header>
<div>
<img src="fox1.png" alt="Logo">
</div>
<p>Welcome to the new way of studying</p>
</header>
<main>
<div class="subject-button" onclick="navigate('physics')">
<img src="physics.png" alt="Physics">
<p>Physics </p>
</div>
</div>
<div class="subject-button" onclick="navigate('chemistry')">
<img src="Chemistry.png" alt="Chemistry">
<p>Chemistry</p>
</div>
<div class="subject-button" onclick="navigate('math')">
<img src="Maths.png" alt="Math">
<p>Math</p>
</div>
</main>
<footer>
<p style="text-align: center;">Yash Vinchhi</p>
<div style="text-align: center;">
<a href="https://www.instagram.com/yeaas_vinchhi/" target="_blank">
<img src="instagram.svg" alt="Instagram" style="width: 50px; height: 50px;">
</a>
<a href=https://www.linkedin.com/in/yash-h-vinchhi-25176b297/" target="_blank">
<img src="linkedin.svg" alt="linkedin" style="width: 50px; height: 50px;">
</a>
<a href="https://twitter.com/yashhvinchhi" target="_blank">
<img src="twitter.svg" alt="twitter" style="width: 50px; height: 50px;">
</a>
</div>
</footer>
<script>
function navigate(subject) {
window.location.href = subject + '.html';
}
</script>
</body>
</html>