华人医生数据库
Chinese Medical School Graduates Gathering in North American
123
.cdoc-tk {
--tk-row: 34px;
--tk-rows: 3;
--tk-dur: 40s;
max-width: 480px;
margin: 16px auto;
background: #fff;
border: 1px solid #EDF1F5;
border-radius: 10px;
padding: 12px 14px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}
.cdoc-tk__head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 10px;
margin-bottom: 8px;
}
.cdoc-tk__label {
font-size: 11.5px;
font-weight: 700;
letter-spacing: .06em;
color: #C7893E;
text-transform: uppercase;
white-space: nowrap;
}
.cdoc-tk__all {
font-size: 12px;
color: #6B7280;
text-decoration: none;
white-space: nowrap;
}
.cdoc-tk__all:hover { color: #C7893E; }
.cdoc-tk__win {
position: relative;
overflow: hidden;
}
.cdoc-tk__scroll {
animation: cdoc-tk-v var(--tk-dur) linear infinite;
will-change: transform;
}
.cdoc-tk__list {
list-style: none;
margin: 0;
padding: 0;
}
.cdoc-tk__list li {
height: var(--tk-row);
line-height: var(--tk-row);
margin: 0;
}
.cdoc-tk__list a {
display: block;
color: #122C4E;
text-decoration: none;
font-size: 14.5px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cdoc-tk__list a::before {
content: "";
display: inline-block;
width: 5px;
height: 5px;
margin: 0 8px 3px 0;
border-radius: 50%;
background: #C7893E;
vertical-align: middle;
}
.cdoc-tk__list a:hover { color: #C7893E; }
/* 上下滚动:窗口高度 = 行数 × 行高 */
.cdoc-tk--vertical .cdoc-tk__win {
height: calc(var(--tk-rows) * var(--tk-row));
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
/* 左右滚动:单行,横向排开 */
.cdoc-tk--horizontal .cdoc-tk__win {
height: var(--tk-row);
-webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 92%, transparent);
mask-image: linear-gradient(to right, transparent, #000 5%, #000 92%, transparent);
}
.cdoc-tk--horizontal .cdoc-tk__scroll {
display: flex;
width: max-content;
animation-name: cdoc-tk-h;
}
.cdoc-tk--horizontal .cdoc-tk__list {
display: flex;
flex: 0 0 auto;
}
.cdoc-tk--horizontal .cdoc-tk__list li {
flex: 0 0 auto;
padding-right: 30px;
}
.cdoc-tk--horizontal .cdoc-tk__list a {
white-space: nowrap;
overflow: visible;
}
@keyframes cdoc-tk-v {
from { transform: translateY(0); }
to { transform: translateY(-50%); }
}
@keyframes cdoc-tk-h {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
/* 悬停或键盘聚焦时暂停,方便点击 */
.cdoc-tk:hover .cdoc-tk__scroll,
.cdoc-tk:focus-within .cdoc-tk__scroll {
animation-play-state: paused;
}
/* 用户关闭动效时退化为静态可滚动列表 */
@media (prefers-reduced-motion: reduce) {
.cdoc-tk__scroll { animation: none; }
.cdoc-tk__dup { display: none; }
.cdoc-tk--vertical .cdoc-tk__win {
overflow-y: auto;
-webkit-mask-image: none;
mask-image: none;
}
.cdoc-tk--horizontal .cdoc-tk__win {
overflow-x: auto;
-webkit-mask-image: none;
mask-image: none;
}
}
Wang, Juan IvyLAc
针灸师
中医针灸
接受新病人
返回主页

© 2026 Copyright.
Email: cdoc101.com@gmail.com
Wechat: royzhang42