✏️ 正在编辑: contents.css
路径:
/home/h359620/public_html/wp-content/themes/datis/assets/css/teams/contents.css
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
.datis-team-card { display: flex; align-items: flex-end; justify-content: flex-end; gap: 0; flex-direction: row-reverse; } .datis-team-card-info { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; min-width: 209px; min-height: 148px; background: #FFFFFF; border-radius: 24px 0px 0px 24px; margin-bottom: 33px; border: 1px solid transparent; transition: all 300ms; } .datis-team-card:hover .datis-team-card-info { border: 1px solid var(--datis-secondary-color); } .datis-team-card-name-row { display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; gap: 8px; } .datis-team-card-name { font-style: normal; font-weight: 600; font-size: 16px; line-height: 25px; text-align: right; color: #090625; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .datis-team-card-name-indicator { display: block; width: 24px; height: 4px; border-radius: 999px; background: #ff5f06; } /* سمتِ دوم – عنوان شغلی */ .datis-team-card-role { font-style: normal; font-weight: 400; font-size: 14px; line-height: 20px; text-align: right; color: rgba(9, 6, 37, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .industry-demo .datis-team-card-role { font-weight: 400; font-size: 14px; line-height: 32px; text-align: center; color: rgba(11, 61, 145, 0.6); } .industry-demo .datis-team-card-name { font-weight: 600; font-size: 16px; text-align: center; } .datis-team-card-divider { height: 1px; background: rgb(9 6 37 / 16%); margin: 10px 0px; width: 100%; } .industry-demo .datis-team-card-divider{ display : none; } .datis-team-card-socials { display: flex; align-items: center; flex-direction: row-reverse; gap: 12px; } .industry-demo .datis-team-card-socials{ margin-top :10px; } .datis-team-card-social-link { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; text-decoration: none; transition: background-color 0.2s ease, transform 0.15s ease; } .datis-team-card-social-link:hover { transform: translateY(-1px); } .datis-team-card-social-link svg { display: block; } .datis-team-card:hover .datis-team-card-social-link svg path { fill: var(--datis-primary-color); fill-opacity: 1; } .datis-team-card:hover .datis-team-card-social-link.telegram svg path { fill: unset; stroke: var(--datis-primary-color); stroke-opacity: 1; } .datis-team-card-photo { padding: 0px; width: fit-content; height: auto; overflow: hidden; } .datis-team-card-photo-inner { background-color: rgb(9 6 37 / 3%); border-radius: 32px; padding: 13px 13px 0px 13px; display: flex; align-items: flex-end; justify-content: center; position: relative; z-index: 0; transition: all 300ms; overflow: hidden; } .datis-team-card:hover .datis-team-card-photo-inner { background-color: var(--datis-secondary-color); } .datis-team-card:hover .datis-team-card-photo-inner::before { content: ''; position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; background-image: url('../../image/Pattern.png'); background-repeat: no-repeat; background-size: contain; z-index: -1; } .industry-demo .datis-team-card:hover .datis-team-card-photo-inner::before { background-image: url('../../image/Vecto102r.png'); left: unset; right: 0; background-position: right; } .datis-team-card-photo-inner img { display: block; height: auto; max-height: 265px; } @media screen and (max-width : 768px) { .datis-team-card-photo { padding: 0px; width: auto; height: auto; } .datis-team-card-info { min-width: auto; min-height: auto; } }
💾 保存文件
← 返回文件管理器