MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
align-items: center; |
align-items: center; |
||
gap: 0.6rem; |
gap: 0.6rem; |
||
width: |
width: 75%; |
||
max-width: |
max-width: 1100px; |
||
margin: 1rem 0 0.35rem; |
margin: 1rem 0 0.35rem; |
||
} |
} |
||
| Line 59: | Line 59: | ||
.benchmark-result-count { |
.benchmark-result-count { |
||
width: |
width: 75%; |
||
max-width: |
max-width: 1100px; |
||
min-height: 1.3rem; |
min-height: 1.3rem; |
||
margin: 0 0 0.55rem; |
margin: 0 0 0.55rem; |
||
| Line 72: | Line 72: | ||
@media screen and (max-width: 720px) { |
@media screen and (max-width: 720px) { |
||
.benchmark-table-search, |
|||
.benchmark-result-count { |
|||
width: 100%; |
|||
max-width: none; |
|||
} |
|||
.benchmark-table-search { |
.benchmark-table-search { |
||
flex-direction: column; |
flex-direction: column; |
||
Revision as of 12:13, 14 July 2026
/* CSS placed here will be applied to all skins */
/* CPU benchmark search controls */
.benchmark-table-search {
display: flex;
align-items: center;
gap: 0.6rem;
width: 75%;
max-width: 1100px;
margin: 1rem 0 0.35rem;
}
.benchmark-search-input {
box-sizing: border-box;
width: 100%;
min-height: 40px;
padding: 0.55rem 0.9rem 0.55rem 2.5rem;
border: 1px solid #a2b6cc;
border-radius: 6px;
background-color: #fff;
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23545f6d' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: 0.8rem center;
color: #202122;
font: inherit;
}
.benchmark-search-input::placeholder {
color: #72777d;
}
.benchmark-search-input:hover {
border-color: #7896bd;
}
.benchmark-search-input:focus {
border-color: #36c;
box-shadow: 0 0 0 2px rgba(51, 102, 204, 0.14);
outline: none;
}
.benchmark-search-clear {
min-height: 40px;
padding: 0.55rem 0.9rem;
border: 1px solid #a2a9b1;
border-radius: 6px;
background: #f8f9fa;
color: #202122;
font: inherit;
font-weight: 600;
cursor: pointer;
}
.benchmark-search-clear:hover {
border-color: #72777d;
background: #fff;
}
.benchmark-result-count {
width: 75%;
max-width: 1100px;
min-height: 1.3rem;
margin: 0 0 0.55rem;
color: #72777d;
font-size: 0.82rem;
}
.benchmark-results-table tr[hidden] {
display: none;
}
@media screen and (max-width: 720px) {
.benchmark-table-search,
.benchmark-result-count {
width: 100%;
max-width: none;
}
.benchmark-table-search {
flex-direction: column;
align-items: stretch;
}
.benchmark-search-clear {
align-self: flex-end;
}
}