User:弃权者/Template:少女前线信息/styles.css:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的37个中间版本) | |||
| 第4行: | 第4行: | ||
clear: both; | clear: both; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
min-width: 750px; | |||
} | } | ||
| 第15行: | 第16行: | ||
position: relative; | position: relative; | ||
width: 100%; | width: 100%; | ||
height: | height: 560px; | ||
overflow: | overflow: visible; | ||
border-radius: 8px; | border-radius: 8px; | ||
clip-path: inset(0 round 8px); | |||
background-image: url('/wiki/Special:FilePath/图鉴背景.jpg'); | background-image: url('/wiki/Special:FilePath/图鉴背景.jpg'); | ||
background-size: cover; | background-size: cover; | ||
| 第30行: | 第32行: | ||
align-items: flex-end; | align-items: flex-end; | ||
justify-content: center; | justify-content: center; | ||
padding: 10px; | padding: 10px 10px 0 10%; | ||
position: relative; | position: relative; | ||
} | |||
@media screen and (max-width: 600px) { | |||
.gf-image-container { | |||
align-items: center; | |||
padding: 10px; | |||
} | |||
.gf-main-img, | |||
.gf-main-img a, | |||
.gf-main-img img { | |||
max-width: 85% !important; | |||
} | |||
} | } | ||
| 第37行: | 第52行: | ||
.gf-main-img a, | .gf-main-img a, | ||
.gf-main-img img { | .gf-main-img img { | ||
max-width: | max-width: 85% !important; | ||
max-height: 100% !important; | max-height: 100% !important; | ||
width: auto !important; | width: auto !important; | ||
| 第66行: | 第81行: | ||
@media screen and (max-width: 600px) { | @media screen and (max-width: 600px) { | ||
.gf-bg-selector { | .gf-bg-selector { | ||
font-size: | font-size: 10px; | ||
height: | height: 20px; | ||
padding: 0 | padding: 0 4px; | ||
} | } | ||
.gf-view-original { | .gf-view-original { | ||
width: | width: 20px; | ||
height: | height: 20px; | ||
background-size: | background-size: 11px; | ||
} | } | ||
} | } | ||
| 第170行: | 第185行: | ||
opacity: 0; | opacity: 0; | ||
pointer-events: none; | pointer-events: none; | ||
} | |||
@media screen and (max-width: 600px) { | |||
.gf-switcher-list { | |||
display: none; | |||
} | |||
.gf-switcher-overlay.expanded .gf-switcher-list { | |||
display: flex; | |||
} | |||
} | } | ||
| 第273行: | 第297行: | ||
flex-direction: column; | flex-direction: column; | ||
gap: 4px; | gap: 4px; | ||
} | } | ||
.gf-cv-row { | .gf-cv-row { | ||
display: | display: flex; | ||
align-items: stretch; | align-items: stretch; | ||
position: relative; | |||
background: rgba(255,255,255,0.12); | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| 第293行: | 第317行: | ||
letter-spacing: 0.08em; | letter-spacing: 0.08em; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
position: relative; | |||
z-index: 1; | |||
} | } | ||
.gf-cv-value { | .gf-cv-value { | ||
background: | background: transparent; | ||
color: #fff; | color: #fff; | ||
font-size: 11px; | font-size: 11px; | ||
| 第304行: | 第330行: | ||
text-overflow: ellipsis; | text-overflow: ellipsis; | ||
text-shadow: 0 1px 3px rgba(0,0,0,0.8); | text-shadow: 0 1px 3px rgba(0,0,0,0.8); | ||
max-width: | flex: 1; | ||
max-width: none; | |||
} | } | ||
| 第330行: | 第357行: | ||
.gf-name { | .gf-name { | ||
font-size: | font-size: 36px; | ||
font-weight: | font-weight: bolder; | ||
color: #fff; | color: #fff; | ||
text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5); | text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5); | ||
| 第343行: | 第370行: | ||
font-size: 32px; | font-size: 32px; | ||
font-weight: 900; | font-weight: 900; | ||
color: rgba(255,255,255,0. | color: rgba(255,255,255,0.27); | ||
line-height: 1; | line-height: 1; | ||
position: relative; | position: relative; | ||
| 第369行: | 第395行: | ||
.gf-affil-row { | .gf-affil-row { | ||
background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.15) 60%, transparent 100%); | |||
border: none; | border: none; | ||
border-left: 2px solid rgba(255,255,255,0.25); | border-left: 2px solid rgba(255,255,255,0.25); | ||
color: #fff; | color: #fff; | ||
font-size: | font-size: 11px; | ||
padding: 3px 40px 3px 10px; | padding: 3px 40px 3px 10px; | ||
white-space: nowrap; | white-space: nowrap; | ||
| 第398行: | 第424行: | ||
padding: 6px 10px; | padding: 6px 10px; | ||
font-weight: bold; | font-weight: bold; | ||
width: 1px; | width: 1px; | ||
white-space: nowrap; | white-space: nowrap; | ||
| 第404行: | 第429行: | ||
border-right: 1px solid var(--border-color-subtle); | border-right: 1px solid var(--border-color-subtle); | ||
color: var(--color-base); | color: var(--color-base); | ||
} | } | ||
| 第414行: | 第438行: | ||
} | } | ||
.gf-marquee { | .gf-marquee { | ||
| 第443行: | 第463行: | ||
@media screen and (max-width: 600px) { | @media screen and (max-width: 600px) { | ||
.gf-infobox-new{ | |||
min-width: unset; | |||
} | |||
.gf-left-panel { | .gf-left-panel { | ||
height: | height: 120vw; | ||
min-height: | min-height: 480px; | ||
} | } | ||
| 第451行: | 第475行: | ||
.gf-main-img a, | .gf-main-img a, | ||
.gf-main-img img { | .gf-main-img img { | ||
max-width: | max-width: 100% !important; | ||
} | } | ||
.gf-switcher-overlay { | .gf-switcher-overlay { | ||
width: 90px; | width: 90px; | ||
} | |||
.gf-group-btn { | |||
padding: 6px 8px; | |||
font-size: 12px; | |||
} | |||
.gf-switch-btn { | |||
padding: 4px 8px; | |||
font-size: 11px; | |||
} | } | ||
.gf-name { | .gf-name { | ||
font-size: | font-size: 20px; | ||
} | } | ||
.gf-profile-watermark { | .gf-profile-watermark { | ||
font-size: | font-size: 20px; | ||
} | |||
.gf-info-overlay { | |||
padding: 32px 10px 8px 10px; | |||
} | |||
.gf-bottom-info { | |||
display: grid; | |||
grid-template-columns: auto auto auto 1fr; | |||
grid-template-rows: 1fr 1fr auto; | |||
align-items: stretch; | |||
gap: 2px 8px; | |||
width: 100%; | |||
} | |||
.gf-type-icon { | |||
grid-column: 1; | |||
grid-row: 1 / 3; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.gf-cv-block { | |||
grid-column: 2; | |||
grid-row: 1 / 3; | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: center; | |||
margin-bottom: 0; | |||
margin-left: 0; | |||
gap: 0; | |||
} | |||
.gf-affiliation { | |||
grid-column: 3; | |||
grid-row: 1 / 3; | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: center; | |||
margin-left: 0; | |||
max-width: none; | |||
} | |||
.gf-affil-row { | |||
max-width: none; | |||
overflow: hidden; | |||
text-overflow: ellipsis; | |||
padding-right: 8px; | |||
} | |||
.gf-controls { | |||
grid-column: 1 / 5; | |||
grid-row: 3; | |||
justify-content: center; | |||
position: static; | |||
width: 100%; | |||
padding-top: 6px; | |||
} | } | ||
.gf- | .gf-stars { | ||
margin-bottom: 0; | |||
} | } | ||
.gf- | .gf-profile-wrap { | ||
margin-bottom: 6px; | |||
} | } | ||
} | } | ||
2026年5月20日 (三) 00:27的最新版本
.gf-infobox-new {
width: 100%;
margin-top: 1em;
clear: both;
box-sizing: border-box;
min-width: 750px;
}
.gf-infobox-new *,
.gf-infobox-new *::before,
.gf-infobox-new *::after {
box-sizing: border-box;
}
.gf-left-panel {
position: relative;
width: 100%;
height: 560px;
overflow: visible;
border-radius: 8px;
clip-path: inset(0 round 8px);
background-image: url('/wiki/Special:FilePath/图鉴背景.jpg');
background-size: cover;
background-position: center bottom;
background-repeat: no-repeat;
}
.gf-image-container {
width: 100%;
height: 100%;
display: flex;
align-items: flex-end;
justify-content: center;
padding: 10px 10px 0 10%;
position: relative;
}
@media screen and (max-width: 600px) {
.gf-image-container {
align-items: center;
padding: 10px;
}
.gf-main-img,
.gf-main-img a,
.gf-main-img img {
max-width: 85% !important;
}
}
.gf-main-img,
.gf-main-img a,
.gf-main-img img {
max-width: 85% !important;
max-height: 100% !important;
width: auto !important;
height: auto !important;
object-fit: contain;
display: block;
}
.gf-image-container img {
transition: opacity 0.3s ease;
}
.gf-image-container.loading img {
filter: grayscale(1) opacity(0.5);
}
.gf-controls {
position: absolute;
right: 12px;
bottom: 12px;
display: flex;
flex-direction: row;
gap: 8px;
z-index: 25;
transition: opacity 0.2s;
}
@media screen and (max-width: 600px) {
.gf-bg-selector {
font-size: 10px;
height: 20px;
padding: 0 4px;
}
.gf-view-original {
width: 20px;
height: 20px;
background-size: 11px;
}
}
.gf-view-original {
width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
background-color: rgba(0,0,0,0.5);
border: 1px solid rgba(255,255,255,0.3);
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
background-size: 16px;
transition: transform 0.2s, background-color 0.2s;
}
.gf-view-original:hover {
background-color: rgba(0,0,0,0.8);
transform: scale(1.1);
}
.gf-bg-selector {
height: 32px;
z-index: 25;
padding: 0 8px;
font-size: 12px;
border-radius: 4px;
background-color: rgba(0,0,0,0.5);
border: 1px solid rgba(255,255,255,0.3);
color: #fff;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
cursor: pointer;
}
.gf-bg-selector:focus {
outline: none;
}
.gf-switcher-overlay {
position: absolute;
right: 10px;
top: 10px;
z-index: 20;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 6px;
max-height: calc(100% - 60px);
width: 120px;
transition: opacity 0.2s;
}
.gf-switcher-toggle {
width: 32px;
height: 32px;
background: rgba(0,0,0,0.6);
border: 1px solid rgba(255,255,255,0.3);
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
flex-shrink: 0;
align-self: flex-end;
}
.gf-switcher-toggle:hover {
background: rgba(0,0,0,0.85);
}
.gf-switcher-toggle::before {
content: "≡";
font-weight: bold;
}
.gf-switcher-list {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 3px;
overflow-y: auto;
touch-action: pan-y;
transition: opacity 0.2s;
padding-bottom: 4px;
max-height: calc(100% - 40px);
}
.gf-switcher-overlay.collapsed .gf-switcher-list {
opacity: 0;
pointer-events: none;
}
@media screen and (max-width: 600px) {
.gf-switcher-list {
display: none;
}
.gf-switcher-overlay.expanded .gf-switcher-list {
display: flex;
}
}
.gf-group-btn {
background: rgba(0,0,0,0.75) !important;
border: 1px solid rgba(255,255,255,0.6) !important;
color: #fff !important;
border-radius: 4px;
padding: 5px 10px;
cursor: pointer;
font-size: 13px;
font-weight: bold;
transition: background-color 0.2s, border-color 0.2s;
backdrop-filter: blur(4px);
box-shadow: 0 2px 4px rgba(0,0,0,0.25);
user-select: none;
text-align: left;
width: 100%;
}
.gf-group-btn:hover {
background: rgba(50,50,50,0.85) !important;
border-color: #fff !important;
}
.gf-group-btn.active {
border-color: #ff8c00 !important;
box-shadow: 0 0 5px rgba(255,140,0,0.5), 0 2px 4px rgba(0,0,0,0.25);
}
.gf-variant-list {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 2px;
padding-left: 8px;
}
.gf-variant-list.collapsed {
display: none;
}
.gf-switch-btn {
background: rgba(0,0,0,0.65) !important;
border: 1px solid rgba(255,255,255,0.5) !important;
color: #ddd !important;
border-radius: 3px;
padding: 3px 8px;
cursor: pointer;
font-size: 12px;
transition: background-color 0.2s, border-color 0.2s, color 0.2s;
backdrop-filter: blur(4px);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
user-select: none;
text-align: left;
width: 100%;
}
.gf-switch-btn::before {
content: "· ";
opacity: 0.6;
}
.gf-switch-btn:hover {
background: rgba(40,40,40,0.8) !important;
border-color: #fff !important;
color: #fff !important;
}
.gf-switch-btn.active {
background: rgba(20,20,20,0.8) !important;
border-color: #ff8c00 !important;
border-width: 1px !important;
color: #fff !important;
font-weight: normal !important;
box-shadow: 0 0 4px rgba(255,140,0,0.4), 0 1px 3px rgba(0,0,0,0.2);
}
.gf-switch-btn.active::before {
content: "▶ ";
opacity: 1;
color: #ff8c00;
}
.gf-info-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 15;
padding: 48px 16px 14px 16px;
background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.82) 100%);
pointer-events: none;
transition: opacity 0.2s;
}
.gf-info-overlay > * {
pointer-events: auto;
}
.gf-cv-block {
display: flex;
flex-direction: column;
gap: 4px;
}
.gf-cv-row {
display: flex;
align-items: stretch;
position: relative;
background: rgba(255,255,255,0.12);
overflow: hidden;
}
.gf-cv-label {
background: rgba(60,60,60,0.9);
color: #fff;
font-size: 11px;
font-weight: bold;
padding: 3px 20px 3px 10px;
clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
white-space: nowrap;
letter-spacing: 0.08em;
flex-shrink: 0;
position: relative;
z-index: 1;
}
.gf-cv-value {
background: transparent;
color: #fff;
font-size: 11px;
padding: 3px 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-shadow: 0 1px 3px rgba(0,0,0,0.8);
flex: 1;
max-width: none;
}
.gf-stars {
margin-bottom: 2px;
filter: drop-shadow(0 1px 3px rgba(0,0,0,0.8));
}
.gf-subname {
font-size: 12px;
color: rgba(255,255,255,0.7);
text-shadow: 0 1px 4px rgba(0,0,0,0.9);
letter-spacing: 0.08em;
margin-bottom: 2px;
}
.gf-profile-wrap {
position: relative;
display: flex;
align-items: baseline;
gap: 12px;
margin-bottom: 10px;
overflow: hidden;
}
.gf-name {
font-size: 36px;
font-weight: bolder;
color: #fff;
text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5);
line-height: 1.1;
letter-spacing: 0.05em;
position: relative;
z-index: 2;
}
.gf-profile-watermark {
font-size: 32px;
font-weight: 900;
color: rgba(255,255,255,0.27);
line-height: 1;
position: relative;
z-index: 1;
user-select: none;
pointer-events: none;
}
.gf-bottom-info {
display: flex;
align-items: center;
gap: 10px;
}
.gf-type-icon {
flex-shrink: 0;
}
.gf-affiliation {
display: flex;
flex-direction: column;
gap: 4px;
}
.gf-affil-row {
background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.15) 60%, transparent 100%);
border: none;
border-left: 2px solid rgba(255,255,255,0.25);
color: #fff;
font-size: 11px;
padding: 3px 40px 3px 10px;
white-space: nowrap;
text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.gf-main-info-section {
margin-top: 8px;
border: 1px solid var(--border-color-subtle);
border-radius: 8px;
overflow: hidden;
background: var(--color-surface-0);
}
.gf-info-table,
.gf-bottom-table {
width: 100%;
border-collapse: collapse;
margin: 0 !important;
}
.gf-label {
background: var(--color-surface-2);
padding: 6px 10px;
font-weight: bold;
width: 1px;
white-space: nowrap;
border-bottom: 1px solid var(--border-color-subtle);
border-right: 1px solid var(--border-color-subtle);
color: var(--color-base);
}
.gf-info-table td,
.gf-bottom-table td {
padding: 6px 12px;
border-bottom: 1px solid var(--border-color-subtle);
color: var(--color-base);
}
.gf-marquee {
display: inline-block;
white-space: nowrap;
animation: gf-marquee 8s linear infinite;
}
.gf-marquee:hover {
animation-play-state: paused;
}
@keyframes gf-marquee {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.gf-bottom-section {
margin-top: 8px;
border: 1px solid var(--border-color-subtle);
border-radius: 8px;
overflow: hidden;
background: var(--color-surface-0);
}
@media screen and (max-width: 600px) {
.gf-infobox-new{
min-width: unset;
}
.gf-left-panel {
height: 120vw;
min-height: 480px;
}
.gf-main-img,
.gf-main-img a,
.gf-main-img img {
max-width: 100% !important;
}
.gf-switcher-overlay {
width: 90px;
}
.gf-group-btn {
padding: 6px 8px;
font-size: 12px;
}
.gf-switch-btn {
padding: 4px 8px;
font-size: 11px;
}
.gf-name {
font-size: 20px;
}
.gf-profile-watermark {
font-size: 20px;
}
.gf-info-overlay {
padding: 32px 10px 8px 10px;
}
.gf-bottom-info {
display: grid;
grid-template-columns: auto auto auto 1fr;
grid-template-rows: 1fr 1fr auto;
align-items: stretch;
gap: 2px 8px;
width: 100%;
}
.gf-type-icon {
grid-column: 1;
grid-row: 1 / 3;
display: flex;
align-items: center;
justify-content: center;
}
.gf-cv-block {
grid-column: 2;
grid-row: 1 / 3;
display: flex;
flex-direction: column;
justify-content: center;
margin-bottom: 0;
margin-left: 0;
gap: 0;
}
.gf-affiliation {
grid-column: 3;
grid-row: 1 / 3;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 0;
max-width: none;
}
.gf-affil-row {
max-width: none;
overflow: hidden;
text-overflow: ellipsis;
padding-right: 8px;
}
.gf-controls {
grid-column: 1 / 5;
grid-row: 3;
justify-content: center;
position: static;
width: 100%;
padding-top: 6px;
}
.gf-stars {
margin-bottom: 0;
}
.gf-profile-wrap {
margin-bottom: 6px;
}
}