mirror of
https://github.com/arthur-pbty/links.git
synced 2026-08-01 20:29:27 +02:00
Co-authored-by: arthur-pbty <128254439+arthur-pbty@users.noreply.github.com>
149 lines
2.4 KiB
CSS
149 lines
2.4 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.container {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
border-radius: 20px;
|
|
padding: 40px;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.profile {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.avatar {
|
|
font-size: 4rem;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.profile h1 {
|
|
font-size: 2rem;
|
|
color: #333;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.bio {
|
|
color: #666;
|
|
font-size: 1rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.link-card {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 20px;
|
|
background: #fff;
|
|
border-radius: 15px;
|
|
text-decoration: none;
|
|
color: #333;
|
|
border: 2px solid transparent;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.link-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
border-color: #667eea;
|
|
}
|
|
|
|
.icon {
|
|
font-size: 1.5rem;
|
|
margin-right: 15px;
|
|
min-width: 30px;
|
|
}
|
|
|
|
.link-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.link-info h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
color: #333;
|
|
}
|
|
|
|
.link-info p {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.arrow {
|
|
font-size: 1.2rem;
|
|
color: #667eea;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.link-card:hover .arrow {
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
color: #888;
|
|
font-size: 0.85rem;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
/* Responsive design */
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
padding: 30px 20px;
|
|
margin: 10px;
|
|
}
|
|
|
|
.avatar {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.profile h1 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.link-card {
|
|
padding: 16px;
|
|
}
|
|
|
|
.icon {
|
|
font-size: 1.3rem;
|
|
margin-right: 12px;
|
|
min-width: 25px;
|
|
}
|
|
|
|
.link-info h3 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.link-info p {
|
|
font-size: 0.85rem;
|
|
}
|
|
} |