Index: static/scss/components/_lists.scss |
=================================================================== |
--- a/static/scss/components/_lists.scss |
+++ b/static/scss/components/_lists.scss |
@@ -9,17 +9,22 @@ |
// 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 ///////////////////////////////////////////////////// |
+/******************************************************************************* |
+ * Lists |
+ ******************************************************************************/ |
+ |
+/* Underlined List |
+ ******************************************************************************/ |
.underlined-list |
{ |
list-style: none; |
} |
.underlined-list li a |
{ |
@@ -30,46 +35,51 @@ |
color: $accent; |
} |
.underlined-list li:last-child a |
{ |
border-bottom: none; |
} |
-// For underlined lists that split into two columns, remove the |
-// border-bottom from the 2nd-to-last item on larger screens |
-// (when expanded to two columns) |
+/* |
juliandoucette
2017/11/06 13:06:57
NIT: I think you can start writing on the first li
ire
2017/11/06 14:41:16
Done.
|
+ * For underlined lists that split into two columns, remove the |
+ * border-bottom from the 2nd-to-last item on larger screens |
+ * (when expanded to two columns) |
+ */ |
.underlined-list .one-half:nth-last-child(2) a |
{ |
@media (min-width: $tablet-breakpoint) |
{ |
border-bottom: none; |
} |
} |
-// For underlined lists that 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) |
+/* |
+ * For underlined lists that 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 |
+ ******************************************************************************/ |
.horizontal-list |
{ |
display: inline; |
list-style: none; |
} |
.horizontal-list li |