mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
* tooling: add stylelint and base configuration (see #74) * Autofix with stylelint on commit
This commit is contained in:
@ -3,8 +3,8 @@
|
||||
|
||||
&__title {
|
||||
font-family: $serif;
|
||||
font-weight: 900;
|
||||
font-size: 2.5rem;
|
||||
font-weight: 900;
|
||||
line-height: 1.25;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 0;
|
||||
@ -16,8 +16,8 @@
|
||||
@supports (display: grid) {
|
||||
// align-items: flex-start;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 4fr;
|
||||
grid-gap: 1rem;
|
||||
grid-template-columns: 1fr 4fr;
|
||||
|
||||
& > * {
|
||||
margin: 0;
|
||||
@ -25,17 +25,17 @@
|
||||
}
|
||||
|
||||
& > p {
|
||||
grid-column: 1 / -1;
|
||||
font-family: $sans-serif;
|
||||
font-size: 1.5rem;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
& h4 {
|
||||
grid-column: 1;
|
||||
flex: 0 1 auto;
|
||||
font-family: $con-sans;
|
||||
font-size: 0.85rem;
|
||||
font-weight: normal;
|
||||
flex: 0 1 auto;
|
||||
grid-column: 1;
|
||||
text-transform: uppercase;
|
||||
transform: translateY(0.4em);
|
||||
|
||||
@ -51,16 +51,16 @@
|
||||
|
||||
& h4 ~ p,
|
||||
& h4 ~ ul {
|
||||
font-size: inherit;
|
||||
// border-left: 0.1rem solid lightgrey;
|
||||
// padding-left: 1rem;
|
||||
grid-column: 2;
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
&__speech {
|
||||
font-size: 0.5em;
|
||||
font-family: $sans-serif;
|
||||
font-size: 0.5em;
|
||||
}
|
||||
|
||||
&__signal {
|
||||
@ -68,10 +68,10 @@
|
||||
color: var(--word-signal-color);
|
||||
display: inline-block;
|
||||
font-family: $ext-sans;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.15rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
text-transform: uppercase;
|
||||
|
||||
&--avoid {
|
||||
--word-signal-color: #a40000;
|
||||
|
Reference in New Issue
Block a user