Skip to content

Commit

Permalink
Making the html5 template prettier when solutions are displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
jeady committed May 18, 2012
1 parent 153cda9 commit 3d68697
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html_template/template.html.erb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
li.selectmultiple ol.answers { vertical-align: center; list-style-type: none; list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAQMAAAC3R49OAAAABlBMVEUAAAD///+l2Z/dAAAAEklEQVQImWNgAIL6/w+ogoEAAKI4Kp2NVIeDAAAAAElFTkSuQmCC'); } li.selectmultiple ol.answers { vertical-align: center; list-style-type: none; list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAQMAAAC3R49OAAAABlBMVEUAAAD///+l2Z/dAAAAEklEQVQImWNgAIL6/w+ogoEAAKI4Kp2NVIeDAAAAAElFTkSuQmCC'); }
li.truefalse ol.answers { list-style-type: none; } li.truefalse ol.answers { list-style-type: none; }
li.truefalse ol.answers li { width: 15%; display: inline-block; } li.truefalse ol.answers li { width: 15%; display: inline-block; }
.correct { color: green }
.incorrect { color: red }
.explanation { font-style: italic }
.instructions { clear: both; border: 1px solid black; align: center; padding: 2ex; margin: 2ex; } .instructions { clear: both; border: 1px solid black; align: center; padding: 2ex; margin: 2ex; }
</style> </style>
</head> </head>
Expand Down

0 comments on commit 3d68697

Please sign in to comment.