mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-23 09:50:39 +00:00
334 lines
5.5 KiB
CSS
334 lines
5.5 KiB
CSS
@charset "UTF-8";
|
|
@import url("https://use.typekit.net/qlo3dpu.css");
|
|
:root {
|
|
--auto-grid-min-size: 17rem;
|
|
}
|
|
|
|
body {
|
|
border-top: 1rem solid red;
|
|
font-family: monotype-grotesque, "Lucida Sans", sans-serif;
|
|
font-size: 20px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-family: monotype-grotesque-extended, Arial Black, sans-serif;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.subtitle {
|
|
font-family: monotype-grotesque-extended, Arial Black, sans-serif;
|
|
font-weight: 400;
|
|
letter-spacing: 0.1;
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.summary {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
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-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
|
|
grid-gap: 1rem;
|
|
}
|
|
|
|
.box {
|
|
grid-column: span 2;
|
|
background: black;
|
|
color: white;
|
|
padding: 1rem;
|
|
padding: 2rem;
|
|
}
|
|
.box a {
|
|
color: white;
|
|
}
|
|
|
|
.list ul {
|
|
padding: 0 0 0 1em;
|
|
margin: 0;
|
|
}
|
|
.list li {
|
|
list-style: none;
|
|
padding-bottom: 0.5em;
|
|
text-transform: capitalize;
|
|
}
|
|
.list li.subterm {
|
|
padding-left: 10px;
|
|
}
|
|
.list li:last-child {
|
|
padding: 0;
|
|
}
|
|
.list li.subterm:before {
|
|
content: "↳";
|
|
padding-right: 5px;
|
|
}
|
|
|
|
@media screen and (min-width: 200px) {
|
|
#title, #description, #summary {
|
|
grid-column: span 4;
|
|
}
|
|
|
|
body {
|
|
padding: 1em;
|
|
}
|
|
|
|
.list, .item {
|
|
grid-column: span 4;
|
|
}
|
|
|
|
.list {
|
|
padding: 0 auto;
|
|
margin: 0;
|
|
}
|
|
|
|
.title__thicc {
|
|
font-size: 9vw;
|
|
line-height: 0.75;
|
|
padding: 0;
|
|
margin: 0.5rem 0rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.25em;
|
|
}
|
|
}
|
|
@media screen and (min-width: 600px) {
|
|
body {
|
|
padding: 2em;
|
|
}
|
|
|
|
.grid {
|
|
grid-row-gap: 1em;
|
|
}
|
|
|
|
#title {
|
|
grid-column: 1/span 2;
|
|
grid-row: 1;
|
|
}
|
|
|
|
#summary {
|
|
grid-column: 3/span 2;
|
|
grid-row: 1;
|
|
}
|
|
|
|
#description {
|
|
grid-column: span 4;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.item {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3.5em;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.3em;
|
|
}
|
|
}
|
|
.small {
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
#title {
|
|
grid-column: 1/span 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
#description {
|
|
grid-column: 2/span 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
#summary {
|
|
grid-column: 1/span 1;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.list {
|
|
grid-row: span 3;
|
|
grid-column: span 1;
|
|
}
|
|
}
|
|
.block__dictionary {
|
|
max-width: 50rem;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.block__word {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 1rem;
|
|
}
|
|
|
|
p {
|
|
margin: 0.75rem 0;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.style__italics {
|
|
font-style: italic;
|
|
}
|
|
|
|
.word__title {
|
|
font-family: orpheuspro, Palatino, Times, serif;
|
|
font-weight: 900;
|
|
font-size: 2.5rem;
|
|
line-height: 1.25;
|
|
}
|
|
.word__definition {
|
|
font-family: monotype-grotesque, "Lucida Sans", sans-serif;
|
|
font-size: 1.5rem;
|
|
}
|
|
.word__speech {
|
|
font-size: 0.5em;
|
|
font-family: monotype-grotesque, "Lucida Sans", sans-serif;
|
|
}
|
|
.word__signal {
|
|
border-top: 1px solid currentcolor;
|
|
display: inline-block;
|
|
font-family: monotype-grotesque-extended, Arial Black, sans-serif;
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.15rem;
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
.word__signal__avoid {
|
|
color: red;
|
|
}
|
|
.word__signal__avoid:before {
|
|
content: "🚨";
|
|
margin-left: -2.15rem;
|
|
}
|
|
.word__signal__better {
|
|
color: green;
|
|
}
|
|
.word__signal__better:before {
|
|
content: "👍";
|
|
margin-left: -2.15rem;
|
|
}
|
|
.word__signal__tool {
|
|
color: black;
|
|
}
|
|
.word__signal__tool:before {
|
|
content: "🧰";
|
|
margin-left: -2.15rem;
|
|
}
|
|
.word__link {
|
|
text-decoration: none;
|
|
color: black;
|
|
border-bottom: darkgrey solid 0.1em;
|
|
font-family: monotype-grotesque-extended, Arial Black, sans-serif;
|
|
}
|
|
|
|
.block__dictionary {
|
|
max-width: 50rem;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.auto-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
|
|
grid-gap: 1rem;
|
|
}
|
|
|
|
.block__word {
|
|
grid-column: span 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 1rem;
|
|
}
|
|
|
|
p {
|
|
margin: 0.75rem 0;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.style__italics {
|
|
font-style: italic;
|
|
}
|
|
|
|
.word__title {
|
|
font-family: orpheuspro, Palatino, Times, serif;
|
|
font-weight: 900;
|
|
font-size: 2.5rem;
|
|
line-height: 1.25;
|
|
}
|
|
.word__definition {
|
|
font-family: monotype-grotesque, "Lucida Sans", sans-serif;
|
|
font-size: 1.5rem;
|
|
}
|
|
.word__speech {
|
|
font-size: 0.5em;
|
|
font-family: monotype-grotesque, "Lucida Sans", sans-serif;
|
|
}
|
|
.word__signal {
|
|
border-top: 1px solid currentcolor;
|
|
display: inline-block;
|
|
font-family: monotype-grotesque-extended, Arial Black, sans-serif;
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.15rem;
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
.word__signal__avoid {
|
|
color: red;
|
|
}
|
|
.word__signal__avoid:before {
|
|
content: "🚨";
|
|
margin-left: -2.15rem;
|
|
}
|
|
.word__signal__better {
|
|
color: green;
|
|
}
|
|
.word__signal__better:before {
|
|
content: "👍";
|
|
margin-left: -2.15rem;
|
|
}
|
|
|
|
.block__type {
|
|
display: grid;
|
|
grid-template-columns: 1fr 4fr;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.word__type {
|
|
text-align: right;
|
|
padding-right: 1rem;
|
|
font-family: monotype-grotesque-condensed, Arial Narrow, sans-serif;
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.word__link {
|
|
text-decoration: none;
|
|
color: black;
|
|
border-bottom: darkgrey solid 0.1em;
|
|
font-family: monotype-grotesque-extended, Arial Black, sans-serif;
|
|
}
|
|
|
|
.word__breakdown {
|
|
font-family: monotype-grotesque, "Lucida Sans", sans-serif;
|
|
border-left: 0.1rem solid lightgrey;
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
/*# sourceMappingURL=base.css.map */
|