summaryrefslogtreecommitdiff
path: root/style/curriculum.less
diff options
context:
space:
mode:
Diffstat (limited to 'style/curriculum.less')
-rw-r--r--style/curriculum.less51
1 files changed, 51 insertions, 0 deletions
diff --git a/style/curriculum.less b/style/curriculum.less
new file mode 100644
index 0000000..5f02380
--- /dev/null
+++ b/style/curriculum.less
@@ -0,0 +1,51 @@
+@import "colors.less";
+
+body[data-page="curriculum"] #curriculum-menu {
+ /* reset list styles */
+ ul {
+ padding: 0;
+ margin: 0;
+ }
+ li {
+ list-style: none;
+ padding: 3px;
+ margin: 0;
+ }
+ .year {
+ display: block;
+ background: @color-complement-0;
+ }
+ .quartile {
+ background: @color-complement-1;
+ display: flex;
+
+ & > li {
+ flex: 1;
+ width: 100%;
+ }
+ }
+ .courses {
+ background: @color-complement-2;
+
+ & > li {
+ background: @color-complement-3;
+ margin: 2px inherit;
+ white-space: nowrap;
+ overflow: hidden;
+
+ &[data-type="bc"] {
+ background-color: #FFC000;
+ }
+ &[data-type="major"] {
+ background-color: #31859B;
+ }
+ &[data-type="elective"] {
+ background-color: #AB9AC0;
+ }
+ &[data-type="bep"] {
+ background-color: #C00000;
+ }
+ }
+ }
+}
+/* vim: set sw=4 et ts=4: */