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:
@ -1,3 +1,3 @@
|
||||
.site-footer {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
}
|
||||
|
@ -5,19 +5,19 @@
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-column-gap: 4rem;
|
||||
grid-row-gap: 10rem;
|
||||
grid-template-columns: repeat(4, [col] 1fr [col]);
|
||||
grid-template-rows: fit-content, fit-content, auto;
|
||||
grid-row-gap: 10rem;
|
||||
grid-column-gap: 4rem;
|
||||
}
|
||||
|
||||
.auto-grid {
|
||||
display: grid;
|
||||
grid-gap: var(--l-gap);
|
||||
grid-template-columns: repeat(
|
||||
auto-fill,
|
||||
minmax(var(--auto-grid-min-size), 1fr)
|
||||
);
|
||||
grid-gap: var(--l-gap);
|
||||
}
|
||||
|
||||
.small-left-grid {
|
||||
@ -30,23 +30,23 @@
|
||||
}
|
||||
|
||||
.block__dictionary {
|
||||
max-width: 50rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 50rem;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.block__word {
|
||||
grid-column: span 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-column: span 2;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
.block__type {
|
||||
align-items: flex-start;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 4fr;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.page {
|
||||
@ -62,11 +62,11 @@
|
||||
.box {
|
||||
background: black;
|
||||
color: white;
|
||||
padding: 1rem;
|
||||
margin: 1rem 0.5rem;
|
||||
height: auto;
|
||||
margin: 1rem 0.5rem;
|
||||
padding: 1rem;
|
||||
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,8 +2,8 @@
|
||||
// a sensible base font size
|
||||
font-size: 3rem;
|
||||
line-height: 0.75;
|
||||
padding: 0;
|
||||
margin: 0.5rem 0rem;
|
||||
padding: 0;
|
||||
// transform: rotateZ(90deg);
|
||||
// margin: 13rem -7rem;
|
||||
}
|
||||
@ -35,10 +35,10 @@
|
||||
}
|
||||
|
||||
.sub-headline {
|
||||
font-weight: bold;
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.summary {
|
||||
grid-column: span 2;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user