模板:用户页快捷模板/styles.css:修订间差异
来自CalcWiki
更多操作
创建页面,内容为“→用户页快捷模板样式 - 深色模式兼容: .user-quick-card { margin: 1em auto; max-width: 800px; border: 1px solid #a2a9b1; background: #f8f9fa; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: sans-serif; } .user-quick-card-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 1.2em 1.5em; background: linear-gradient(145deg…” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
.user-quick-card { | .user-quick-card { | ||
margin: 1em auto; | margin: 1em auto; | ||
| 第15行: | 第14行: | ||
align-items: center; | align-items: center; | ||
justify-content: space-between; | justify-content: space-between; | ||
padding: 1.2em 1. | padding: 1.2em 1.8em; | ||
background: | background: #ffffff; | ||
border-bottom: 1px solid #c8ccd1; | border-bottom: 1px solid #c8ccd1; | ||
border-radius: 8px 8px 0 0; | border-radius: 8px 8px 0 0; | ||
| 第30行: | 第29行: | ||
margin-left: 12px; | margin-left: 12px; | ||
background: #eaecf0; | background: #eaecf0; | ||
padding: 4px | padding: 4px 12px; | ||
border-radius: 20px; | border-radius: 20px; | ||
font-size: 0.85em; | font-size: 0.85em; | ||
color: #54595d; | color: #54595d; | ||
} | |||
.user-quick-button-group { | |||
display: flex; | |||
gap: 8px; | |||
} | } | ||
| 第39行: | 第43行: | ||
padding: 5px 14px; | padding: 5px 14px; | ||
border-radius: 20px; | border-radius: 20px; | ||
background: #f8f9fa; | |||
color: #202122; | |||
text-decoration: none; | |||
display: inline-block; | display: inline-block; | ||
border: none; | |||
} | } | ||
.user-quick-button- | .user-quick-button-talk { | ||
background: #eaf3ff; | background: #eaf3ff; | ||
} | } | ||
.user-quick-button- | .user-quick-button-email { | ||
background: # | background: #fde7e6; | ||
} | |||
.user-quick-contact { | |||
background: #f0f4c0; | |||
} | |||
.user-quick-content { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 24px; | |||
padding: 1.8em; | |||
} | } | ||
.user-quick- | .user-quick-left { | ||
background: # | flex: 2 1 280px; | ||
border- | background: #ffffff; | ||
border-radius: 8px; | |||
padding: 1.2em 1.5em; | |||
} | } | ||
.user-quick- | .user-quick-right { | ||
flex: 1.2 1 240px; | |||
background: #ffffff; | |||
border-radius: 8px; | border-radius: 8px; | ||
padding: 1.2em; | padding: 1.2em 1.5em; | ||
} | } | ||
| 第68行: | 第86行: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 8px; | ||
margin-bottom: | margin-bottom: 1em; | ||
border-bottom: 2px solid # | border-bottom: 2px solid #3366cc; | ||
padding-bottom: 8px; | padding-bottom: 8px; | ||
font-weight: 600; | font-weight: 600; | ||
| 第77行: | 第95行: | ||
} | } | ||
.user-quick- | .user-quick-item { | ||
display: flex; | |||
margin-bottom: 12px; | |||
padding: 4px 0; | |||
line-height: 1.5; | |||
} | } | ||
.user-quick-label { | .user-quick-label { | ||
min-width: 85px; | min-width: 85px; | ||
color: # | color: #3366cc; | ||
font-weight: 500; | font-weight: 500; | ||
} | } | ||
.user-quick-about { | .user-quick-about { | ||
margin: 0; | margin: 0; | ||
line-height: 1. | line-height: 1.6; | ||
color: #2c3e50; | color: #2c3e50; | ||
} | } | ||
.user-quick-footer { | .user-quick-footer { | ||
background: #f0f4fc; | background: #f0f4fc; | ||
padding: 0. | padding: 0.8em 1.8em; | ||
border-top: 1px solid #c8ccd1; | border-top: 1px solid #c8ccd1; | ||
border-radius: 0 0 8px 8px; | border-radius: 0 0 8px 8px; | ||
| 第135行: | 第125行: | ||
.user-quick-footer-left { | .user-quick-footer-left { | ||
color: # | color: #3366cc; | ||
font-weight: 500; | |||
} | } | ||
.user-quick-footer-right { | .user-quick-footer-right { | ||
color: #54595d; | color: #54595d; | ||
font-size: 0. | font-size: 0.85em; | ||
} | } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
.user-quick-card { | .user-quick-card { | ||
border-color: #404244; | border-color: #404244; | ||
background: # | background: #1a1c1e; | ||
box-shadow: 0 2px 8px rgba(0,0,0,0. | box-shadow: 0 2px 8px rgba(0,0,0,0.5); | ||
} | } | ||
.user-quick-card-header { | .user-quick-card-header { | ||
background: | background: #1e1f21; | ||
border-bottom-color: #404244; | border-bottom-color: #404244; | ||
} | } | ||
.user-quick-card-title { | .user-quick-card-title { | ||
color: # | color: #eaeef2; | ||
} | } | ||
.user-quick-timezone { | .user-quick-timezone { | ||
background: #2c2e30; | |||
color: #d1d5d9; | |||
} | |||
.user-quick-button { | |||
background: #2a2c2e; | background: #2a2c2e; | ||
color: # | color: #eaeef2; | ||
border: none; | |||
} | } | ||
.user-quick-button-talk { | .user-quick-button-talk { | ||
background: # | background: #1e2a3a; | ||
color: #b9d0f0; | |||
} | } | ||
.user-quick-button-email { | .user-quick-button-email { | ||
background: # | background: #3a2424; | ||
color: #f0c0c0; | |||
} | } | ||
.user-quick- | .user-quick-contact { | ||
background: # | background: #3a3a1e; | ||
color: #f0f0b0; | |||
} | |||
.user-quick-left, | |||
.user-quick-right { | |||
background: #1e1f21; | |||
} | } | ||
.user-quick-section-title { | .user-quick-section-title { | ||
color: # | color: #c8d9ff; | ||
border-bottom-color: # | border-bottom-color: #88aaff; | ||
} | } | ||
.user-quick-label { | .user-quick-label { | ||
color: # | color: #99bbff; | ||
} | } | ||
.user-quick-about { | .user-quick-about { | ||
color: # | color: #d4d8dc; | ||
} | } | ||
.user-quick-footer { | .user-quick-footer { | ||
background: # | background: #1a1c1e; | ||
border-top-color: #404244; | border-top-color: #404244; | ||
} | } | ||
.user-quick-footer-left { | .user-quick-footer-left { | ||
color: # | color: #99bbff; | ||
} | } | ||
.user-quick-footer-right { | .user-quick-footer-right { | ||
color: # | color: #b0b4b8; | ||
} | |||
.user-quick-item, | |||
.user-quick-section-title, | |||
.user-quick-footer, | |||
.user-quick-card-header { | |||
border-style: solid; | |||
border-color: #404244; | |||
} | } | ||
} | } | ||
@media (max-width: 640px) { | |||
@media (max-width: | |||
.user-quick-card-header { | .user-quick-card-header { | ||
flex-direction: column; | flex-direction: column; | ||
align-items: flex-start; | align-items: flex-start; | ||
gap: | gap: 12px; | ||
} | } | ||
.user-quick- | .user-quick-button-group { | ||
width: 100%; | |||
flex-wrap: wrap; | |||
} | } | ||
.user-quick-item { | .user-quick-item { | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.user-quick-label { | .user-quick-label { | ||
margin-bottom: 4px; | margin-bottom: 4px; | ||
} | |||
.user-quick-content { | |||
padding: 1.2em; | |||
} | } | ||
} | } | ||
2026年2月12日 (四) 00:56的版本
.user-quick-card {
margin: 1em auto;
max-width: 800px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
font-family: sans-serif;
}
.user-quick-card-header {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding: 1.2em 1.8em;
background: #ffffff;
border-bottom: 1px solid #c8ccd1;
border-radius: 8px 8px 0 0;
}
.user-quick-card-title {
font-size: 1.8em;
font-weight: 600;
color: #202122;
}
.user-quick-timezone {
margin-left: 12px;
background: #eaecf0;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.85em;
color: #54595d;
}
.user-quick-button-group {
display: flex;
gap: 8px;
}
.user-quick-button {
padding: 5px 14px;
border-radius: 20px;
background: #f8f9fa;
color: #202122;
text-decoration: none;
display: inline-block;
border: none;
}
.user-quick-button-talk {
background: #eaf3ff;
}
.user-quick-button-email {
background: #fde7e6;
}
.user-quick-contact {
background: #f0f4c0;
}
.user-quick-content {
display: flex;
flex-wrap: wrap;
gap: 24px;
padding: 1.8em;
}
.user-quick-left {
flex: 2 1 280px;
background: #ffffff;
border-radius: 8px;
padding: 1.2em 1.5em;
}
.user-quick-right {
flex: 1.2 1 240px;
background: #ffffff;
border-radius: 8px;
padding: 1.2em 1.5em;
}
.user-quick-section-title {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 1em;
border-bottom: 2px solid #3366cc;
padding-bottom: 8px;
font-weight: 600;
color: #1d2c4a;
font-size: 1.1em;
}
.user-quick-item {
display: flex;
margin-bottom: 12px;
padding: 4px 0;
line-height: 1.5;
}
.user-quick-label {
min-width: 85px;
color: #3366cc;
font-weight: 500;
}
.user-quick-about {
margin: 0;
line-height: 1.6;
color: #2c3e50;
}
.user-quick-footer {
background: #f0f4fc;
padding: 0.8em 1.8em;
border-top: 1px solid #c8ccd1;
border-radius: 0 0 8px 8px;
display: flex;
justify-content: space-between;
align-items: center;
}
.user-quick-footer-left {
color: #3366cc;
font-weight: 500;
}
.user-quick-footer-right {
color: #54595d;
font-size: 0.85em;
}
@media (prefers-color-scheme: dark) {
.user-quick-card {
border-color: #404244;
background: #1a1c1e;
box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.user-quick-card-header {
background: #1e1f21;
border-bottom-color: #404244;
}
.user-quick-card-title {
color: #eaeef2;
}
.user-quick-timezone {
background: #2c2e30;
color: #d1d5d9;
}
.user-quick-button {
background: #2a2c2e;
color: #eaeef2;
border: none;
}
.user-quick-button-talk {
background: #1e2a3a;
color: #b9d0f0;
}
.user-quick-button-email {
background: #3a2424;
color: #f0c0c0;
}
.user-quick-contact {
background: #3a3a1e;
color: #f0f0b0;
}
.user-quick-left,
.user-quick-right {
background: #1e1f21;
}
.user-quick-section-title {
color: #c8d9ff;
border-bottom-color: #88aaff;
}
.user-quick-label {
color: #99bbff;
}
.user-quick-about {
color: #d4d8dc;
}
.user-quick-footer {
background: #1a1c1e;
border-top-color: #404244;
}
.user-quick-footer-left {
color: #99bbff;
}
.user-quick-footer-right {
color: #b0b4b8;
}
.user-quick-item,
.user-quick-section-title,
.user-quick-footer,
.user-quick-card-header {
border-style: solid;
border-color: #404244;
}
}
@media (max-width: 640px) {
.user-quick-card-header {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.user-quick-button-group {
width: 100%;
flex-wrap: wrap;
}
.user-quick-item {
flex-direction: column;
}
.user-quick-label {
margin-bottom: 4px;
}
.user-quick-content {
padding: 1.2em;
}
}