« Modèle:Accueil/shared/styles.css » : différence entre les versions
De Nefald
Autres actions
mAucun résumé des modifications |
m starcitizen like |
||
| Ligne 72 : | Ligne 72 : | ||
right: 0; | right: 0; | ||
top: -100%; | top: -100%; | ||
margin: | margin-left: auto; | ||
margin-right: auto; | |||
width: 50%; | width: 50%; | ||
height: 100%; | height: 100%; | ||
| Ligne 130 : | Ligne 131 : | ||
.home-search { | .home-search { | ||
/* Layout */ | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: var(--space-sm); | ||
max-width: | max-width: 600px; | ||
width: 100%; | width: 100%; | ||
margin: | margin-top: var(--space-xl); | ||
padding: | margin-left: auto; | ||
margin-right: auto; | |||
padding: var(--space-md); | |||
/* | /* Style */ | ||
background: | background-color: var(--color-surface-1); | ||
border: | border: var(--border-base); | ||
border-radius: | border-radius: var(--border-radius-pill); | ||
/* Typography */ | |||
font-size: var(--font-size-small); | |||
font-weight: var(--font-weight-medium); | |||
text-align: center; | |||
/* Interaction */ | |||
cursor: pointer; | cursor: pointer; | ||
transition: all 0. | transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | ||
} | } | ||
.home-search:hover { | .home-search:hover { | ||
background | background-color: var(--color-surface-0); | ||
} | } | ||
.home-search__icon { | .home-search__icon { | ||
font-size: | font-size: 1rem; | ||
opacity: | opacity: var(--opacity-icon-base); | ||
filter: var(--filter-invert); | |||
flex-shrink: 0; | flex-shrink: 0; | ||
line-height: 1; | line-height: 1; | ||
} | } | ||
.home-search__text { | .home-search__text { | ||
flex: 1; | flex: 1; | ||
color: var(--color-base); | color: var(--color-base); | ||
user-select: none; | user-select: none; | ||
text-align: left; | text-align: left; | ||
line-height: 1.4; | line-height: 1.4; | ||
} | } | ||
.home- | .home-search__kbd-wrapper { | ||
margin-left: var(--space-xs); | |||
} | } | ||
.home-search__kbd { | .home-search__kbd { | ||
font-family: | display: inline; | ||
font-family: monospace; | |||
font-size: 0.8125rem; | font-size: 0.8125rem; | ||
font-weight: | font-weight: var(--font-weight-medium); | ||
padding: 0. | padding: 0.1em 0.5em; | ||
background: var(--color-surface-2); | |||
border: var(--border-base); | |||
border-radius: var(--border-radius-medium); | |||
color: var(--color-subtle); | |||
vertical-align: baseline; | |||
border: | |||
border-radius | |||
} | } | ||
/* | /* Gradient glow effect - VERSION SIMPLIFIÉE */ | ||
.scw-gradient-glow { | |||
position: relative; | |||
box-shadow: 0 0 0 1px rgba(135, 191, 219, 0.3); | |||
transition: box-shadow 0.3s ease; | |||
} | } | ||
.scw-gradient-glow:hover { | |||
box-shadow: | |||
0 0 0 1px rgba(253, 179, 49, 0.5), | |||
0 0 20px rgba(253, 179, 49, 0.2); | |||
} | } | ||
| Ligne 379 : | Ligne 346 : | ||
.home-link__button a:active { | .home-link__button a:active { | ||
background: var(--color-surface-2--active); | background: var(--color-surface-2--active); | ||
} | } | ||
| Ligne 497 : | Ligne 444 : | ||
.home-search { | .home-search { | ||
margin: | margin-left: 1rem; | ||
margin-right: 1rem; | |||
padding: 1rem 1.25rem; | padding: 1rem 1.25rem; | ||
border-radius: 14px; | border-radius: 14px; | ||
} | } | ||
.home-search__kbd { | .home-search__kbd-wrapper { | ||
display: none; | display: none; | ||
} | } | ||