feat: improve donate page and rename it
This commit is contained in:
@@ -315,6 +315,151 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Plateformes de don externes */
|
||||
.donation-platforms {
|
||||
background: var(--card-bg);
|
||||
border-radius: 12px;
|
||||
padding: 30px;
|
||||
box-shadow: var(--card-shadow);
|
||||
border: 1px solid var(--border-color);
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.donation-platforms h3 {
|
||||
color: var(--primary-red);
|
||||
margin-bottom: 24px;
|
||||
font-size: 1.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.platforms-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.platform-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 20px;
|
||||
background: var(--card-bg);
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 12px;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.platform-btn:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.platform-btn.liberapay {
|
||||
border-color: #f6c915;
|
||||
}
|
||||
|
||||
.platform-btn.liberapay:hover {
|
||||
background: rgba(246, 201, 21, 0.1);
|
||||
border-color: #f6c915;
|
||||
}
|
||||
|
||||
.platform-btn.kofi {
|
||||
border-color: #13C3FF;
|
||||
}
|
||||
|
||||
.platform-btn.kofi:hover {
|
||||
background: rgba(19, 195, 255, 0.1);
|
||||
border-color: #13C3FF;
|
||||
}
|
||||
|
||||
.platform-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.platform-icon svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.platform-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.platform-name {
|
||||
font-size: 1.2rem;
|
||||
font-weight: bold;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.platform-desc {
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
/* Onglets don ponctuel / mensuel */
|
||||
.donation-tabs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-bottom: 24px;
|
||||
background: var(--main-bg);
|
||||
padding: 4px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.tab-btn {
|
||||
flex: 1;
|
||||
padding: 12px 16px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.tab-btn:hover {
|
||||
background: var(--hover-bg);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.tab-btn.active {
|
||||
background: var(--primary-red);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.tab-btn i {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tab-content.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.donation-btn-custom {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* Dark theme adjustments */
|
||||
[data-theme="dark"] .donation-security {
|
||||
background: var(--card-bg);
|
||||
@@ -328,4 +473,19 @@
|
||||
|
||||
[data-theme="dark"] .donation-btn:hover {
|
||||
background: rgba(255, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .platform-btn {
|
||||
background: var(--main-bg);
|
||||
}
|
||||
|
||||
/* Responsive pour les plateformes */
|
||||
@media (max-width: 768px) {
|
||||
.platforms-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.donation-tabs {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user