kopia lustrzana https://github.com/miguelvaca/vk3cpu
225 wiersze
4.6 KiB
CSS
225 wiersze
4.6 KiB
CSS
body {
|
|
background: rgb(226, 226, 226);
|
|
margin: 0px;
|
|
}
|
|
|
|
header {
|
|
background: rgb(226, 226, 226);
|
|
color: black;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
font-weight: bold;
|
|
font-size: smaller;
|
|
text-align: center;
|
|
}
|
|
|
|
canvas.inductorClass {
|
|
background: rgb(255, 255, 255);
|
|
margin: 1px;
|
|
padding: 2px;
|
|
border: 0px solid rgb(0, 0, 0);
|
|
display: block;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
section div.slider_container {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgb(255, 255, 255);
|
|
border: 1px solid rgb(0, 0, 0);
|
|
margin: 0px;
|
|
padding: 0px;
|
|
/*display: inline-block;*/
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
section div.smith-chart-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
background: white;
|
|
border: 1px solid rgb(0, 0, 0);
|
|
position: relative;
|
|
}
|
|
|
|
section div.inductor-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
background: white;
|
|
border: 1px solid rgb(0, 0, 0);
|
|
position: relative;
|
|
}
|
|
|
|
section div.sliders {
|
|
background:white;
|
|
display: inline-block;
|
|
font-size: small;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
div label {
|
|
background:white;
|
|
display: inline-block;
|
|
width: 12%;
|
|
font-size: small;
|
|
text-align: right;
|
|
}
|
|
|
|
div input {
|
|
background:lightsalmon;
|
|
display: inline-block;
|
|
width: 85%;
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
section.gridLayoutClass {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr 0.3fr;
|
|
grid-template-areas:
|
|
"smith-chart-container"
|
|
"inductor-container"
|
|
"slider-container";
|
|
justify-items: stretch;
|
|
}
|
|
|
|
section div.smith-chart-container {
|
|
height: 100vw;
|
|
width: 100vw;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
section div.inductor-container {
|
|
height: 35vh;
|
|
width: 100vw;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
section div.slider_container {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (orientation: landscape) {
|
|
section.gridLayoutClass {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr 0.3fr;
|
|
grid-template-areas:
|
|
"smith-chart-container"
|
|
"inductor-container"
|
|
"slider-container";
|
|
justify-items: stretch;
|
|
}
|
|
|
|
section div.smith-chart-container {
|
|
height: 100vh;
|
|
width: 100vh;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
section div.inductor-container {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
section div.slider_container {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 800px) {
|
|
section.gridLayoutClass {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: 1fr 1fr;
|
|
grid-template-areas:
|
|
"inductor-container" "slider-container"
|
|
"inductor-container" "notes";
|
|
justify-items: stretch;
|
|
}
|
|
|
|
section div.inductor-container {
|
|
height: 100vh;
|
|
width: 50vw;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
section div.slider_container {
|
|
width: 100%;
|
|
height: 20%;
|
|
}
|
|
|
|
section div.notes {
|
|
width: 100%;
|
|
height: 50%;
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
@media (orientation: landscape) {
|
|
section.gridLayoutClass {
|
|
display: grid;
|
|
grid-template-columns: 1fr 0.3fr;
|
|
grid-template-rows: 1fr;
|
|
grid-template-areas:
|
|
"inductor-container" "slider-container";
|
|
}
|
|
|
|
section div.inductor-container {
|
|
height: 90vh;
|
|
width: 60vw;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
section div.slider_container {
|
|
width: 40vw;
|
|
}
|
|
}
|
|
|
|
@media print (orientation: landscape) {
|
|
section.gridLayoutClass {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 300px);
|
|
grid-template-rows: repeat(1, 300px) 150px;
|
|
justify-items: stretch;
|
|
}
|
|
section div.chart-container {
|
|
min-height: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
height: auto!important;
|
|
width: auto!important;
|
|
}
|
|
}
|
|
|
|
@media print (orientation: portrait) {
|
|
section.gridLayoutClass {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 200px);
|
|
grid-template-rows: repeat(2, 300px) 150px 120px;
|
|
justify-items: stretch;
|
|
}
|
|
section div.chart-container {
|
|
min-height: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
height: auto!important;
|
|
width: auto!important;
|
|
}
|
|
}
|
|
*/
|