Styling
This commit is contained in:
113
history.css
113
history.css
@@ -1,12 +1,12 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
background: #0e1117;
|
||||
color: #e6edf7;
|
||||
font-family: Inter, "Segoe UI", Arial, sans-serif;
|
||||
background: #070909;
|
||||
color: #e7f0e9;
|
||||
}
|
||||
|
||||
.history-page {
|
||||
max-width: 960px;
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 24px;
|
||||
}
|
||||
@@ -16,7 +16,7 @@ h1 {
|
||||
}
|
||||
|
||||
p {
|
||||
color: #aeb7cc;
|
||||
color: #8ea292;
|
||||
}
|
||||
|
||||
#historyList {
|
||||
@@ -25,43 +25,98 @@ p {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.history-item {
|
||||
border: 1px solid #2a2f40;
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
background: #151a26;
|
||||
border: 1px solid #1d2620;
|
||||
border-radius: 12px;
|
||||
padding: 10px;
|
||||
background: #0d1210;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.01);
|
||||
}
|
||||
|
||||
.history-head {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.history-info {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.history-cover-image {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 6px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 7px;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
border: 1px solid #243027;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.history-url {
|
||||
margin: 0 0 8px;
|
||||
word-break: break-all;
|
||||
color: #d2d9ea;
|
||||
.history-title {
|
||||
margin: 0;
|
||||
color: #eff8f1;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
word-break: break-word;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.history-meta {
|
||||
margin: 0 0 10px;
|
||||
color: #98a5c0;
|
||||
font-size: 12px;
|
||||
.history-subtitle {
|
||||
margin: 3px 0 0;
|
||||
color: #94a89a;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
button {
|
||||
border: 1px solid #2f66ff;
|
||||
background: #2f66ff;
|
||||
color: #fff;
|
||||
border-radius: 6px;
|
||||
.history-badges {
|
||||
margin-top: 8px;
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
border: 1px solid #2d4f35;
|
||||
background: #142219;
|
||||
color: #bde6c6;
|
||||
border-radius: 999px;
|
||||
padding: 2px 8px;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.history-tags {
|
||||
margin: 4px 0 0;
|
||||
color: #b3c9b8;
|
||||
font-size: 11px;
|
||||
line-height: 1.3;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.download-icon-btn {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: 1px solid #2f9e5a;
|
||||
background: #1b7f45;
|
||||
color: #f1fff4;
|
||||
border-radius: 10px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
padding: 6px 10px;
|
||||
flex-shrink: 0;
|
||||
transition: background 120ms ease, transform 120ms ease;
|
||||
}
|
||||
|
||||
.download-icon-btn:hover {
|
||||
background: #249452;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.download-icon-btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user