站务:交流群/styles.css
来自星露谷物语扩展百科
更多操作
< 站务:交流群
.link-hub-container {
max-width: 1100px;
margin: 20px auto;
color: #333;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
}
.hub-intro-text {
margin-bottom: 25px;
color: #555;
font-size: 1.1em;
padding-left: 12px;
border-left: 3px solid rgba(0, 123, 255, 0.3);
}
.link-section-header {
font-size: 1.4em;
margin: 40px 0 20px 0;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #222;
}
.link-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 20px;
}
.link-card {
display: flex;
align-items: flex-start;
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0,0,0,0.02);
position: relative;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
backdrop-filter: blur(10px);
}
.link-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
border-color: #007bff;
z-index: 10;
}
.card-avatar {
flex-shrink: 0;
width: 54px;
height: 54px;
margin-right: 16px;
background: #f0f2f5;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.card-avatar .avatar-img img,
.card-avatar img {
width: 70% !important;
height: 70% !important;
object-fit: contain;
margin: 0 auto;
background: none;
border: none;
display: block;
}
.avatar-text {
font-size: 11px;
color: #666;
font-weight: bold;
text-transform: uppercase;
}
.card-content {
flex-grow: 1;
min-width: 0;
}
.card-title {
font-weight: 700;
font-size: 1.1em;
margin-bottom: 6px;
line-height: 1.3;
color: #222;
}
.card-desc {
font-size: 0.9em;
color: #666;
line-height: 1.5;
margin-top: 8px;
}
.group-id-badge {
display: inline-block;
background: rgba(0, 123, 255, 0.08);
color: #007bff;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 0.85em;
padding: 2px 8px;
border-radius: 4px;
margin-bottom: 8px;
border: 1px solid rgba(0, 123, 255, 0.2);
font-weight: bold;
user-select: all;
cursor: text;
}
.card-action {
margin-top: 15px;
text-align: right;
position: relative;
z-index: 2;
}
.card-action p {
margin: 0;
padding: 0;
}
.card-action .mw-ui-button {
background-color: #007bff;
border: 1px solid #007bff;
color: #fff;
border-radius: 6px;
font-weight: 600;
font-size: 0.9em;
padding: 6px 18px;
transition: all 0.2s;
text-decoration: none !important;
}
.card-action .mw-ui-button:hover {
background-color: #0056b3;
border-color: #0056b3;
box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
text-decoration: none;
}
.link-card.disabled-card {
opacity: 0.6;
background: rgba(245, 245, 245, 0.5);
border: 1px dashed #ccc;
}
.link-card.disabled-card:hover {
transform: none;
box-shadow: none;
border-color: #999;
}
.hub-info-card {
background: rgba(255, 255, 255, 0.6);
border: 1px dashed #ccc;
border-radius: 12px;
padding: 25px 30px;
font-size: 0.95em;
backdrop-filter: blur(5px);
margin-top: 30px;
}
.hub-info-card ul {
list-style: none;
margin-left: 0;
padding-left: 0;
}
.hub-info-card ul li {
position: relative;
padding-left: 20px;
margin-bottom: 6px;
color: #444;
}
.hub-info-card ul li::before {
content: '■';
position: absolute;
left: 0;
top: 4px;
font-size: 8px;
color: #007bff;
}
.hub-info-card dt {
font-weight: bold;
color: #222;
margin-top: 15px;
padding-left: 10px;
border-left: 3px solid #007bff;
}
.hub-info-card dd {
margin-left: 0;
padding-left: 13px;
color: #666;
margin-bottom: 5px;
font-style: italic;
}
.link-hub-container .card-title a,
.link-hub-container .card-title a:visited,
.link-hub-container .card-title a.external {
color: #222 !important;
text-decoration: none !important;
background: none !important;
padding-right: 0 !important;
}
.link-hub-container .card-action a,
.link-hub-container .card-action a:visited,
.link-hub-container .card-action a.external {
background: none !important;
padding-right: 0 !important;
text-decoration: none !important;
color: inherit !important;
}
.card-action a:after {
display: none !important;
}
.link-hub-container .link-card:hover .card-title a {
color: #007bff !important;
}
.card-title a::after {
display: none;
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 1;
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .link-hub-container { color: #ddd; }
html.skin-theme-clientpref-os .link-section-header { color: #eee; }
html.skin-theme-clientpref-os .hub-intro-text { color: #bbb; border-color: rgba(64, 156, 255, 0.4); }
html.skin-theme-clientpref-os .link-card {
background: rgba(35, 38, 42, 0.7);
border-color: rgba(255, 255, 255, 0.1);
}
html.skin-theme-clientpref-os .card-title,
html.skin-theme-clientpref-os .card-title a,
html.skin-theme-clientpref-os .card-title a.external {
color: #f0f0f0 !important;
}
html.skin-theme-clientpref-os .card-desc { color: #aaa; }
html.skin-theme-clientpref-os .card-avatar {
background: #2a2a2a;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
html.skin-theme-clientpref-os .avatar-text { color: #999; }
html.skin-theme-clientpref-os .group-id-badge {
background: rgba(64, 156, 255, 0.15);
color: #80c2ff;
border-color: rgba(64, 156, 255, 0.3);
}
html.skin-theme-clientpref-os .card-action .mw-ui-button {
background-color: #0d6efd;
border-color: #0d6efd;
}
html.skin-theme-clientpref-os .card-action .mw-ui-button:hover {
background-color: #0b5ed7;
box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
}
html.skin-theme-clientpref-os .hub-info-card {
background: rgba(0, 0, 0, 0.25);
border-color: #444;
}
html.skin-theme-clientpref-os .hub-info-card ul li,
html.skin-theme-clientpref-os .hub-info-card dd { color: #bbb; }
html.skin-theme-clientpref-os .hub-info-card dt { color: #eee; }
html.skin-theme-clientpref-os .link-card.disabled-card {
background: rgba(255,255,255,0.05);
border-color: #555;
}
}
html.skin-theme-clientpref-night .link-hub-container { color: #ddd; }
html.skin-theme-clientpref-night .link-section-header { color: #eee; }
html.skin-theme-clientpref-night .hub-intro-text { color: #bbb; border-color: rgba(64, 156, 255, 0.4); }
html.skin-theme-clientpref-night .link-card {
background: rgba(35, 38, 42, 0.7);
border-color: rgba(255, 255, 255, 0.1);
}
html.skin-theme-clientpref-night .card-title,
html.skin-theme-clientpref-night .card-title a,
html.skin-theme-clientpref-night .card-title a.external {
color: #f0f0f0 !important;
}
html.skin-theme-clientpref-night .card-desc { color: #aaa; }
html.skin-theme-clientpref-night .card-avatar {
background: #2a2a2a;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
html.skin-theme-clientpref-night .avatar-text { color: #999; }
html.skin-theme-clientpref-night .group-id-badge {
background: rgba(64, 156, 255, 0.15);
color: #80c2ff;
border-color: rgba(64, 156, 255, 0.3);
}
html.skin-theme-clientpref-night .card-action .mw-ui-button {
background-color: #0d6efd;
border-color: #0d6efd;
}
html.skin-theme-clientpref-night .card-action .mw-ui-button:hover {
background-color: #0b5ed7;
box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
}
html.skin-theme-clientpref-night .hub-info-card {
background: rgba(0, 0, 0, 0.25);
border-color: #444;
}
html.skin-theme-clientpref-night .hub-info-card ul li,
html.skin-theme-clientpref-night .hub-info-card dd { color: #bbb; }
html.skin-theme-clientpref-night .hub-info-card dt { color: #eee; }
html.skin-theme-clientpref-night .link-card.disabled-card {
background: rgba(255,255,255,0.05);
border-color: #555;
}