Skip to content

Instantly share code, notes, and snippets.

@shannonpeng
Last active September 14, 2018 20:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shannonpeng/99fb3c2e23f513bc5cca5086020b8659 to your computer and use it in GitHub Desktop.
Save shannonpeng/99fb3c2e23f513bc5cca5086020b8659 to your computer and use it in GitHub Desktop.
Courseroad Modern Theme
/* set all text to lowercase */
body {
text-transform: lowercase;
}
/* gray out prior credit */
.term.credit {
background: #dedede;
}
.term.credit .classdiv {
background: #efefef;
}
.termname {
color: #404040 !important;
}
/* clean up classes */
.year {
border: none;
border-top: 2px dotted rgba(0, 0, 0, 0.25);
}
.term {
background: white;
border: none;
text-align: left;
}
.term.iap {
display: none;
}
.freshman .term.iap {
display: block;
}
.classdiv {
width: 180px;
margin: 6px;
}
.bubble {
border: 2px solid transparent;
}
.classdivlabel {
border-bottom: 2px solid rgba(255, 255, 255, 0.5);
padding: 0.5em;
}
.classdivyear {
border-right: 2px solid rgba(255, 255, 255, 0.5);
padding: 0.5em;
}
.classdivhigh {
border: 2px solid rgba(0, 0, 0, 0.5);
margin: 6px;
}
.ui-helper-hidden-accessible {
display: none;
}
/* color classes by fall/iap/spring */
.term.fall .classdiv {
background: #FEB;
}
.term.iap .classdiv {
background: #E8F9FF;
}
.term.spring .classdiv {
background: #DFD;
}
/* color HASSes purple */
.classdiv.HASS, .classdiv.HA, .classdiv.HS, .classdiv.HH {
background: #e1c8f3 !important;
}
/* color GIRs gray */
.classdiv.PHY1, .classdiv.CHEM, .classdiv.PHY2, .classdiv.BIOL, .classdiv.CAL2, .classdiv.CAL1 {
background: #efefef !important;
}
/* hide wires */
.WireIt-Wire {
opacity: 0;
}
/* music concentration */
.classdiv[class*="21M_1"],
.classdiv[class*="21M_2"],
.classdiv[class*="21M_3"],
.classdiv[class*="21M_4"],
.classdiv[class*="21M_5"]{
background: #f9e5f7 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment