Modèle:Accueil/header/styles.css
De Infothèque
Autres actions
< Modèle:Accueil | header
.ith-home-logo {
margin: 44px auto 8px auto;
text-align: center;
}
.ith-home-logo img {
max-width: 100%;
height: auto;
}
@media (max-width: 700px) {
.ith-home-logo { margin-top: 28px; }
.ith-home-logo img { width: 100px; }
}
@media (max-width: 420px) {
.ith-home-logo img { width: 80px; }
}
.ith-home-title {
text-align: center;
font-size: 2.4em;
font-weight: 800;
letter-spacing: 0.04em;
line-height: 1.1;
color: #1f2328;
text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}
.ith-home-subtitle {
text-align: center;
font-size: 0.95em;
color: #3f4147;
margin: 8px 0 24px 0;
text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}
.ith-home-search {
box-sizing: border-box;
position: relative;
width: 100%;
max-width: 1100px;
margin: 8px auto 32px auto;
padding: 16px 24px 16px 52px;
border: 1px solid #c9ced6;
border-radius: 18px;
background-color: #ffffff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.ith-home-search::before {
content: "🔎";
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
}
.ith-home-search .mw-inputbox-centered {
width: 100%;
}
.ith-home-search form.searchbox {
width: 100%;
margin: 0;
padding: 0;
}
.ith-home-search .cdx-text-input {
width: 100%;
}
.ith-home-search input.mw-searchInput {
box-sizing: border-box;
display: block;
width: 100%;
border: none;
outline: none;
background: transparent;
font-size: 18px;
font-weight: 700;
color: #1f2328;
padding: 4px;
}
.ith-home-search input[name="go"],
.ith-home-search input[name="fulltext"] {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
border: 0 !important;
white-space: nowrap !important;
}
@media (max-width: 700px) {
.ith-home-title { font-size: 1.6em; }
}
@media (max-width: 1140px) {
.ith-home-search { max-width: 92%; }
}
@media (max-width: 700px) {
.ith-home-search { padding: 12px 16px 12px 44px; }
.ith-home-search::before { left: 16px; font-size: 17px; }
.ith-home-search input.mw-searchInput { font-size: 15px; }
}