UNPKG

hexo-theme-volantis

Version:

Elegant and powerful theme for Hexo.

329 lines (283 loc) 5.47 kB
/* AI 摘要 */ .post-TianliGPT { background: #f1f3f8; border-radius: 12px; padding: 12px; line-height: 1.3; border: 1px solid #e3e8f7; margin-top: 16px; } @media screen and (max-width: 768px) { .post-TianliGPT { margin-top: 22px; } } .tianliGPT-title { display: flex; color: #425AEF; border-radius: 8px; align-items: center; padding: 0 12px; cursor: default; user-select: none; } .tianliGPT-title-text { font-weight: bold; margin-left: 8px; line-height: 1; } .tianliGPT-explanation { margin-top: 12px; padding: 8px 12px; background: #fff; border-radius: 8px; border: 1px solid #e3e8f7; font-size: 15px; line-height: 1.4; display: block; } .tianliGPT-suggestions { display: flex; flex-wrap: wrap; } .tianliGPT-suggestions .tianliGPT-suggestions-item { margin-top: 12px; padding: 8px 12px; background: #fff; border-radius: 8px 8px 8px 0; border: 1px solid #e3e8f7; font-size: 15px; line-height: 1.4; display: flex; width: fit-content; margin-right: 12px; cursor: pointer; transition: 0.3s; } .tianliGPT-suggestions .tianliGPT-suggestions-item:hover { background: #425AEF; color: #fff; } .blinking-cursor { background-color: #425AEF; width: 10px; height: 16px; display: inline-block; vertical-align: middle; animation: blinking-cursor 0.5s infinite; -webkit-animation: blinking-cursor 0.5s infinite; margin-left: 4px; } @keyframes blinking-cursor { 0% { opacity: 1; } 40% { opacity: 1; } 50% { opacity: 0; } 90% { opacity: 0; } 100% { opacity: 1; } } .tianliGPT-tag { font-size: 12px; background-color: #425AEF; color: #fff; font-weight: bold; border-radius: 4px; margin-left: auto; line-height: 1; padding: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; } .tianliGPT-tag:hover { background: #363636; color: #fff; } ins.adsbygoogle { margin: 16px 0; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e3e8f7; } #tianliGPT-Toggle { font-size: 12px; background: #425AEF; color: #fff; padding: 4px; border-radius: 4px; margin-left: 6px; transform: scale(0.8); cursor: pointer; transition: 0.3s; font-weight: bold; } #tianliGPT-Toggle:hover { background: #363636; color: #fff; } .tianliGPT-title-icon { width: 20px; height: 20px; } .tianliGPT-title-icon svg { width: 20px; height: 20px; fill: #425AEF; } .tianliGPT-title-icon svg path { fill: #425AEF; } dark_tianliGPT() .post-TianliGPT { background: #30343f; border-radius: 12px; padding: 12px; line-height: 1.3; border: 1px solid #3d3d3f; margin-top: 16px; } @media screen and (max-width: 768px) { .post-TianliGPT { margin-top: 22px; } } .tianliGPT-title { display: flex; color: #f2b94b; border-radius: 8px; align-items: center; padding: 0 12px; cursor: default; user-select: none; } .tianliGPT-title-text { font-weight: bold; margin-left: 8px; line-height: 1; } .tianliGPT-explanation { margin-top: 12px; padding: 8px 12px; background: #1d1e22; border-radius: 8px; border: 1px solid #3d3d3f; font-size: 15px; line-height: 1.4; display: block; } .tianliGPT-suggestions { display: flex; flex-wrap: wrap; } .tianliGPT-suggestions .tianliGPT-suggestions-item { margin-top: 12px; padding: 8px 12px; background: #1d1e22; border-radius: 8px 8px 8px 0; border: 1px solid #3d3d3f; font-size: 15px; line-height: 1.4; display: flex; width: fit-content; margin-right: 12px; cursor: pointer; transition: 0.3s; } .tianliGPT-suggestions .tianliGPT-suggestions-item:hover { background: #f2b94b; color: #fff; } .blinking-cursor { background-color: #f2b94b; width: 10px; height: 16px; display: inline-block; vertical-align: middle; animation: blinking-cursor 0.5s infinite; -webkit-animation: blinking-cursor 0.5s infinite; margin-left: 4px; } @keyframes blinking-cursor { 0% { opacity: 1; } 40% { opacity: 1; } 50% { opacity: 0; } 90% { opacity: 0; } 100% { opacity: 1; } } .tianliGPT-tag { font-size: 12px; background-color: #f2b94b; color: #1d1e22; font-weight: bold; border-radius: 4px; margin-left: auto; line-height: 1; padding: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; } .tianliGPT-tag:hover { background: #F7F7FA; color: #1d1e22; } ins.adsbygoogle { margin: 16px 0; background: #1d1e22; border-radius: 12px; overflow: hidden; border: 1px solid #3d3d3f; } #tianliGPT-Toggle { font-size: 12px; background: #f2b94b; color: #1d1e22; padding: 4px; border-radius: 4px; margin-left: 6px; transform: scale(0.8); cursor: pointer; transition: 0.3s; font-weight: bold; } #tianliGPT-Toggle:hover { background: #F7F7FA; color: #1d1e22; } .tianliGPT-title-icon { width: 20px; height: 20px; } .tianliGPT-title-icon svg { width: 20px; height: 20px; fill: #f2b94b; } .tianliGPT-title-icon svg path { fill: #f2b94b; } volantis-dark(dark_tianliGPT)