hexo-theme-wang
Version:
a hexo theme minimalism
59 lines (50 loc) • 1.06 kB
text/stylus
.links-page {
max-width: 100%;
margin: 0 auto;
padding: 20px;
h1 {
text-align: center;
margin-top: 4em;
color: #fff;
}
}
.links-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
justify-content: center;
.link-item {
background: rgba(255, 255, 255, 0.1);
padding: 10px 15px;
border-radius: 10px;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.2);
color: #00ffff;
font-size: 1em;
text-align: center;
&:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
a {
color: #00ffff;
text-decoration: none;
img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-bottom: 10px;
}
.link-name {
font-weight: bold;
display: block;
margin-bottom: 5px;
}
.link-description {
color: #00ffff;
font-size: 0.9em;
}
}
}
}