-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnote.html
More file actions
179 lines (179 loc) · 7.74 KB
/
note.html
File metadata and controls
179 lines (179 loc) · 7.74 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Notes</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<style>
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
justify-content: center;
align-items: center;
text-align: center;
margin: 0 auto;
max-width: 800px;
}
.grid-item {
position: relative;
padding: 20px;
border: 1px solid #333;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
background-color: #111;
text-decoration: none;
color: inherit;
transition: transform 0.2s ease, box-shadow 0.2s ease;
perspective: 1000px;
}
.note-type {
position: absolute;
top: 10px;
right: 10px;
font-size: 1rem;
color: #007ced;
padding: 5px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.note-type i {
font-size: 1rem;
color: #939393;
}
.grid-item:hover {
transform: translateY(-10px);
box-shadow: 0 8px 12px rgba(255, 255, 255, 0.2);
}
.grid-item > i {
font-size: 2rem;
color: #007ced;
margin-bottom: 10px;
}
.grid-item h2 {
font-size: 1.5rem;
color : #fff;
margin: 10px 0;
}
.grid-item p {
font-size: 1rem;
color: #666;
}
.grid-item:hover {
transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}
</style>
<script>
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('.grid-item').forEach(item => {
item.addEventListener('mousemove', (e) => {
const rect = item.getBoundingClientRect();
const x = e.clientX - rect.left - rect.width / 2;
const y = e.clientY - rect.top - rect.height / 2;
item.style.transform = `rotateX(${y / 3}deg) rotateY(${x / 3}deg)`;
});
item.addEventListener('mouseleave', () => {
item.style.transform = 'translateY(0) rotateX(0) rotateY(0)';
});
});
});
</script>
</head>
<body>
<div class="hero-header">
<div class="wrapper">
<header class="header-container">
<div class="logo">
<i class="fa-solid custom-s"></i>
<div class="logo-text">My Notes</div>
</div>
<div class="btn-group">
<a href="index.html" class="btn active">Back</a>
</div>
</header>
<div class="container">
<div class="Note-List">
<div class="grid-container">
<a href="assets/notes/CS2100Note.pdf" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-pdf"></i></span>
<i class="fa-solid fa-bar-chart"></i>
<h2>CS 2100</h2>
<p>discrete math</p>
</a>
<a href="assets/notes/CS2420Note.pdf" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-pdf"></i></span>
<i class="fa-solid fa-code"></i>
<h2>CS 2420</h2>
<p>Data structure</p>
</a>
<a href="assets/notes/CS3100/Intro.html" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-code"></i></span>
<i class="fa-solid fa-microchip"></i>
<h2>CS3100</h2>
<p>Models Of Computation</p>
</a>
<a href="assets/notes/CS3130Note.pdf" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-pdf"></i></span>
<i class="fa-solid fa-gears"></i>
<h2>CS 3130</h2>
<p>probability & statistics</p>
</a>
<a href="assets/notes/CS3500Note.pdf" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-pdf"></i></span>
<i class="fa-solid fa-code"></i>
<h2>CS3500</h2>
<p>Software practice</p>
</a>
<a href="assets/notes/CS3505/Doker & Compile.html" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-code"></i></span>
<i class="fa-solid fa-code"></i>
<h2>CS3505</h2>
<p>Software practice II</p>
</a>
<a href="assets/notes/CS3520/Shplait 入门.html" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-code"></i></span>
<i class="fa-solid fa-code"></i>
<h2>CS3520</h2>
<p>Programming Languages</p>
</a>
<a href="assets/notes/CS3550/HTML.html" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-code"></i></span>
<i class="fa-brands fa-edge"></i>
<h2>CS3550</h2>
<p>Web Software I</p>
</a>
<a href="assets/notes/CS3810Note.pdf" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-pdf"></i></span>
<i class="fa-solid fa-microchip"></i>
<h2>CS3810</h2>
<p>Computer Organization</p>
</a>
<a href="assets/notes/CS4300/Planning.html" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-code"></i></span>
<i class="fa-solid fa-brain"></i>
<h2>CS4300</h2>
<p>Machine Learning</p>
</a>
<a href="assets/notes/CS4400/Intro.html" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-code"></i></span>
<i class="fa-solid fa-microchip"></i>
<h2>CS4400</h2>
<p>Computer System</p>
</a>
<a href="assets/notes/CS5530/Intro.html" class="grid-item">
<span class="note-type"><i class="fa-solid fa-file-code"></i></span>
<i class="fa-solid fa-database"></i>
<h2>CS5530</h2>
<p>Database</p>
</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>