Commit f785f6f8 by Kyle Fiedler

Added some nicer styles for dynamic math

parent 8a5e872c
<form class="option-input"> <form class="option-input">
<select name="input_${id}" id="input_${id}" > <select name="input_${id}" id="input_${id}" >
<option value="option_${id}_dummy_default"> </option> <option value="option_${id}_dummy_default"> </option>
% for option_id, option_description in options: % for option_id, option_description in options:
......
...@@ -137,11 +137,19 @@ section.problem { ...@@ -137,11 +137,19 @@ section.problem {
div.equation { div.equation {
clear: both; clear: both;
padding: 6px; margin-top: 3px;
background: #eee;
span { span {
margin-bottom: 0; margin-bottom: 0;
&.math {
padding: 6px;
background: #f1f1f1;
border: 1px solid #e3e3e3;
@include inline-block;
@include border-radius(4px);
min-width: 300px;
}
} }
} }
...@@ -227,8 +235,21 @@ section.problem { ...@@ -227,8 +235,21 @@ section.problem {
} }
} }
} }
}
// .option-problem {
// @include clearfix;
// > p {
// float: left;
// width: flex-grid(6,9);
// }
// > span {
// float: right;
// width: flex-grid(3,9);
// }
// }
}
ul { ul {
list-style: disc outside none; list-style: disc outside none;
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
$(this).parent().parent().toggleClass('open'); $(this).parent().parent().toggleClass('open');
return false return false
}); });
}); });
</script> </script>
</%block> </%block>
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