blob: ff98ed06e6de6c9a3ce43790f6041989aec1c93d [file] [log] [blame]
/*
* Copyright 2021 The Go Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
.SearchResults {
margin: 0 auto;
max-width: 60em;
padding: 2rem 0;
}
.SearchResults-header {
font-size: 1.875rem;
}
.SearchResults-resultCount {
display: flex;
justify-content: space-between;
}
.SearchResults-footer {
display: flex;
justify-content: flex-end;
}
.SearchResults-emptyContentMessage {
text-align: center;
}
.LegacySearchSnippet {
border-top: var(--border);
padding: 1rem 0;
}
.LegacySearchSnippet-header {
font-size: 1.5rem;
margin: 0 0 0.3125rem;
}
.SearchSnippet {
padding: 1rem 0;
}
.SearchSnippet:only-of-type,
.SearchSnippet:last-of-type {
border-bottom: var(--border);
margin-bottom: 1rem;
}
.SearchSnippet-synopsis {
-webkit-box-orient: vertical;
display: -webkit-box;
-webkit-line-clamp: 2;
margin: 0 0 1rem;
overflow: hidden;
text-overflow: ellipsis;
}
.SearchSnippet-infoLabel {
font-size: 0.875rem;
line-height: 1.375rem;
}
.SearchSnippet-infoLabelDivider {
margin-left: 2rem;
}
.SearchSnippet-sub {
font-size: 0.875rem;
margin-top: 0.3125rem;
}
.SearchSnippet-breadcrumb {
color: var(--color-text-subtle);
font-size: 0.75rem;
}
.SearchSnippet-version {
font-size: 0.75rem;
}
.SearchSnippet-headerContainer {
align-items: baseline;
display: flex;
justify-content: space-between;
}
.SearchSnippet-header {
font-size: 1.5rem;
margin: 0 0 0.3125rem 0;
}
.SearchSnippet-symbol {
background: var(--blue);
border-radius: 1rem;
padding: 0 0.375rem;
}
.Pagination-nav {
display: flex;
}
.Pagination-navInner {
display: flex;
flex: 1;
justify-content: space-between;
}
.Pagination-previous[aria-disabled='true'],
.Pagination-next[aria-disabled='true'] {
color: var(--color-text-subtle);
}
.Pagination-number {
color: var(--color-text);
padding: 0 0.375rem;
}
.SearchResults .Pagination-nav,
.SearchResults-help,
.SearchResults-resultCount {
flex-wrap: wrap;
font-size: 0.875rem;
}
@media only screen and (min-width: 50rem) {
.SearchResults .Pagination-nav,
.SearchResults-help,
.SearchResults-resultCount {
flex-wrap: wrap;
font-size: 1.125rem;
}
.Pagination-navInner {
max-width: 25rem;
}
.Pagination-previous {
margin-right: 0.75rem;
}
.Pagination-next {
margin-left: 0.75rem;
}
}