diff --git a/static/app/styles.css b/static/app/styles.css index ae501d0..86fb09a 100644 --- a/static/app/styles.css +++ b/static/app/styles.css @@ -2840,3 +2840,120 @@ input:checked + .toggle-slider:before { padding: 0.4rem 0.6rem; } } + +/* Contact and Sponsor Section */ +.contact-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + margin-top: 1.5rem; +} + +.contact-card { + background: var(--bg-primary); + padding: 2rem; + border-radius: 0.5rem; + box-shadow: var(--shadow-md); + text-align: center; + transition: var(--transition); + border: 1px solid var(--border-color); +} + +.contact-card:hover { + transform: translateY(-2px); + box-shadow: var(--shadow-lg); + border-color: var(--primary-color); +} + +.contact-card h3 { + font-size: 1.25rem; + font-weight: 600; + margin-bottom: 1rem; + color: var(--text-primary); + display: flex; + align-items: center; + justify-content: center; + gap: 0.5rem; +} + +.contact-card h3 i { + color: var(--primary-color); +} + +.qr-container { + margin: 1.5rem 0; + display: flex; + justify-content: center; +} + +.qr-code { + width: 200px; + height: 200px; + object-fit: contain; + border: 4px solid var(--border-color); + border-radius: 0.5rem; + padding: 0.5rem; + background: white; + transition: var(--transition); +} + +.qr-code:hover { + border-color: var(--primary-color); + transform: scale(1.05); +} + +.qr-description { + font-size: 0.875rem; + color: var(--text-secondary); + margin: 0; + line-height: 1.5; +} + +/* 响应式调整 */ +@media (max-width: 768px) { + .contact-grid { + grid-template-columns: 1fr; + gap: 1.5rem; + } + + .contact-card { + padding: 1.5rem; + } + + .qr-code { + width: 180px; + height: 180px; + } +} + +@media (max-width: 480px) { + .qr-code { + width: 150px; + height: 150px; + } + + .contact-card { + padding: 1rem; + } + +/* Contact section styling for dashboard */ +.contact-section { + margin-top: 2rem; + padding-top: 1.5rem; + border-top: 1px solid var(--border-color); +} + +.contact-section h3 { + font-size: 1.25rem; + font-weight: 600; + margin-bottom: 1.5rem; + color: var(--text-primary); + display: flex; + align-items: center; + gap: 0.5rem; +} + +.contact-section h3 i { + color: var(--primary-color); +} +} diff --git a/static/index.html b/static/index.html index 2317f2d..912be60 100644 --- a/static/index.html +++ b/static/index.html @@ -377,6 +377,27 @@ + + +
+ 添加微信获取更多技术支持和交流
+
+ 您的赞助是项目持续发展的动力
+