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

149 lines
2.4 KiB
SCSS

@import 'styles_config';
.prgv_content {
display: flex;
flex-direction: column;
color: $COL_TEXT_DARK;
border: 1px solid black;
background-color: #E0E0E0;
width: 100%;
margin-left: auto;
margin-right: auto;
}
#prgv_header h1 {
font-size: 48pt;
text-align: center;
margin-top: 5px;
}
#prgv_header hr {
background: -moz-radial-gradient( circle, $COL_TEXT_NORMAL, $COL_TRANSPARENT);
background: -webkit-radial-gradient(circle, $COL_TEXT_NORMAL 0%,$COL_TRANSPARENT 100%);
}
.prgv_top {
display: flex;
flex-direction: row;
margin-top: 15px;
}
.prgv_left {
display: inline-flex;
justify-content: center;
flex-grow: 1;
margin-left: 10px;
margin-top: auto;
margin-bottom: auto;
}
.prgv_left img {
height: 100%;
width: 100%;
object-fit: contain
}
.prgv_right {
background: #BBB;
border: 1px solid #666;
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;
}
.prgv_right_key {
font-weight: bold;
}
.prgv_right_value a {
color: $COL_TEXT_DARK;
text-decoration: none;
}
.prgv_right_value a:hover {
color: #339;
text-decoration: none;
}
.prgv_right_comb {
grid-column: 1 / span 2;
}
.prgv_right_lang {
display: flex;
justify-content: flex-end;
}
.prgv_dl_download { background: #442222; }
.prgv_dl_github { background: $COL_GITHUB; }
.prgv_right_lang img {
display: inline;
height: 16pt;
max-width: 32px;
margin: 1px 2px 0 2px;
}
.prgv_center {
margin: 0 8px 8px 8px;
padding: 16px;
background: #EEE;
border: 1px solid rgba(0, 0, 0, 0.15);
}
.prgv_sep {
margin: 40px 0 40px 0;
display: block;
border: none;
color: white;
height: 1px;
background-color: #666666FF;
background: -moz-radial-gradient( circle, #666, #FFFFFF00);
background: -webkit-radial-gradient(circle, #666 0%, #FFFFFF00 100%);
}
@include rdmedia_range(0,2) {
.prgv_content { border: none; }
}
@include rdmedia(0) {
.prgv_top {
flex-direction: column;
margin-top: 0;
}
.prgv_left {
margin: 0 10px 10px 10px;
}
.prgv_right {
min-height: 0;
min-width: 0;
}
.prgv_right_lang {
justify-content: space-evenly;
}
#prgv_header h1 {
font-size: 28pt;
}
}
.progv_extra {
height: 500px;
border: 1px solid #333;
margin: 10px;
}