Modèle:Accueil/header/styles.css
De Nefald Wiki
Autres actions
< Modèle:Accueil | header
/* Main page header styling */
.tg-mainpage-header {
position: relative;
margin-top: -2rem;
margin-bottom: -4rem;
padding-top: 6rem;
padding-bottom: 6rem;
clear: both;
overflow: hidden;
}
/* Rotating circular inscription background - animation removed for compatibility */
.tg-mainpage-header::before {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
opacity: 0.1;
}
/* Main content container */
.tg-mainpage-content {
align-items: center;
display: flex;
flex-direction: column;
text-align: center;
}
/* Fellowship background - simplified without background-image */
.tg-mainpage-header-wordmark::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: -100%;
margin: 0 auto;
width: 50%;
height: 100%;
background-repeat: no-repeat;
background-position: bottom center;
opacity: 0.2;
}
/* Wordmark container */
.tg-mainpage-header-wordmark {
position: relative;
margin-top: 2.5rem;
width: 420px;
max-width: 100%;
padding-top: 0.75rem;
}
.tg-mainpage-header-wordmark img {
width: 100%;
height: 100%;
}
/* Header tagline */
.tg-mainpage-header-tagline {
margin-top: -0.25rem;
color: #54595d;
font-size: 14px;
line-height: 1.2;
}
/* Search button styling */
.tg-mainpage-header-search {
align-items: center;
background-color: #0645ad;
border-radius: 50px;
color: #ffffff;
cursor: pointer;
display: flex;
font-size: 14px;
font-weight: 500;
gap: 8px;
line-height: 1;
margin-top: 1rem;
padding: 1rem 2rem;
user-select: none;
}
/* Search icon - simplified without mask-image */
.tg-mainpage-header-search:before {
content: '🔍';
width: 1rem;
height: 1rem;
display: block;
}
/* Keyboard hint for desktop */
@media (hover: hover) {
.tg-mainpage-header-search:after {
content: '/';
margin-top: -2px;
margin-bottom: -2px;
margin-left: 2px;
width: 18px;
height: 18px;
display: flex;
background-color: #ffffff;
color: #0645ad;
border-radius: 4px;
line-height: 1;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: 900;
opacity: 0.6;
}
}
/* Search button hover states */
.tg-mainpage-header-search:hover {
background-color: #0654ba;
}
.tg-mainpage-header-search:active {
background-color: #05439a;
}
/* Spin animation - removed for TemplateStyles compatibility */
/* Note: Animation effects will need to be added via JavaScript */