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

142 lines
2.3 KiB
SCSS
Raw Permalink Normal View History

2018-01-28 01:29:25 +01:00
@import 'styles_config';
.bookv_content {
display: flex;
flex-direction: column;
2019-11-08 15:15:58 +01:00
color: $LAYER1_FG;
border: $LAYER1_BORDER;
background-color: $LAYER1_BG;
2018-01-28 01:29:25 +01:00
width: 100%;
margin-left: auto;
margin-right: auto;
}
#bookv_header h1 {
font-size: 48pt;
text-align: center;
margin-top: 5px;
}
#bookv_header hr {
2019-11-08 15:15:58 +01:00
background: -moz-radial-gradient( circle, $COL_RADIAL_UNDERLINE_START, $COL_RADIAL_UNDERLINE_END);
background: -webkit-radial-gradient(circle, $COL_RADIAL_UNDERLINE_START 0%,$COL_RADIAL_UNDERLINE_END 100%);
2018-01-28 01:29:25 +01:00
}
.bookv_top {
display: flex;
flex-direction: row;
margin-top: 15px;
padding-bottom: 10px;
}
.bookv_left {
display: inline-flex;
justify-content: center;
flex-grow: 1;
margin-left: 10px;
margin-top: auto;
margin-bottom: auto;
}
.bookv_left img {
2018-01-28 14:23:12 +01:00
height: 100%;
width: 100%;
object-fit: contain
2018-01-28 01:29:25 +01:00
}
.bookv_right {
2019-11-08 15:15:58 +01:00
background: $LAYER2_BG;
border: $LAYER2_BORDER;
2018-01-28 01:29:25 +01:00
margin: 0 10px;
padding: 8px 5px 2px 5px;
min-height: 250px;
min-width: 200px;
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: auto auto auto auto auto auto 1fr auto;
grid-column-gap: 15px;
grid-row-gap: 2px;
}
.bookv_right_key {
font-weight: bold;
}
.bookv_right_value a {
2019-11-08 15:15:58 +01:00
color: $LAYER2_FG;
2018-01-28 01:29:25 +01:00
text-decoration: none;
}
.bookv_right_value a:hover {
2019-11-08 15:15:58 +01:00
color: $LAYER2_FG_LINKHOVER;
2018-01-28 01:29:25 +01:00
text-decoration: none;
}
.bookv_right_comb {
grid-column: 1 / span 2;
}
.bookv_right_lang {
display: flex;
2018-02-03 19:00:39 +01:00
justify-content: flex-end;
2018-01-28 01:29:25 +01:00
}
2019-11-08 15:15:58 +01:00
.bookv_dl_download { background: $COL_BUTTON_DOWNLOAD_PRIMARY; }
.bookv_dl_github { background: $COL_BUTTON_DOWNLOAD_GITHUB; }
2018-01-28 01:29:25 +01:00
.bookv_right_lang img {
display: inline;
height: 16pt;
max-width: 32px;
margin: 1px 2px 0 2px;
}
2019-11-08 15:15:58 +01:00
.bookv_extra {
height: 500px;
border: $LAYER2_BORDER;
background: $LAYER2_BG;
margin: 10px;
2018-01-28 01:29:25 +01:00
}
2019-11-08 15:15:58 +01:00
.bookv_extra img {
2018-01-28 01:29:25 +01:00
}
@include rdmedia_range(0,2) {
.bookv_content { border: none; }
#bookv_header h1 { font-size: 28pt; }
}
@include rdmedia_range(0,3) {
#bookv_header h1 { font-size: 28pt; }
}
@include rdmedia(0) {
.bookv_top {
flex-direction: column;
margin-top: 0;
}
.bookv_left {
margin: 0 10px 10px 10px;
}
.bookv_right {
min-height: 0;
min-width: 0;
}
.bookv_right_lang {
justify-content: space-evenly;
}
#bookv_header h1 {
font-size: 18pt;
}
}