Index: static/scss/components/_lists.scss |
=================================================================== |
--- a/static/scss/components/_lists.scss |
+++ b/static/scss/components/_lists.scss |
@@ -9,16 +9,54 @@ |
// help.eyeo.com is distributed in the hope that it will be useful, |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// GNU General Public License for more details. |
// |
// You should have received a copy of the GNU General Public License |
// along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. |
+// Underlined Lists ////////////////////////////////////////////////////////////////////// |
+ |
+.underlined-list |
+{ |
+ list-style: none; |
+} |
+ |
+.underlined-list li a |
+{ |
+ display: block; |
+ padding-top: $sm; |
+ padding-bottom: $sm; |
+ border-bottom: 1px dotted $gray; |
+ color: $accent; |
+} |
+ |
+.underlined-list li:last-child a |
+{ |
+ border-bottom: none; |
+} |
+ |
+// For underlined lists split into two columns, add a border-top |
+// to the first 2 children on larger screens, and only the first |
+// child on smaller screens (when collapsed to one column) |
+ |
+.underlined-list .one-half:nth-child(1) a |
+{ |
+ border-top: 1px dotted $gray; |
+} |
+ |
+.underlined-list .one-half:nth-child(2) a |
+{ |
+ @media (min-width: $tablet-breakpoint) |
+ { |
+ border-top: 1px dotted $gray; |
+ } |
+} |
+ |
// Horizontal List //////////////////////////////////////////////////////////////// |
.horizontal-list |
{ |
display: inline; |
list-style: none; |
} |