-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
105 lines (90 loc) · 1.9 KB
/
index.html
File metadata and controls
105 lines (90 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Stylish Links</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #f4f4f8;
color: #333;
padding: 0;
margin: 0;
}
header {
background: #ffffff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 1rem 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
height: 40px;
width: 120px;
overflow: hidden;
object-fit: cover;
}
.logo-link {
height: 40px;
}
#card-container {
max-width: 600px;
margin: 2rem auto;
padding: 1rem;
}
.link-card {
background: #fff;
border-radius: 8px;
padding: 1rem;
margin-bottom: 1rem;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
transition: transform 0.2s ease;
overflow-x: hidden;
}
.link-card:hover {
transform: translateY(-2px);
}
.label {
font-weight: bold;
margin-bottom: 0.5rem;
display: block;
}
.link {
color: #1e88e5;
text-decoration: none;
display: block;
}
.link:hover {
text-decoration: underline;
}
.text-error {
color: red;
}
@media (max-width: 600px) {
#card-container {
padding: 0.5rem;
}
.link-card {
padding: 0.75rem;
}
}
</style>
</head>
<body>
<header>
<a href="./" class="logo-link">
<img src="./images/multiple-links.png" alt="Logo" class="logo">
</a>
<!-- Optional: add a heading or nav here -->
</header>
<div id="card-container"></div>
<script type="module" src="scripts/index.js"></script>
</body>
</html>