Commit c3fe069f by Kyle Fiedler

Added fix for circut simulator

parent ca832b50
h2 { h2 {
margin-top: 0; margin-top: 0;
margin-bottom: 15px; margin-bottom: 15px;
width: flex-grid(2, 9); width: flex-grid(2, 9);
padding-right: flex-gutter(9); padding-right: flex-gutter(9);
border-right: 1px dashed #ddd; border-right: 1px dashed #ddd;
@include box-sizing(border-box); @include box-sizing(border-box);
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
&.problem-header { &.problem-header {
section.staff { section.staff {
margin-top: 30px; margin-top: 30px;
font-size: 80%; font-size: 80%;
} }
} }
@media screen and (max-width:1120px) { @media screen and (max-width:1120px) {
display: block; display: block;
width: auto; width: auto;
border-right: 0; border-right: 0;
} }
@media print { @media print {
display: block; display: block;
width: auto; width: auto;
border-right: 0; border-right: 0;
} }
} }
section.problem { section.problem {
display: table-cell; display: table-cell;
width: flex-grid(7, 9); width: flex-grid(7, 9);
padding-left: flex-gutter(9); padding-left: flex-gutter(9);
@media screen and (max-width:1120px) { @media screen and (max-width:1120px) {
display: block; display: block;
width: auto; width: auto;
padding: 0; padding: 0;
} }
@media print { @media print {
display: block; display: block;
width: auto; width: auto;
padding: 0; padding: 0;
...@@ -47,11 +47,11 @@ padding-left: flex-gutter(9); ...@@ -47,11 +47,11 @@ padding-left: flex-gutter(9);
canvas, img { canvas, img {
page-break-inside: avoid; page-break-inside: avoid;
} }
} }
div { div {
p.status { p.status {
text-indent: -9999px; text-indent: -9999px;
margin: -1px 0 0 10px; margin: -1px 0 0 10px;
...@@ -186,68 +186,62 @@ div { ...@@ -186,68 +186,62 @@ div {
top: 6px; top: 6px;
} }
} }
} }
ul { ul {
list-style: disc outside none; list-style: disc outside none;
margin-bottom: lh(); margin-bottom: lh();
margin-left: .75em; margin-left: .75em;
margin-left: .75rem; margin-left: .75rem;
} }
ol { ol {
list-style: decimal outside none; list-style: decimal outside none;
margin-bottom: lh(); margin-bottom: lh();
margin-left: .75em; margin-left: .75em;
margin-left: .75rem; margin-left: .75rem;
} }
dl { dl {
line-height: 1.4em; line-height: 1.4em;
} }
dl dt { dl dt {
font-weight: bold; font-weight: bold;
} }
dl dd { dl dd {
margin-bottom: 0; margin-bottom: 0;
} }
dd { dd {
margin-left: .5em; margin-left: .5em;
margin-left: .5rem; margin-left: .5rem;
} }
li { li {
line-height: 1.4em; line-height: 1.4em;
margin-bottom: lh(.5); margin-bottom: lh(.5);
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
} }
p { p {
margin-bottom: lh(); margin-bottom: lh();
} }
table { table {
margin-bottom: lh(); margin-bottom: lh();
width: 100%;
// border: 1px solid #ddd;
border-collapse: collapse; border-collapse: collapse;
table-layout: auto;
th { th {
// border-bottom: 2px solid #ccc;
font-weight: bold; font-weight: bold;
text-align: left; text-align: left;
} }
td {
// border: 1px solid #ddd;
}
caption, th, td { caption, th, td {
padding: .25em .75em .25em 0; padding: .25em .75em .25em 0;
padding: .25rem .75rem .25rem 0; padding: .25rem .75rem .25rem 0;
...@@ -265,9 +259,9 @@ table { ...@@ -265,9 +259,9 @@ table {
vertical-align: middle; vertical-align: middle;
} }
} }
hr { hr {
background: #ddd; background: #ddd;
border: none; border: none;
clear: both; clear: both;
...@@ -276,23 +270,23 @@ hr { ...@@ -276,23 +270,23 @@ hr {
height: 1px; height: 1px;
margin: 0 0 .75rem; margin: 0 0 .75rem;
width: 100%; width: 100%;
} }
.hidden { .hidden {
display: none; display: none;
visibility: hidden; visibility: hidden;
} }
#{$all-text-inputs} { #{$all-text-inputs} {
display: inline; display: inline;
width: auto; width: auto;
} }
// this supports a deprecated element and should be removed once the center tag is removed // this supports a deprecated element and should be removed once the center tag is removed
center { center {
display: block; display: block;
margin: lh() 0; margin: lh() 0;
border: 1px solid #ccc; border: 1px solid #ccc;
padding: lh(); padding: lh();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment