mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 17:30:00 +00:00
beb2f5db69
* Adding link changes with text-decoration and background * Update assets/css/base/_a.scss Co-Authored-By: EJ Mason <eliasjmason@gmail.com> * Add SCSS variable Co-authored-by: Conlin Durbin <conlin@lessonly.com> Co-authored-by: EJ Mason <eliasjmason@gmail.com> Co-authored-by: Tatiana Mac <github@tatianamac.com>
74 lines
1.1 KiB
SCSS
74 lines
1.1 KiB
SCSS
.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;
|
|
}
|
|
|
|
.auto-grid {
|
|
display: grid;
|
|
grid-gap: var(--l-gap);
|
|
grid-template-columns: repeat(
|
|
auto-fill,
|
|
minmax(var(--auto-grid-min-size), 1fr)
|
|
);
|
|
}
|
|
|
|
.small-left-grid {
|
|
display: grid;
|
|
grid-gap: 1rem;
|
|
|
|
@media (min-width: #{pxToRem(800)}) {
|
|
grid-template-columns: 10rem 60ch;
|
|
}
|
|
}
|
|
|
|
.block__dictionary {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 50rem;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.block__word {
|
|
display: flex;
|
|
flex-direction: column;
|
|
grid-column: span 2;
|
|
margin: 1rem;
|
|
}
|
|
|
|
.block__type {
|
|
align-items: flex-start;
|
|
display: grid;
|
|
grid-template-columns: 1fr 4fr;
|
|
}
|
|
|
|
.page {
|
|
align-items: start;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
|
|
& > * {
|
|
grid-column: 1;
|
|
}
|
|
}
|
|
|
|
.box {
|
|
background: black;
|
|
color: white;
|
|
grid-column: span 2;
|
|
height: auto;
|
|
margin: 1rem 0.5rem;
|
|
padding: 1rem;
|
|
|
|
a {
|
|
color: white;
|
|
|
|
&:focus {
|
|
background-color: $lt-background-color;
|
|
color: $black;
|
|
}
|
|
}
|
|
}
|