dumb markup stuff

This commit is contained in:
Dan Buch 2012-04-03 22:25:46 -04:00
parent 25d04fc9ea
commit 02d69ea1e0
3 changed files with 21 additions and 8 deletions

View File

@ -1,12 +1,10 @@
%html
%head
%title Linear Equations 2
%script{:type => "text/x-mathjax-config"}
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
%script{:type => "text/javascript", :src => "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"}
:css
.solution {
border-top: 1px dotted #222;
}
%link{:rel => 'stylesheet', :type => 'text/css', :href => './style.css'}
%body
%h2 Solve for $x$:
#solve-for-x-01.solution

View File

@ -1,12 +1,10 @@
%html
%head
%title Solving for a Variable
%script{:type => "text/x-mathjax-config"}
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
%script{:type => "text/javascript", :src => "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"}
:css
.solution {
border-top: 1px dotted #222;
}
%link{:rel => 'stylesheet', :type => 'text/css', :href => './style.css'}
%body
%h2 Solve for $l$:
#solve-for-l-01.solution

View File

@ -0,0 +1,17 @@
body {
color: #fefefe;
background: #222;
margin: 20px;
}
h2 {
text-shadow: 3px 3px #111;
margin-top: 40px;
}
.solution {
border-radius: 5px;
box-shadow: 2px 5px 5px #000;
padding: 10px;
background: #333;
}