ETHReport/components/searchResults/style.scss

49 lines
854 B
SCSS
Raw Normal View History

2018-07-06 11:47:25 +00:00
@import './assets/styles/global.scss';
.search-results {
2018-07-09 14:29:57 +00:00
li {
margin-bottom: calculateRem(32);
cursor: pointer;
h3 {
2018-07-17 13:06:53 +00:00
font-size: calculateRem(24);
2018-07-09 14:29:57 +00:00
margin-bottom: calculateRem(8);
2018-07-11 09:18:07 +00:00
color: #fff;
2018-07-17 13:06:53 +00:00
display: inline-block;
&.matched-name {
@include hasRedUnderline;
position: relative;
}
2018-07-09 14:29:57 +00:00
}
h5 {
font-size: calculateRem(16);
margin-bottom: calculateRem(8);
2018-07-11 09:18:07 +00:00
color: #fff;
2018-07-09 14:29:57 +00:00
}
p {
font-size: calculateRem(14);
2018-07-17 13:06:53 +00:00
display: inline;
2018-07-09 14:29:57 +00:00
span {
position: relative;
&::before {
content: '';
position: absolute;
top: -10%;
2018-07-13 09:11:32 +00:00
left: -2%;
2018-07-09 14:29:57 +00:00
height: 120%;
2018-07-13 09:11:32 +00:00
width: 104%;
2018-07-11 09:18:07 +00:00
background-color: $red;
color: $navy;
2018-07-09 14:29:57 +00:00
z-index: -1;
}
}
}
}
2018-07-06 11:47:25 +00:00
}