1
0
www.mikescher.com/www/data/css/styles_bookslist.scss

77 lines
1.5 KiB
SCSS
Raw Normal View History

2018-01-27 18:13:38 +01:00
@import 'styles_config';
.booklst_parent {
}
.booklst_entry {
display: flex;
flex-direction: row;
text-decoration: none;
2019-11-08 15:15:58 +01:00
background: $LAYER1_BG_DARKER;
border: $LAYER1_BORDER;
color: $LAYER1_FG;
2018-01-27 18:13:38 +01:00
margin: 5px 0;
&:hover {
background: $COL_COMPLEXHOVER_BG;
color: $COL_COMPLEXHOVER_FG;
border: solid 1px $COL_COMPLEXHOVER_BRD;
.booklst_date { color: $COL_COMPLEXHOVER_FG; }
.booklst_title { color: $COL_COMPLEXHOVER_FG; }
.booklst_left img { filter: grayscale(100%); }
.booklst_date span { background: $COL_COMPLEXHOVER_BG; border-left: 1px solid $COL_COMPLEXHOVER_BRD; border-bottom: 1px solid $COL_COMPLEXHOVER_BRD; }
}
}
.booklst_left {
padding: 4px;
display: flex;
}
.booklst_left img {
width: 150px;
2018-01-28 14:23:12 +01:00
height: 200px;
object-fit: contain;
2018-01-27 18:13:38 +01:00
}
.booklst_right {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.booklst_title {
2019-11-08 15:15:58 +01:00
color: $LAYER1_FG;
2018-01-27 18:13:38 +01:00
font-size: 40pt;
font-weight: bolder;
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.booklst_date {
display: flex;
flex-direction: row-reverse;
2019-11-08 15:15:58 +01:00
color: $LAYER1_FG;
2018-01-27 18:13:38 +01:00
}
.booklst_date span {
background: #AAA;
padding: 0 3px;
border-left: 1px solid transparent;
border-bottom: 1px solid transparent;
}
@include rdmedia(0) {
.booklst_left { flex-direction: column; align-items: center;}
.booklst_entry { flex-direction: column;}
.booklst_date { display:none; visibility: hidden; }
.booklst_title { font-size: 32pt; }
}