-
Notifications
You must be signed in to change notification settings - Fork 91
/
homepage
156 lines (156 loc) · 4.83 KB
/
homepage
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
<html>
<head>
<title>Badge Website</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
font-family: 'Roboto', sans-serif;
background-color: #000;
color: #FFF;
}
.header {
background-color: #FFA500;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.header img {
height: 30px;
margin-right: 10px;
}
.header .title {
font-size: 20px;
font-weight: bold;
color: #fff;
display: flex;
align-items: center;
}
.header .nav {
display: flex;
gap: 20px;
flex-wrap: wrap;
margin-left: auto;
margin-right: auto;
}
.header .nav a {
color: #fff;
text-decoration: none;
font-size: 14px;
transition: color 0.3s;
}
.header .nav a:hover {
color: #000;
}
.badge-container {
display: flex;
justify-content: center;
align-items: center;
padding: 50px 20px;
gap: 50px;
flex-wrap: wrap;
}
.card {
background-color: #464646;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
width: 250px;
text-align: center;
transition: transform 0.3s;
}
.card:hover {
transform: scale(1.05);
}
.card img {
width: 100%;
height: auto;
}
.card .card-info {
padding: 20px;
}
.card .card-info p {
margin: 10px 0;
}
.card .card-info a {
color: #FFA500;
text-decoration: none;
transition: color 0.3s;
}
.card .card-info a:hover {
color: #FFD700;
}
.card .card-info .social-icons {
margin-top: 10px;
}
.card .card-info .social-icons a {
color: #FFA500;
margin: 0 5px;
font-size: 20px;
transition: color 0.3s;
}
.card .card-info .social-icons a:hover {
color: #FFD700;
}
@media (max-width: 600px) {
.header {
flex-direction: column;
align-items: center;
}
.header .nav {
justify-content: center;
width: 100%;
}
.badge-container {
padding: 20px;
flex-direction: column;
}
}
</style>
</head>
<body>
<div class="header">
<div class="title">
<img alt="Badge icon" height="30" src="https://storage.googleapis.com/a1aa/image/Oe2NorsYiTSacaGIfDNaZWxp3p9bpQKEpI0yjFwPgtB8aeKnA.jpg" width="30"/>
Badge Website
</div>
<div class="nav">
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Contact</a>
<a href="#">Badges</a>
</div>
</div>
<div class="badge-container">
<div class="card">
<img alt="Season of AI Microsoft Learn Newcomer badge" src="https://storage.googleapis.com/a1aa/image/psfaeyZWk1uD4EKh6z6AMVCShMZfN4E4ZdCeeByhh3wzXzrcC.jpg"/>
<div class="card-info">
<p>Season of AI</p>
<p>Awarded to: hello.rajput@gmail.com</p>
<p>Issued on: Jul 28, 2023 at 1:11 AM</p>
<p><a href="#">Download Badge</a></p>
<div class="social-icons">
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-facebook-f"></i></a>
</div>
</div>
</div>
<div class="card">
<img alt="Season of AI Microsoft Learn Newcomer badge" src="https://storage.googleapis.com/a1aa/image/psfaeyZWk1uD4EKh6z6AMVCShMZfN4E4ZdCeeByhh3wzXzrcC.jpg"/>
<div class="card-info">
<p>Season of AI</p>
<p>Awarded to: hello.rajput@gmail.com</p>
<p>Issued on: Jul 28, 2023 at 1:11 AM</p>
<p><a href="#">Download Badge</a></p>
<div class="social-icons">
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-facebook-f"></i></a>
</div>
</div>
</div>
</div>
</body>
</html>