lbry-desktop/src/renderer/scss/component/_search.scss

51 lines
990 B
SCSS
Raw Normal View History

.search__header {
background-color: $lbry-black;
color: $lbry-white;
min-height: 300px;
padding: var(--spacing-vertical-large);
2019-02-13 17:27:20 +01:00
html[data-mode='dark'] & {
background-color: transparent;
border-bottom: 1px solid rgba($lbry-white, 0.1);
2018-03-26 23:32:43 +02:00
}
}
.search__title {
2018-10-17 19:14:24 +02:00
align-items: center;
cursor: default;
2018-03-26 23:32:43 +02:00
display: flex;
font-weight: 700;
line-height: 1.33;
margin-bottom: var(--spacing-vertical-large);
2018-03-26 23:32:43 +02:00
> * {
margin-left: var(--spacing-vertical-small);
2018-03-26 23:32:43 +02:00
}
// The search page title size needs tweaking
// dependant on screen width
2018-03-26 23:32:43 +02:00
@media (min-width: 601px) {
font-size: 2rem;
2018-03-26 23:32:43 +02:00
}
2018-05-02 14:18:22 +02:00
@media (max-width: 600px) {
font-size: 1.75rem;
2018-05-02 14:18:22 +02:00
}
2018-03-26 23:32:43 +02:00
}
.search__results-wrapper {
padding: var(--spacing-vertical-large);
2018-03-26 23:32:43 +02:00
}
.search__results-section {
margin-bottom: var(--spacing-vertical-large);
min-height: 200px;
position: relative;
2018-03-26 23:32:43 +02:00
}
2018-10-17 19:14:24 +02:00
.search__results-title {
@extend .media-group__header-title;
margin-bottom: var(--spacing-vertical-large);
2018-10-17 19:14:24 +02:00
}