feat: 初始提交(仅核心代码,已排除大文件)
This commit is contained in:
@@ -0,0 +1,843 @@
|
||||
:root {
|
||||
--sc-bg: #0f172a;
|
||||
--sc-text: #e5e7eb;
|
||||
--sc-card: #111827;
|
||||
--sc-card-border: #1f2937;
|
||||
--sc-field-bg: #0b1220;
|
||||
--sc-field-border: #374151;
|
||||
--sc-subtitle: #9ca3af;
|
||||
--sc-primary: #1d4ed8;
|
||||
--sc-ghost: #374151;
|
||||
--sc-info: #93c5fd;
|
||||
--sc-mask: rgba(2, 6, 23, 0.72);
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background: var(--sc-bg);
|
||||
color: var(--sc-text);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
|
||||
}
|
||||
|
||||
body[data-profile='mature_fashion40'] {
|
||||
--sc-bg: #1a1229;
|
||||
--sc-text: #f7f3ff;
|
||||
--sc-card: #221739;
|
||||
--sc-card-border: #3a285f;
|
||||
--sc-field-bg: #2b1d46;
|
||||
--sc-field-border: #594080;
|
||||
--sc-subtitle: #ccb8f2;
|
||||
--sc-primary: #a855f7;
|
||||
--sc-ghost: #4b3a71;
|
||||
--sc-info: #f9a8d4;
|
||||
--sc-mask: rgba(19, 8, 36, 0.76);
|
||||
}
|
||||
|
||||
body.full-width-mode .sc-page {
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
body.full-width-mode .sc-card {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body.full-width-mode #waveSection,
|
||||
body.full-width-mode #koreanSection {
|
||||
padding: 24px 40px;
|
||||
}
|
||||
|
||||
body.full-width-mode #zhihuSection {
|
||||
min-height: 100vh;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
body.full-width-mode .zhihu-content-area {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
body.full-width-mode .ztext,
|
||||
body.full-width-mode .zhihu-placeholder {
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
body.full-width-mode .x-layout {
|
||||
height: 100vh;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
body.full-width-mode .zhihu-toc:hover {
|
||||
height: calc(100vh - 40px);
|
||||
}
|
||||
|
||||
.sc-page {
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
body.full-width-mode .sc-card {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body.full-width-mode #zhihuSection {
|
||||
min-height: 100vh;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
body.full-width-mode .zhihu-content-area {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
body.full-width-mode .x-layout {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.sc-page {
|
||||
max-width: 1280px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.sc-card {
|
||||
background: var(--sc-card);
|
||||
border: 1px solid var(--sc-card-border);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
.sc-subtitle {
|
||||
margin: 0 0 12px;
|
||||
color: var(--sc-subtitle);
|
||||
}
|
||||
|
||||
.sc-inline {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.sc-inline label {
|
||||
color: var(--sc-subtitle);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
input, select, button {
|
||||
height: 34px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--sc-field-border);
|
||||
background: var(--sc-field-bg);
|
||||
color: var(--sc-text);
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
button {
|
||||
background: var(--sc-primary);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button.ghost {
|
||||
background: var(--sc-ghost);
|
||||
}
|
||||
|
||||
.sc-result {
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
background: var(--sc-field-bg);
|
||||
border: 1px solid var(--sc-card-border);
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.sc-table-wrap {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.sc-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
min-width: 1100px;
|
||||
}
|
||||
|
||||
.sc-table th, .sc-table td {
|
||||
border-bottom: 1px solid var(--sc-card-border);
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.sc-form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 90px 1fr 90px 1fr;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.sc-msg {
|
||||
min-height: 20px;
|
||||
color: var(--sc-info);
|
||||
}
|
||||
|
||||
.sc-rule-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.sc-rule-item {
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--sc-card-border);
|
||||
border-radius: 8px;
|
||||
background: var(--sc-field-bg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.row-actions {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.row-actions button {
|
||||
height: 28px;
|
||||
font-size: 12px;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.sc-ai-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 320px 1fr;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.sc-ai-preview {
|
||||
width: 100%;
|
||||
min-height: 220px;
|
||||
object-fit: cover;
|
||||
border: 1px solid var(--sc-card-border);
|
||||
border-radius: 10px;
|
||||
background: var(--sc-field-bg);
|
||||
}
|
||||
|
||||
.sc-ai-right {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.sc-modal-mask {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: var(--sc-mask);
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 2000;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.sc-modal-mask.show {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sc-modal-panel {
|
||||
width: min(760px, 96vw);
|
||||
max-height: 88vh;
|
||||
overflow: auto;
|
||||
background: var(--sc-field-bg);
|
||||
border: 1px solid var(--sc-card-border);
|
||||
border-radius: 12px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.sc-modal-title {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.sc-modal-message {
|
||||
border: 1px solid var(--sc-card-border);
|
||||
border-radius: 8px;
|
||||
background: var(--sc-card);
|
||||
padding: 10px;
|
||||
min-height: 64px;
|
||||
white-space: pre-wrap;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.sc-modal-actions {
|
||||
margin-top: 12px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.sc-modal-actions button.secondary {
|
||||
background: var(--sc-ghost);
|
||||
}
|
||||
|
||||
.sc-modal-actions button.danger {
|
||||
background: #dc2626;
|
||||
}
|
||||
|
||||
.sc-profile-card {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.sc-profile-tabs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.sc-tab-btn {
|
||||
height: 32px;
|
||||
border-radius: 999px;
|
||||
padding: 0 14px;
|
||||
border: 1px solid var(--sc-field-border);
|
||||
background: var(--sc-field-bg);
|
||||
color: var(--sc-text);
|
||||
}
|
||||
|
||||
.sc-tab-btn.active {
|
||||
background: var(--sc-primary);
|
||||
color: #ffffff;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
/* WAVE */
|
||||
.wave-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
||||
gap: 16px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.wave-card {
|
||||
background: rgba(30, 41, 59, 0.6);
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
border: 1px solid rgba(148, 163, 184, 0.2);
|
||||
}
|
||||
.wave-card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
.wave-card img {
|
||||
width: 100%;
|
||||
height: 360px;
|
||||
display: block;
|
||||
object-fit: cover;
|
||||
}
|
||||
.wave-card-text {
|
||||
padding: 12px;
|
||||
font-size: 13px;
|
||||
color: #cbd5e1;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.wave-lightbox {
|
||||
position: fixed;
|
||||
top: 0; left: 0; right: 0; bottom: 0;
|
||||
background: rgba(15, 23, 42, 0.95);
|
||||
z-index: 9999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
.wave-lb-close {
|
||||
position: absolute;
|
||||
top: 20px; right: 24px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #fff;
|
||||
font-size: 36px;
|
||||
cursor: pointer;
|
||||
z-index: 10000;
|
||||
}
|
||||
.wave-lb-nav {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border: none;
|
||||
color: #fff;
|
||||
font-size: 48px;
|
||||
padding: 10px 16px;
|
||||
cursor: pointer;
|
||||
border-radius: 8px;
|
||||
z-index: 10000;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.wave-lb-nav:hover { background: rgba(255, 255, 255, 0.3); }
|
||||
.wave-lb-nav.prev { left: 24px; }
|
||||
.wave-lb-nav.next { right: 24px; }
|
||||
|
||||
.wave-lb-content {
|
||||
display: flex;
|
||||
max-width: 1100px;
|
||||
width: 90%;
|
||||
height: 80vh;
|
||||
background: #1e293b;
|
||||
border-radius: 16px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
.wave-lb-img-wrap {
|
||||
flex: 1;
|
||||
background: #0f172a;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
}
|
||||
.wave-lb-img-wrap img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.wave-lb-info {
|
||||
width: 400px;
|
||||
padding: 32px 24px;
|
||||
overflow-y: auto;
|
||||
background: #1e293b;
|
||||
border-left: 1px solid rgba(148, 163, 184, 0.2);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.wave-lb-badge {
|
||||
display: inline-block;
|
||||
background: rgba(59, 130, 246, 0.2);
|
||||
color: #60a5fa;
|
||||
padding: 4px 10px;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
margin-bottom: 20px;
|
||||
align-self: flex-start;
|
||||
border: 1px solid rgba(59, 130, 246, 0.4);
|
||||
}
|
||||
.wave-lb-info h4 {
|
||||
margin: 0 0 12px 0;
|
||||
color: #e2e8f0;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.wave-lb-info p {
|
||||
margin: 0;
|
||||
color: #94a3b8;
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
/* Zhihu Styles */
|
||||
#zhihuSection {
|
||||
position: relative;
|
||||
min-height: calc(100vh - 120px);
|
||||
padding: 0;
|
||||
display: flex;
|
||||
background: #f6f6f6;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
color: #121212;
|
||||
}
|
||||
|
||||
.zhihu-toc {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
z-index: 999;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||||
overflow: hidden;
|
||||
transition: width 0.3s ease, height 0.3s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.zhihu-toc:hover {
|
||||
width: 260px;
|
||||
height: calc(100vh - 160px);
|
||||
}
|
||||
|
||||
.toc-header {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
line-height: 48px;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
color: #0084ff;
|
||||
cursor: default;
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.zhihu-toc:hover .toc-header {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
padding-left: 20px;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
}
|
||||
|
||||
.toc-body {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.3s ease;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.zhihu-toc:hover .toc-body {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.toc-group {
|
||||
padding: 8px 20px;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
color: #8590a6;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.toc-item {
|
||||
padding: 8px 20px 8px 32px;
|
||||
font-size: 14px;
|
||||
color: #444;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.toc-item:hover {
|
||||
background: #f6f6f6;
|
||||
color: #0084ff;
|
||||
}
|
||||
|
||||
.toc-item.active {
|
||||
background: #e6f3ff;
|
||||
color: #0084ff;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.toc-item.disabled {
|
||||
color: #ccc;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.zhihu-content-area {
|
||||
flex: 1;
|
||||
padding: 40px 60px 40px 100px;
|
||||
overflow-y: auto;
|
||||
height: calc(100vh - 120px);
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.zhihu-placeholder {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
color: #8590a6;
|
||||
}
|
||||
|
||||
/* Zhihu Rich Text Styles */
|
||||
.ztext {
|
||||
word-break: break-word;
|
||||
line-height: 1.6;
|
||||
font-size: 16px;
|
||||
color: #121212;
|
||||
font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;
|
||||
}
|
||||
|
||||
.ztext p {
|
||||
margin: 1.4em 0;
|
||||
}
|
||||
|
||||
.ztext h2, .ztext h3 {
|
||||
margin: 1.5em 0 0.8em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.ztext figure {
|
||||
margin: 1.4em 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ztext img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 4px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.ztext figcaption {
|
||||
margin-top: 8px;
|
||||
font-size: 14px;
|
||||
color: #8590a6;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ztext blockquote {
|
||||
margin: 1.4em 0;
|
||||
padding: 10px 20px;
|
||||
border-left: 4px solid #ebebeb;
|
||||
color: #646464;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.ztext a {
|
||||
color: #175199;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ztext a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.ztext hr {
|
||||
margin: 2em 0;
|
||||
border: 0;
|
||||
border-top: 1px solid #ebebeb;
|
||||
}
|
||||
|
||||
.ztext ul, .ztext ol {
|
||||
margin: 1.4em 0;
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
.ztext li {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
/* X (Twitter) Styles */
|
||||
.x-layout {
|
||||
display: flex;
|
||||
height: calc(100vh - 120px);
|
||||
background: #000;
|
||||
color: #e7e9ea;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.x-sidebar {
|
||||
width: 275px;
|
||||
border-right: 1px solid #2f3336;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.x-logo {
|
||||
padding: 12px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.x-logo:hover {
|
||||
background: rgba(231, 233, 234, 0.1);
|
||||
}
|
||||
|
||||
.x-nav {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.x-nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 12px;
|
||||
border-radius: 9999px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #e7e9ea;
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
width: fit-content;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.x-nav-item:hover {
|
||||
background: rgba(231, 233, 234, 0.1);
|
||||
}
|
||||
|
||||
.x-nav-item.active {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.x-nav-item .x-label {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.x-timeline {
|
||||
flex: 1;
|
||||
max-width: 100%;
|
||||
border-right: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.x-header {
|
||||
height: 53px;
|
||||
padding: 0 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #2f3336;
|
||||
background: rgba(0, 0, 0, 0.65);
|
||||
backdrop-filter: blur(12px);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.x-header h2 {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.x-feed {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.x-tweet {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #2f3336;
|
||||
display: flex;
|
||||
transition: background 0.2s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.x-tweet:hover {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.x-tweet-avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
background: #333639;
|
||||
margin-right: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.x-tweet-body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.x-tweet-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.x-tweet-name {
|
||||
font-weight: bold;
|
||||
color: #e7e9ea;
|
||||
}
|
||||
|
||||
.x-tweet-handle, .x-tweet-dot, .x-tweet-time {
|
||||
color: #71767b;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.x-tweet-text {
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
margin-bottom: 12px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.x-tweet-images {
|
||||
border-radius: 16px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #2f3336;
|
||||
margin-top: 12px;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
background: #16181c;
|
||||
}
|
||||
|
||||
.x-tweet-images.count-1 {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.x-tweet-images.count-2,
|
||||
.x-tweet-images.count-3,
|
||||
.x-tweet-images.count-4 {
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
.x-tweet-images.count-2 { grid-template-columns: 1fr 1fr; }
|
||||
.x-tweet-images.count-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
|
||||
.x-tweet-images.count-3 img:first-child { grid-row: 1 / 3; }
|
||||
.x-tweet-images.count-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
|
||||
|
||||
.x-tweet-images img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.x-tweet-images.count-1 img {
|
||||
height: auto;
|
||||
max-height: 80vh;
|
||||
}
|
||||
|
||||
.x-tweet-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
max-width: 425px;
|
||||
margin-top: 12px;
|
||||
color: #71767b;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.x-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 40px;
|
||||
color: #71767b;
|
||||
}
|
||||
Reference in New Issue
Block a user