Created
October 11, 2016 15:58
-
-
Save AndyNovo/156fd85e706db065f43c5f5a64952a74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* University of Deleware Custom Theme Stylesheet | |
* ----------------------------------------------------------------------------- | |
* Colors | |
* ----------------------------------------------------------------------------- | |
* #00539F Blue | |
* #FFD200 Yellow | |
* #bed600 Green - MBA only | |
*/ | |
/* Fix some issues */ | |
div > p:first-child { | |
margin-top: 0; | |
} | |
/* Base Classes */ | |
.main-content-area { | |
margin-left: 1em; | |
margin-right: 1em; | |
} | |
/* Custom Icon */ | |
div.custom-icon > img { | |
float: left; | |
padding: 0 1em .5em 0; | |
max-width: 70px !important; | |
max-height: 70px; | |
min-width: 50px; | |
min-height: 50px; | |
width: 100%; | |
height: auto; | |
} | |
div.custom-icon > div { | |
overflow: hidden; | |
} | |
div.custom-icon + * { | |
clear: both; | |
} | |
/* Custom Image Text Combo classes */ | |
.ic-image-text-combo.bio { | |
align-items: flex-start; | |
} | |
.ic-image-text-combo.bio .ic-avatar { | |
height: auto; | |
vertical-align: top; | |
width: 114px; | |
} | |
.ic-image-text-combo.bio .ic-avatar img { | |
vertical-align: top; | |
} | |
/* Custom Text Icon */ | |
div.custom-text-icon > img { | |
float: left; | |
padding: 0 1em .5em 0; | |
max-width: 100px !important; | |
max-height: 100px; | |
min-width: 80px; | |
min-height: 80px; | |
width: 100%; | |
height: auto; | |
} | |
div.custom-text-icon > div { | |
overflow: hidden; | |
} | |
div.custom-text-icon + * { | |
clear: both; | |
} | |
/* Header Styles */ | |
.header { | |
border-bottom: 0.125em solid #00539F; | |
color: #00539F; | |
margin-top: 0.5em; | |
margin-bottom: 0.5em; | |
padding-bottom: 5px; | |
} | |
.simple { | |
border-bottom: none; | |
margin-bottom: 0; | |
padding-bottom: 0; | |
line-height: 1; | |
} | |
.table { | |
text-align: center; | |
margin-bottom: 0; | |
line-height: 2; | |
} | |
/* List Styles */ | |
ol > ol { | |
list-style-type: lower-alpha; | |
} | |
ol > ol > ol { | |
list-style-type: lower-roman; | |
} | |
ol.bold > li { | |
font-weight: bold; | |
} | |
ol.bold > li > * { | |
font-weight: normal; | |
} | |
/* Table Styles */ | |
table.custom-table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
border-bottom: 6px solid #00539F; | |
} | |
table.custom-table.hover tbody tr { | |
transition: background-color 0.3s; | |
} | |
table.custom-table.hover tbody tr:hover { | |
background-color: #FFF4C0 !important; | |
} | |
table.custom-table tbody th { | |
color: #00539F; | |
} | |
table.custom-table th, .custom-table td { | |
border: none; | |
vertical-align: top; | |
} | |
table.custom-table th p:first-of-type, .custom-table td p:first-of-type { | |
padding-top: 0; | |
margin-top: 0; | |
} | |
table.custom-table th p:last-of-type, .custom-table td p:last-of-type { | |
padding-bottom: 0; | |
margin-bottom: 0; | |
} | |
table.custom-table thead th { | |
background: #00539F; | |
color: #ffffff; | |
padding-top: 7px; | |
} | |
table.custom-table tbody, .custom-table thead { | |
border-right: 1px solid #00539F; | |
border-left: 1px solid #00539F; | |
} | |
table.custom-table tbody tr:nth-child(odd) { | |
background-color: #E0EAF3; | |
} | |
table.custom-table tbody th, .custom-table tbody td { | |
border-right: 1px solid rgba(0, 83, 159, .1); | |
} | |
table.custom-table tbody td:last-child { | |
border: none; | |
} | |
/* Rubric Table */ | |
table.rubric { | |
width: 95%; | |
margin: 0 auto; | |
} | |
table.rubric th, | |
table.rubric td { | |
vertical-align: top !important; | |
} | |
table.rubric th:last-of-type, | |
table.rubric td:last-of-type { | |
text-align: right; | |
} | |
table.rubric tbody td:first-of-type { | |
width: 225px; | |
max-width: 225px; | |
min-width: 200px; | |
} | |
table.rubric tbody td:last-of-type { | |
white-space: nowrap; | |
} | |
/* Custom Button Styles */ | |
.custom-btn-set { | |
margin-left: 0; | |
margin-right: 0; | |
} | |
.custom-btn-set > div { | |
color: #FFD200; | |
padding: 0; | |
margin-bottom: .25em; | |
margin-right: 0; | |
text-align: center; | |
} | |
.custom-btn-set.mba > div { | |
color: #bed600; | |
} | |
.custom-btn-set a { | |
background-color: #00539F; | |
border-radius: .25em; | |
color: inherit; | |
display: block; | |
font-size: 1.5em; | |
font-weight: bold; | |
margin: 0 .125em 0 .125em; | |
padding: .5em; | |
text-decoration: none; | |
transition: box-shadow 0.6s; | |
} | |
.custom-btn-set a > span { | |
display: block; | |
margin: 0; | |
overflow-x: hidden; | |
padding: 0; | |
text-overflow: ellipsis; | |
transition: width 0.6s, margin 0.6s; | |
width: 100%; | |
white-space: nowrap; | |
} | |
.custom-btn-set a:hover { | |
box-shadow: inset 0 -6px 0 0 #FFD200; | |
} | |
.custom-btn-set.mba a:hover { | |
box-shadow: inset 0 -6px 0 0 #bed600; | |
} | |
/* Text-in-a-box Callout */ | |
.box-callout { | |
margin-bottom: 1em; | |
} | |
.box-callout > div { | |
border: 3px solid #00539F; | |
padding: .5em .75em; | |
} | |
.box-callout h2 { | |
background-color: #00539F; | |
color: #ffffff; | |
display: block; | |
margin: 0; | |
padding: .25em 0 calc(.25em - 3px) .5em; | |
} | |
/* Accordion styles */ | |
.accordion-auto-height > div { | |
padding: 1em !important; | |
} | |
/* hide the name and avatar of author from discussion posts*/ | |
#discussion_topic a.avatar { | |
display: none; | |
} | |
#discussion_topic a.author { | |
display: none; | |
} | |
/* Popover Container */ | |
.udelPopoverContainer { | |
height: 0; | |
margin: 1em 0; | |
overflow: hidden; | |
padding-bottom: 100%; | |
position: relative; | |
} | |
.udelPopoverContainer.ninety { | |
padding-bottom: 90%; | |
} | |
.udelPopoverContainer.eighty { | |
padding-bottom: 80%; | |
} | |
.udelPopoverContainer.seventy { | |
padding-bottom: 70%; | |
} | |
.udelPopoverContainer.sixty { | |
padding-bottom: 60%; | |
} | |
.udelPopoverContainer.fifty { | |
padding-bottom: 50%; | |
} | |
/* Video Container */ | |
.udelVideoContainer { | |
height: 0; | |
margin: 0 0 1em 0; | |
overflow: hidden; | |
padding-bottom: 56.25%; | |
position: relative; | |
} | |
.udelVideoContainerCielo { | |
height: 0; | |
margin: 0 0 1em 0; | |
overflow: hidden; | |
padding-bottom: calc(56.25% + 236px); | |
position: relative; | |
} | |
.udelVideoContainerCielo iframe { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} | |
.udelVideoContainer iframe, .udelVideoContainer img, .udelPopoverContainer iframe { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} | |
/* Course Home Page Styles */ | |
h2.home-header { | |
border-bottom: 1px solid #000; | |
font-weight: bold; | |
text-transform: uppercase; | |
} | |
div.header-box { | |
background-color: #728291; | |
background-image: url('https://content2.learntoday.info/udel/assets/img/homepagebg2.jpg'); | |
background-position: 0% 40%; | |
background-repeat: no-repeat; | |
background-size: 100% auto; | |
display: block; | |
height: auto; | |
max-width: 100%; | |
position: relative; | |
text-align: center; | |
text-transform: uppercase; | |
} | |
div.header-box img.logo { | |
border-right: 0; | |
display: block; | |
filter: drop-shadow(0 4px 7px rgba(1, 1, 1, .75)); | |
-webkit-filter: drop-shadow(0 4px 7px rgba(1, 1, 1, .75)); | |
height: 64px; | |
margin: 0 auto; | |
padding: 2em 0; | |
vertical-align: top; | |
width: auto; | |
} | |
div.header-box h2 { | |
color: #fff; | |
display: inline-block; | |
filter: drop-shadow(0 4px 7px rgba(1, 1, 1, .75)); | |
-webkit-filter: drop-shadow(0 4px 7px rgba(1, 1, 1, .75)); | |
font-family: 'Helvetica', sans-serif; | |
font-weight: bold; | |
margin: 0 auto; | |
text-align: center; | |
} | |
div.header-box h2 span { | |
display: block; | |
font-weight: normal; | |
margin: -.4em auto auto auto; | |
text-transform: none; | |
} | |
div.header-box .nav-banner { | |
margin-top: 2em; | |
padding: 0; | |
} | |
div.header-box .nav-banner span { | |
background-color: #00539F; | |
border-radius: 2em; | |
box-shadow: 0 4px 7px rgba(1, 1, 1, .75); | |
color: #fff; | |
display: inline-block; | |
font-family: 'Helvetica', sans-serif; | |
font-size: 12pt; | |
font-weight: normal; | |
padding: .25em 1em .125em 1em; | |
margin: .5em 0; | |
text-transform: uppercase; | |
} | |
div.header-box .module-buttons { | |
border-top: 3px solid #fff; | |
counter-reset: module-link; | |
margin-top: calc(-14pt + -.375em + -1px); | |
padding-bottom: 2em; | |
padding-top: calc(14pt + 1.375em + 1px); | |
} | |
div.header-box .module-buttons a:before { | |
counter-increment: module-link; | |
content: counter(module-link); | |
} | |
div.header-box .module-buttons a:first-child:before { | |
counter-reset: module-link; | |
content: 'Start'; | |
display: inline-block; | |
font-size: 9pt; | |
position: relative; | |
top: -2px; | |
vertical-align: middle; | |
transform: scaleY(1.3); | |
} | |
div.header-box .module-buttons a { | |
background-color: #fff; | |
border-radius: 50%; | |
color: #00539F; | |
display: inline-block; | |
filter: drop-shadow(0 4px 7px rgba(1, 1, 1, .75)); | |
-webkit-filter: drop-shadow(0 4px 7px rgba(1, 1, 1, .75)); | |
font-family: 'Helvetica', sans-serif; | |
font-size: 24pt; | |
font-weight: bold; | |
height: 36pt; | |
margin: 0 .5em; | |
position: relative; | |
width: 36pt; | |
} | |
div.header-box .module-buttons a:hover, div.header-box .module-buttons a:focus { | |
background-color: #b7a66d; | |
color: #fff; | |
text-decoration: none !important; | |
} | |
div.teacher-box { | |
margin: 2em 0; | |
} | |
div.teacher-box img { | |
float: left; | |
margin: 0 1em 0 0; | |
} | |
div.teacher-box div { | |
background-image: linear-gradient( to bottom, #fcfcfc, #e9e9e9); | |
border-bottom: 2px solid #b6a56d; | |
border-right: 2px solid #b6a56d; | |
border-top: 2px solid #b6a56d; | |
box-sizing: border-box; | |
box-shadow: 0 2px 5px rgba(1, 1, 1, .5); | |
max-height: 100px; | |
min-height: 100px; | |
padding: 1em 3em 1em 0; | |
} | |
div.teacher-box div p { | |
font-family: 'Helvetica', sans-serif; | |
margin: 0; | |
padding: 0; | |
} | |
div.teacher-box div hr { | |
border-color: #000; | |
margin: .25em 0 .5em 0; | |
padding: 0; | |
} | |
div.teacher-box div p.teacher-name { | |
font-size: 16pt; | |
font-weight: bold; | |
} | |
div.teacher-box div p.teacher-info { | |
font-size: 14pt; | |
font-weight: 300; | |
} | |
@media screen and (max-width: 1032px) { | |
div.header-box h2 { | |
font-size: 1.4em; | |
} | |
div.header-box img.logo { | |
height: 50px; | |
} | |
div.header-box .nav-banner span { | |
font-size: 10pt; | |
} | |
div.header-box .module-buttons { | |
margin-top: calc(-10pt + -.375em + -1px); | |
padding-top: calc(10pt + 1.375em + 1px); | |
} | |
div.header-box .module-buttons a { | |
margin: 0 .0625em; | |
} | |
div.header-box .nav-banner { | |
margin-top: 1em; | |
} | |
div.teacher-box div p.teacher-info a.tbio:before { | |
content: 'About'; | |
} | |
div.teacher-box div p.teacher-info a.tbio span { | |
display: none; | |
} | |
div.teacher-box div p.teacher-info a.temail:before { | |
content: 'Email' | |
} | |
div.teacher-box div p.teacher-info a.temail span { | |
display: none; | |
} | |
} | |
/* Let's match the font of the Canvas instance */ | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
} | |
section { | |
padding: 1em; | |
} | |
section:nth-child(n+5) { | |
border-bottom: 1px dotted #ccc; | |
} | |
.task, .task:before { | |
border-radius: 1em 0 0 1em; | |
-moz-border-radius: 1em 0 0 1em; | |
-webkit-border-radius: 1em 0 0 1em; | |
} | |
.task:before { | |
box-sizing: border-box; | |
color: #fff; | |
content: '\2714'; | |
height: 100%; | |
margin: -0.5em -0.5em -0.7em -2.5em; | |
padding: .5em 0 0 3px; | |
position: absolute; | |
text-align: center; | |
width: 2em; | |
} | |
.task { | |
padding: 0.5em 0.5em 0.7em 2.5em; | |
position: relative; | |
} | |
.task > .task { | |
border: 3px solid #fff; | |
} | |
.easy:before { | |
background-color: #5a8e22; | |
} | |
.easy { | |
background-color: rgba(90, 142, 34, 0.2) !important; | |
} | |
.medium:before { | |
background-color: #ee8200; | |
} | |
.medium { | |
background-color: rgba(238, 130, 0, 0.2) !important; | |
} | |
.hard:before { | |
background-color: #af1e2d; | |
} | |
.hard { | |
background-color: rgba(175, 30, 45, 0.2) !important; | |
} | |
.github-gist.failed { | |
background-color: #C4D8E5; | |
border-radius: 3px; | |
-moz-border-radius: 3px; | |
-webkit-border-radius: 3px; | |
color: #003976; | |
cursor: pointer; | |
font-size: 1.2em; | |
padding: 1em; | |
text-align: center; | |
user-select: none; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment