Skip to content

Commit

Permalink
Add styles for search results listing.
Browse files Browse the repository at this point in the history
  • Loading branch information
GhitaB committed Sep 21, 2021
1 parent 583110c commit 14ff0d4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/SearchBlock/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,49 @@ div#page-document {
}
}
}

div.search-result {
width: 100%;
padding-bottom: 20px;
border-bottom: 1px solid @s-light-gray;
margin-top: 10px;
clear: both;

div.col-left {
max-width: 220px;
float: left;

a,
img {
width: 220px;
}
}

div.col-right {
width: calc(100% - 220px);
padding-top: 10px;
float: right;

h4,
p {
margin-bottom: 10px;
}

p {
color: rgba(0, 0, 0, 0.4);
font-size: 12.8px;
}
}
}
}
}

@media screen and (max-width: 600px) {
div.col-left,
div.col-left a,
div.col-left img,
div.col-right {
width: 100% !important;
max-width: 100% !important;
}
}

0 comments on commit 14ff0d4

Please sign in to comment.