Skip to content

Instantly share code, notes, and snippets.

@FluxCapacitor2
Last active December 21, 2023 07:26
Show Gist options
  • Save FluxCapacitor2/be66942a3292ae0db213abf6196d8f32 to your computer and use it in GitHub Desktop.
Save FluxCapacitor2/be66942a3292ae0db213abf6196d8f32 to your computer and use it in GitHub Desktop.
Print-friendly WebAssign user styles
@media print {
#js-student-header, #webAssignTop, form#wa, #assignmentWrapper, .js-question-header, .extraContent, #js-page-bottom, #js-assignment-take-footer, #js-student-footer, #js-assignment-header > div > div:nth-child(2) {
display: none;
}
#webAssignMain {
counter-reset: question;
}
.waQBox::before {
counter-increment: question;
content: "Question " counter(question);
}
.waQBox {
border-top-style: none;
break-after: page;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment