Files
edx-platform/lms/static/sass/course/_syllabus.scss
Adam Butterworth 42cc0d0145 Fix all stylelint errors (#23920)
* Fix all stylelint errors

For any errors that fixing would require changing the output of the css disable stylelint for that line instead of modifying.

* Update quality.py

Make stylelint quality check pass when there are no errors

* Delete empty selectors
2020-05-06 16:07:14 -04:00

61 lines
900 B
SCSS

div.syllabus {
padding: 2em 2.5em;
text-align: center;
h1 {
@extend .top-header;
}
.notes {
margin: 0 auto 20px;
}
table {
table-layout: auto;
text-align: left;
margin: ($baseline/2) 0;
thead {
font-weight: bold;
border-bottom: 1px solid black;
}
tr.first {
td {
padding-top: 15px !important;
}
}
td {
border: none !important;
padding: 5px 10px !important;
vertical-align: middle;
font-size: 1em !important;
line-height: auto;
&.day,
&.due,
&.slides,
&.assignment {
white-space: nowrap !important;
}
&.no_class {
text-align: center;
}
&.important {
color: red;
}
&.week_separator {
padding: 0 !important;
hr {
margin: ($baseline/2);
}
}
}
}
}