Commit a6c98a09 by Kyle Fiedler

Added new styles for tutorials

parent fb5ef90b
...@@ -466,8 +466,7 @@ a:visited { ...@@ -466,8 +466,7 @@ a:visited {
a:link, a:visited { a:link, a:visited {
text-decoration: none; } text-decoration: none; }
p a, li > a, span > a, a .inline { p a, li > a, span > a, a .inline {
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb; }
font-style: italic; }
a:hover, a:focus { a:hover, a:focus {
color: #000; } color: #000; }
...@@ -2780,9 +2779,29 @@ div.course-wrapper section.course-content ol.vert-mod > li:last-child { ...@@ -2780,9 +2779,29 @@ div.course-wrapper section.course-content ol.vert-mod > li:last-child {
div.course-wrapper section.course-content ol.vert-mod > li ul { div.course-wrapper section.course-content ol.vert-mod > li ul {
list-style: disc outside none; list-style: disc outside none;
padding-left: 1em; } padding-left: 1em; }
div.course-wrapper section.course-content section.tutorials h2 {
padding-bottom: 5.663px;
margin-bottom: 22.652px;
border-bottom: 1px solid #e3e3e3; }
div.course-wrapper section.course-content section.tutorials ul { div.course-wrapper section.course-content section.tutorials ul {
list-style: disc outside none; margin: 0;
margin-left: 22.652px; } zoom: 1; }
div.course-wrapper section.course-content section.tutorials ul:before, div.course-wrapper section.course-content section.tutorials ul:after {
content: "";
display: table; }
div.course-wrapper section.course-content section.tutorials ul:after {
clear: both; }
div.course-wrapper section.course-content section.tutorials ul li {
width: 31.522%;
float: left;
margin-right: 2.717%;
margin-bottom: 22.652px; }
div.course-wrapper section.course-content section.tutorials ul li:nth-child(3n) {
margin-right: 0; }
div.course-wrapper section.course-content section.tutorials ul li:nth-child(3n+1) {
clear: both; }
div.course-wrapper section.course-content section.tutorials ul li a {
font-weight: bold; }
div.course-wrapper section.course-content div.staff_info { div.course-wrapper section.course-content div.staff_info {
zoom: 1; zoom: 1;
white-space: pre-wrap; white-space: pre-wrap;
......
...@@ -63,7 +63,7 @@ a { ...@@ -63,7 +63,7 @@ a {
p &, li > &, span > &, .inline { p &, li > &, span > &, .inline {
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
font-style: italic; // font-style: italic;
} }
&:hover, &:focus { &:hover, &:focus {
......
...@@ -183,9 +183,33 @@ div.course-wrapper { ...@@ -183,9 +183,33 @@ div.course-wrapper {
} }
section.tutorials { section.tutorials {
h2 {
padding-bottom: lh(.25);
margin-bottom: lh();
border-bottom: 1px solid #e3e3e3;
}
ul { ul {
list-style: disc outside none; margin: 0;
margin-left: lh(); @include clearfix();
li {
width: flex-grid(3, 9);
float: left;
margin-right: flex-gutter(9);
margin-bottom: lh();
&:nth-child(3n) {
margin-right: 0;
}
&:nth-child(3n+1) {
clear: both;
}
a {
font-weight: bold;
}
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment