123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- ///
- /// Paradigm Shift by HTML5 UP
- /// html5up.net | @ajlkn
- /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
- ///
- /* List */
- ol {
- list-style: decimal;
- margin: 0 0 _size(element-margin) 0;
- padding-left: 1.25rem;
- li {
- padding-left: 0.25rem;
- }
- }
- ul {
- list-style: disc;
- margin: 0 0 _size(element-margin) 0;
- padding-left: 1rem;
- li {
- padding-left: 0.325rem;
- }
- &.alt {
- list-style: none;
- padding-left: 0;
- > li {
- border-top: solid 1px _palette(border);
- padding: 0.75rem 0;
- &:first-child {
- border-top: 0;
- padding-top: 0;
- }
- &:last-child {
- padding-bottom: 0;
- }
- }
- }
- &.items {
- list-style: none;
- padding-left: 0;
- > li {
- padding-left: 0;
- margin: 0 0 (_size(element-margin) * 1.5) 0;
- > h3 {
- margin: 0 0 (_size(element-margin) * 0.5) 0;
- }
- > :last-child {
- margin-bottom: 0;
- }
- &:last-child {
- margin-bottom: 0;
- }
- }
- }
- @include breakpoint('<=small') {
- &.items {
- > li {
- margin: 0 0 (_size(element-margin) * 1) 0;
- }
- }
- }
- }
- dl {
- margin: 0 0 _size(element-margin) 0;
- dt {
- display: block;
- font-weight: _font(weight-bold);
- margin: 0 0 (_size(element-margin) * 0.5) 0;
- }
- dd {
- margin-left: (_size(element-margin) * 0.75);
- }
- }
|