mirror of
https://github.com/danog/sass-site.git
synced 2024-12-13 18:07:35 +01:00
67 lines
902 B
SCSS
67 lines
902 B
SCSS
.sl-c-list {
|
|
|
|
&,
|
|
&-horizontal-wrapper ul,
|
|
&-navigation-wrapper ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
&-horizontal-wrapper {
|
|
|
|
@include sl-breakpoint--large {
|
|
|
|
ul {
|
|
display: flex;
|
|
margin: {
|
|
right: -0.5rem;
|
|
left: -0.5rem;
|
|
};
|
|
}
|
|
|
|
li {
|
|
padding: {
|
|
right: .5rem;
|
|
left: .5rem;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
&-navigation-wrapper {
|
|
position: relative;
|
|
|
|
li {
|
|
margin: .5rem 0;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
ul ul { margin: 0 0 0 1rem; }
|
|
}
|
|
}
|
|
|
|
.sl-c-description-list--horizontal {
|
|
margin: {
|
|
right: -1rem;
|
|
left: -1rem;
|
|
};
|
|
|
|
&,
|
|
> div { display: flex; }
|
|
|
|
> div {
|
|
border-left: 1px solid $sl-color--iron;
|
|
padding: 0 1rem;
|
|
|
|
&:first-child { border: 0; }
|
|
}
|
|
|
|
dt,
|
|
dd {
|
|
padding-left: 1rem;
|
|
|
|
&:first-child { padding-left: 0; }
|
|
}
|
|
}
|