Skip to content

Instantly share code, notes, and snippets.

@georgekinnear
Created December 7, 2021 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georgekinnear/e23d422a09067000168ed1846e8bd112 to your computer and use it in GitHub Desktop.
Save georgekinnear/e23d422a09067000168ed1846e8bd112 to your computer and use it in GitHub Desktop.
<style>
/* overall look */
body {
font-family: Arial;
}
.page-context-header {
padding: 0;
}
/* styling of course overview pages */
.topics a {
color: #87005b;
}
/* reduce gap between activity name and the description */
.section .activity .contentafterlink {
margin-top: 0;
}
/* make the headings within questions bold UoE blue */
.que h1, .que h2, .que h3, .que h4, .que h5, .que h6 {
font-weight: 600;
color: #002654;
}
.que h3.no {
font-weight: 600;
}
/* question boxes are a shade of UoE blue */
.que .formulation {
background-color: #eaf4ff;
border: 1px solid #cae2ff;
color: #333;
}
/* question info boxes - fix their width, make them UoE blue */
.que .info {
width: 8em;
background-color: #f1f7ff;
border-color: #e8edef;
}
/* add some space between checkbox and label */
.que label {
margin-left: 0.4em;
}
/* change alert-danger to a UoE colour */
.alert-danger {
color: #af003d;
background-color: #f4dde5;
}
/* quiz navigation */
.path-mod-quiz #mod_quiz_navblock h3.mod_quiz-section-heading {
font-size: medium;
font-weight: 350;
padding: 0.3em 0;
}
/* feedback */
.que .outcome, .que .comment {
color: #7d5a29;
background-color: #fcf2d4;
border-color: #fbe8cd;
}
/* STACK specific */
.que.stack .formulation .stackprtfeedback {
color: #7d5a29;
background-color: #fcf2d4;
border-radius: 4px;
border: 1px solid #7d5a2933;
}
.que.stack .stackinputfeedback.standard {
border: 1px solid #cde3ff;
background-color: #fff;
margin: 0;
padding: .5em .5em 0;
}
/* code */
code {
font-size: 87.5%;
color: #d60270;
word-wrap: break-word;
background: #ffffffaa;
padding: 0.2em;
}
</style>
@sangwinc
Copy link

sangwinc commented Dec 7, 2021

Thanks George,
I've taken a copy for the git repro which David Mash and I keep to record STACK setup. That will become the golden copy.
Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment