mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-19 16:19:16 +00:00
🚛 Remove codekit config
This commit is contained in:
commit
5890e2e8ee
8
.editorconfig
Normal file
8
.editorconfig
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
root=true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
line_length = 120
|
47
.eleventy.js
Normal file
47
.eleventy.js
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
module.exports = function (config) {
|
||||||
|
// Add a filter using the Config API
|
||||||
|
config.addFilter('linkTarget', (slug) => `#${slug}`);
|
||||||
|
|
||||||
|
config.addFilter('postInspect', function (post) {
|
||||||
|
console.log(post);
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
config.addPassthroughCopy({'_site/css/': 'assets/css/'})
|
||||||
|
|
||||||
|
// Add collections here
|
||||||
|
config.addCollection('definitions', collection => {
|
||||||
|
return [
|
||||||
|
...collection
|
||||||
|
.getFilteredByGlob('./11ty/definitions/*.md')
|
||||||
|
.sort((a, b) => {
|
||||||
|
// `toLowerCase()` is just a safety measure, slugs should be lower case anyway
|
||||||
|
// `localeCompare()` is super cool: http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare
|
||||||
|
return a.data.slug.toLowerCase().localeCompare(b.data.slug.toLowerCase())
|
||||||
|
})]
|
||||||
|
})
|
||||||
|
|
||||||
|
config.addCollection('definedDefinitions', collection => {
|
||||||
|
return [
|
||||||
|
...collection
|
||||||
|
.getFilteredByGlob('./11ty/definitions/*.md')
|
||||||
|
.filter(word => word.data.defined)
|
||||||
|
.sort((a, b) => {
|
||||||
|
// `toLowerCase()` is just a safety measure, slugs should be lower case anyway
|
||||||
|
// `localeCompare()` is super cool: http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare
|
||||||
|
return a.data.slug.toLowerCase().localeCompare(b.data.slug.toLowerCase())
|
||||||
|
})]
|
||||||
|
})
|
||||||
|
|
||||||
|
// You can return your Config object (optional).
|
||||||
|
return {
|
||||||
|
dir: {
|
||||||
|
input: '11ty',
|
||||||
|
output: 'dist'
|
||||||
|
},
|
||||||
|
templateFormats: ['njk', 'md'],
|
||||||
|
htmlTemplateEngine: 'njk',
|
||||||
|
markdownTemplateEngine: 'njk',
|
||||||
|
passthroughFileCopy: true
|
||||||
|
};
|
||||||
|
};
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
config.codekit3
|
||||||
|
5
.prettierrc
Normal file
5
.prettierrc
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"semi": true,
|
||||||
|
"singleQuote": true,
|
||||||
|
"useTabs": false
|
||||||
|
}
|
9
11ty/_data/metadata.json
Normal file
9
11ty/_data/metadata.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"title": "selfdefined",
|
||||||
|
"url": "https://www.selfdefined.app/",
|
||||||
|
"description": "A modern dictionary about us.",
|
||||||
|
"author": {
|
||||||
|
"name": "Tatiana & the Crew",
|
||||||
|
"email": "info@selfdefined.app"
|
||||||
|
}
|
||||||
|
}
|
16
11ty/_includes/components/definition.njk
Normal file
16
11ty/_includes/components/definition.njk
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<article id={{ definition.data.slug }} class="block__word word">
|
||||||
|
<h3 class="word__title">
|
||||||
|
{{ definition.data.title}}
|
||||||
|
<span class="word__speech">{{ definition.data.speech}}</span>
|
||||||
|
</h3>
|
||||||
|
{{ definition.templateContent | safe }}
|
||||||
|
{# <p>{{ definition.data.alt_words }}</p> #}
|
||||||
|
{%- if definition.data.alt_words -%}
|
||||||
|
<h4>Alt words</h4>
|
||||||
|
<ul class="list-semicolon">
|
||||||
|
{% for word in definition.data.alt_words %}
|
||||||
|
<li>{{ word }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
</article>
|
5
11ty/_includes/components/defintions-list.njk
Normal file
5
11ty/_includes/components/defintions-list.njk
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div class="auto-grid">
|
||||||
|
{% for definition in collections.definedDefinitions %}
|
||||||
|
{% include 'components/definition.njk' %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
54
11ty/_includes/layouts/base.njk
Normal file
54
11ty/_includes/layouts/base.njk
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1.0"
|
||||||
|
>
|
||||||
|
|
||||||
|
<title>{{ renderData.title or title or metadata.title }}</title>
|
||||||
|
<meta
|
||||||
|
name="description"
|
||||||
|
content="{{ renderData.description or description or metadata.description }}"
|
||||||
|
>
|
||||||
|
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="{{ 'assets/css/base.css' | url }}"
|
||||||
|
>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
{{ content | safe }}
|
||||||
|
<section>
|
||||||
|
<h2>Table of Content</h2>
|
||||||
|
<div class="auto-grid list">
|
||||||
|
<ul>
|
||||||
|
{% for definition in collections.definitions %}
|
||||||
|
{% set renderedName %}
|
||||||
|
{{ definition.data.title}}
|
||||||
|
{%- if definition.data.flag and (definition.data.flag.level == 'avoid') -%}
|
||||||
|
<span class="flag__red">{{ definition.data.flag.type }}</span>
|
||||||
|
{% endif %}
|
||||||
|
{% endset %}
|
||||||
|
<li>
|
||||||
|
{%- if definition.data.defined -%}
|
||||||
|
<a
|
||||||
|
href={{ definition.data.slug | linkTarget | url }}
|
||||||
|
class="word__link"
|
||||||
|
>{{ renderedName | safe }}</a>
|
||||||
|
{%- else -%}
|
||||||
|
{{ renderedName | safe }}
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<h2>Words</h2>
|
||||||
|
{% include 'components/defintions-list.njk' %}
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</body>
|
5
11ty/definitions/bierasure.md
Normal file
5
11ty/definitions/bierasure.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: Bierasure
|
||||||
|
slug: bierasure
|
||||||
|
defined: false
|
||||||
|
---
|
18
11ty/definitions/bisexual.md
Normal file
18
11ty/definitions/bisexual.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
title: Bisexual
|
||||||
|
slug: bisexual
|
||||||
|
speech: adj
|
||||||
|
defined: true
|
||||||
|
---
|
||||||
|
|
||||||
|
of, relating to, or characterised by being sexually attracted to more than one gender.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
#### Note
|
||||||
|
|
||||||
|
Bisexuality does not preclude attraction to [non-binary](#non-binary) or [transgender](#transgender) people.
|
||||||
|
|
||||||
|
#### Further Reading
|
||||||
|
|
||||||
|
[Am I Bisexual?](http://www.bisexualindex.org.uk/index.php/AmIBisexual)
|
5
11ty/definitions/colonialism.md
Normal file
5
11ty/definitions/colonialism.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: Colonialism
|
||||||
|
slug: colonialism
|
||||||
|
defined: false
|
||||||
|
---
|
38
11ty/definitions/crazy.md
Normal file
38
11ty/definitions/crazy.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: crazy
|
||||||
|
slug: crazy
|
||||||
|
flag:
|
||||||
|
type: ableist-slur
|
||||||
|
level: avoid
|
||||||
|
defined: true
|
||||||
|
speech: noun
|
||||||
|
alt_words:
|
||||||
|
- abundant
|
||||||
|
- bizarre
|
||||||
|
- enormous
|
||||||
|
- ludicrous
|
||||||
|
- outlandish
|
||||||
|
- ridiculous
|
||||||
|
- unbelievable
|
||||||
|
- unexpected
|
||||||
|
- unfamiliar
|
||||||
|
- unreal
|
||||||
|
- scary
|
||||||
|
- shocking
|
||||||
|
- strange
|
||||||
|
- wicked
|
||||||
|
---
|
||||||
|
|
||||||
|
mentally deranged; demented; insane.
|
||||||
|
|
||||||
|
#### Issues
|
||||||
|
|
||||||
|
Crazy is very commonly used as an adjective to embody a vast array of ideas, often not specifically. It is used so frequently that it sometimes is a filler. Crazy can also be used in a derogatory manner for someone with mental or psychiatric disabilities.
|
||||||
|
|
||||||
|
#### Impact
|
||||||
|
|
||||||
|
By using ableist language, we are perpetuating violence against people who experience mental or psychological disabilities. Using this language perpetuates those systems and language of harm, regardless of our intent.
|
||||||
|
|
||||||
|
#### Usage Tip
|
||||||
|
|
||||||
|
Be more specific. Typically we can find an alternate definition by simply reflecting on what emotion we're really feeling.
|
5
11ty/definitions/intersectionality.md
Normal file
5
11ty/definitions/intersectionality.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: Intersectionality
|
||||||
|
slug: intersectionality
|
||||||
|
defined: false
|
||||||
|
---
|
8
11ty/definitions/psychopath.md
Normal file
8
11ty/definitions/psychopath.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: Psychopath
|
||||||
|
slug: psychopath
|
||||||
|
flag:
|
||||||
|
type: ableist-slur
|
||||||
|
level: avoid
|
||||||
|
defined: false
|
||||||
|
---
|
26
11ty/index.njk
Normal file
26
11ty/index.njk
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
layout: layouts/base.njk
|
||||||
|
---
|
||||||
|
|
||||||
|
<section id="introduction" class="auto-grid">
|
||||||
|
<div id="title">
|
||||||
|
<h1 class="title__thicc">Self-Defined</h1>
|
||||||
|
<p>A modern dictionary about us.<br>We define our words, but they don't define us.</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p class="summary">
|
||||||
|
Self-Defined seeks to provide more inclusive, holistic, and fluid definitions to reflect the diverse perspectives of the modern world.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
With the foundation of vocabulary, we can begin to understand lived experiences of people different than us. Words can provide us with a sense of identify and allow us to find kinship through common experiences.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="box">
|
||||||
|
<p class="subtitle">Ways to help</p>
|
||||||
|
<ol class="help">
|
||||||
|
<li> Submit words and definitions through <a href="https://github.com/tatianamac/selfdefined/pulls" rel="noreferral">pull requests</a>.</li>
|
||||||
|
<li>Sponsor this work through <a href="https://github.com/sponsors/tatianamac">GitHub Sponsors</a>.</li>
|
||||||
|
<li>Volunteer writing, design, dev help by <a href="http://www.twitter.com/tatianatmac">DMing me @tatianatmac on Twitter</a>.</li>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
</section>
|
@ -1,280 +1 @@
|
|||||||
@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:2rem;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}.small{font-size:0.75em}.title__thicc{font-size:8vh;line-height:0.75;padding:0;margin:0.5rem 0rem;grid-column:span 2}.help{margin:1rem 0}.help li{margin:0.75rem 0}.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{background:black;color:white;padding:1rem;margin:1rem 0.5rem;height:auto}.box a{color:white}.list ul{padding:0 0 0 1em;margin:0}.list li{list-style:none;padding-bottom:0.5em}.list li.subterm{padding-left:10px}.list li:last-child{padding:0}.list li.subterm:before{content:'\21B3 ';padding-right:5px}.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;margin:0}.word>p:first-of-type,.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;margin:1rem 0}.word__link:hover{border-bottom:red solid 0.1rem}.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;line-height:1.25}.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}.flag__red{background-color:pink;font-size:0.9rem;font-weight:bold;border-radius:1rem;padding:0.45rem 0.65rem;margin:0.25rem 0.75rem;text-transform:lowercase}.flag__red:before{content:'🚨';margin-right:0.35rem}.list-semicolon{margin:0;padding:0;list-style:none}.list-semicolon>li{display:inline}.list-semicolon>li:not(:last-child)::after{content:'; '}
|
||||||
@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: 2rem;
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small {
|
|
||||||
font-size: 0.75em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title__thicc {
|
|
||||||
font-size: 8vh;
|
|
||||||
line-height: 0.75;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0.5rem 0rem;
|
|
||||||
grid-column: span 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.help {
|
|
||||||
margin: 1rem 0;
|
|
||||||
}
|
|
||||||
.help li {
|
|
||||||
margin: 0.75rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.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 {
|
|
||||||
background: black;
|
|
||||||
color: white;
|
|
||||||
padding: 1rem;
|
|
||||||
margin: 1rem 0.5rem;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
.box a {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list ul {
|
|
||||||
padding: 0 0 0 1em;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.list li {
|
|
||||||
list-style: none;
|
|
||||||
padding-bottom: 0.5em;
|
|
||||||
}
|
|
||||||
.list li.subterm {
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
.list li:last-child {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.list li.subterm:before {
|
|
||||||
content: "↳";
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.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;
|
|
||||||
margin: 1rem 0;
|
|
||||||
}
|
|
||||||
.word__link:hover {
|
|
||||||
border-bottom: red solid 0.1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.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;
|
|
||||||
line-height: 1.25;
|
|
||||||
}
|
|
||||||
|
|
||||||
.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;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flag__red {
|
|
||||||
background-color: pink;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
font-weight: bold;
|
|
||||||
border-radius: 1rem;
|
|
||||||
padding: 0.45rem 0.65rem;
|
|
||||||
margin: 0.25rem 0.75rem;
|
|
||||||
text-transform: lowercase;
|
|
||||||
}
|
|
||||||
.flag__red:before {
|
|
||||||
content: "🚨";
|
|
||||||
margin-right: 0.35rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=base.css.map */
|
|
||||||
|
@ -905,7 +905,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p class="word__breakdown">
|
<p class="word__breakdown">
|
||||||
<span class="word__alt">
|
<span class="word__alt">
|
||||||
people of colour and white women; people of colour, white <a class="word__link" href="#non-binary">non-binary</a> people, and white women</a>; find ways to reframe why this dynamic exists; or omit
|
people of colour and white women; people of colour, white <a class="word__link" href="#non-binary">non-binary</a> people, and white women; find ways to reframe why this dynamic exists; or omit
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@charset 'utf-8';
|
@charset 'utf-8';
|
||||||
@import url("https://use.typekit.net/qlo3dpu.css");
|
@import url('https://use.typekit.net/qlo3dpu.css');
|
||||||
|
|
||||||
// COLORS //
|
// COLORS //
|
||||||
|
|
||||||
@ -8,14 +8,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$primary-color: #0e4bff; //cobalt blue is so pretty//
|
$primary-color: #0e4bff; //cobalt blue is so pretty//
|
||||||
$secondary-color: #F3F315; //
|
$secondary-color: #f3f315; //
|
||||||
|
|
||||||
$black: #222222;
|
$black: #222222;
|
||||||
$white: #ffffff;
|
$white: #ffffff;
|
||||||
$pistachio: #e5ffe5;
|
$pistachio: #e5ffe5;
|
||||||
$yellow: #ffff00;
|
$yellow: #ffff00;
|
||||||
|
|
||||||
$dark-grey: #4F4F4F;
|
$dark-grey: #4f4f4f;
|
||||||
$mid-grey: #767676; // the lightest shade of grey you can get away with, #a11y
|
$mid-grey: #767676; // the lightest shade of grey you can get away with, #a11y
|
||||||
$light-grey: #eeeeee; // for backgrounds only
|
$light-grey: #eeeeee; // for backgrounds only
|
||||||
|
|
||||||
@ -34,15 +34,15 @@
|
|||||||
//MIXINS
|
//MIXINS
|
||||||
|
|
||||||
@mixin icon__avoid() {
|
@mixin icon__avoid() {
|
||||||
content: "🚨";
|
content: '🚨';
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin icon__alt() {
|
@mixin icon__alt() {
|
||||||
content: "👍";
|
content: '👍';
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin icon__tool() {
|
@mixin icon__tool() {
|
||||||
content: "🧰";
|
content: '🧰';
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin icon__hanging() {
|
@mixin icon__hanging() {
|
||||||
@ -50,14 +50,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin icon__embed() {
|
@mixin icon__embed() {
|
||||||
margin-right: .35rem;
|
margin-right: 0.35rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
border-top: 1rem solid red;
|
border-top: 1rem solid red;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 2rem; margin:0;
|
padding: 2rem;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@ -68,7 +69,7 @@ h1 {
|
|||||||
.subtitle {
|
.subtitle {
|
||||||
font-family: $ext-sans;
|
font-family: $ext-sans;
|
||||||
font-weight: $regular;
|
font-weight: $regular;
|
||||||
letter-spacing: .1;
|
letter-spacing: 0.1;
|
||||||
grid-column: span 2;
|
grid-column: span 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,12 +78,12 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.small {
|
.small {
|
||||||
font-size: .75em;
|
font-size: 0.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title__thicc {
|
.title__thicc {
|
||||||
font-size: 8vh;
|
font-size: 8vh;
|
||||||
line-height: .75;
|
line-height: 0.75;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0.5rem 0rem;
|
margin: 0.5rem 0rem;
|
||||||
grid-column: span 2;
|
grid-column: span 2;
|
||||||
@ -93,7 +94,7 @@ h1 {
|
|||||||
.help {
|
.help {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
li {
|
li {
|
||||||
margin: .75rem 0;
|
margin: 0.75rem 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,7 +110,10 @@ h1 {
|
|||||||
|
|
||||||
.auto-grid {
|
.auto-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
|
grid-template-columns: repeat(
|
||||||
|
auto-fill,
|
||||||
|
minmax(var(--auto-grid-min-size), 1fr)
|
||||||
|
);
|
||||||
grid-gap: 1rem;
|
grid-gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,7 +121,7 @@ h1 {
|
|||||||
background: black;
|
background: black;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
margin: 1rem .5rem;
|
margin: 1rem 0.5rem;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@ -133,7 +137,7 @@ h1 {
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding-bottom: .5em;
|
padding-bottom: 0.5em;
|
||||||
|
|
||||||
&.subterm {
|
&.subterm {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
@ -144,7 +148,7 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.subterm:before {
|
&.subterm:before {
|
||||||
content: "\21B3 ";
|
content: '\21B3 ';
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -164,7 +168,7 @@ margin: 1rem;
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: .75rem 0;
|
margin: 0.75rem 0;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -178,15 +182,17 @@ font-style: italic;
|
|||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > p:first-of-type,
|
||||||
&__definition {
|
&__definition {
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__speech {
|
&__speech {
|
||||||
font-size: .5em;
|
font-size: 0.5em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -195,9 +201,9 @@ font-style: italic;
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-family: $ext-sans;
|
font-family: $ext-sans;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: .75rem;
|
font-size: 0.75rem;
|
||||||
letter-spacing: .15rem;
|
letter-spacing: 0.15rem;
|
||||||
padding: .5rem .75rem;
|
padding: 0.5rem 0.75rem;
|
||||||
|
|
||||||
&__avoid {
|
&__avoid {
|
||||||
color: red;
|
color: red;
|
||||||
@ -225,21 +231,19 @@ font-style: italic;
|
|||||||
@include icon__hanging();
|
@include icon__hanging();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__link {
|
&__link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: black;
|
color: black;
|
||||||
border-bottom: darkgrey solid .1em;
|
border-bottom: darkgrey solid 0.1em;
|
||||||
font-family: $ext-sans;
|
font-family: $ext-sans;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-bottom: red solid .1rem;
|
border-bottom: red solid 0.1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.block__dictionary {
|
.block__dictionary {
|
||||||
@ -251,7 +255,10 @@ font-style: italic;
|
|||||||
|
|
||||||
.auto-grid {
|
.auto-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
|
grid-template-columns: repeat(
|
||||||
|
auto-fill,
|
||||||
|
minmax(var(--auto-grid-min-size), 1fr)
|
||||||
|
);
|
||||||
grid-gap: 1rem;
|
grid-gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -263,7 +270,7 @@ margin: 1rem;
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: .75rem 0;
|
margin: 0.75rem 0;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
}
|
}
|
||||||
@ -286,7 +293,7 @@ font-size: 1.5rem;
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__speech {
|
&__speech {
|
||||||
font-size: .5em;
|
font-size: 0.5em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -296,15 +303,15 @@ border-top: 1px solid currentcolor;
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-family: $ext-sans;
|
font-family: $ext-sans;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: .75rem;
|
font-size: 0.75rem;
|
||||||
letter-spacing: .15rem;
|
letter-spacing: 0.15rem;
|
||||||
padding: .5rem .75rem;
|
padding: 0.5rem 0.75rem;
|
||||||
|
|
||||||
&__avoid {
|
&__avoid {
|
||||||
color: red;
|
color: red;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: "🚨";
|
content: '🚨';
|
||||||
margin-left: -2.15rem;
|
margin-left: -2.15rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -313,7 +320,7 @@ padding: .5rem .75rem;
|
|||||||
color: green;
|
color: green;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: "👍";
|
content: '👍';
|
||||||
margin-left: -2.15rem;
|
margin-left: -2.15rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -330,33 +337,47 @@ padding: .5rem .75rem;
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
font-family: $con-sans;
|
font-family: $con-sans;
|
||||||
font-size: .85rem;
|
font-size: 0.85rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.word__link {
|
.word__link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: black;
|
color: black;
|
||||||
border-bottom: darkgrey solid .1em;
|
border-bottom: darkgrey solid 0.1em;
|
||||||
font-family: $ext-sans;
|
font-family: $ext-sans;
|
||||||
}
|
}
|
||||||
|
|
||||||
.word__breakdown {
|
.word__breakdown {
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
border-left: .1rem solid lightgrey;
|
border-left: 0.1rem solid lightgrey;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flag__red {
|
.flag__red {
|
||||||
background-color: rgb(255, 192, 203);
|
background-color: rgb(255, 192, 203);
|
||||||
font-size: .9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
padding: .45rem .65rem;
|
padding: 0.45rem 0.65rem;
|
||||||
margin: .25rem .75rem;
|
margin: 0.25rem 0.75rem;
|
||||||
text-transform: lowercase;
|
text-transform: lowercase;
|
||||||
&:before {
|
&:before {
|
||||||
@include icon__avoid();
|
@include icon__avoid();
|
||||||
@include icon__embed();
|
@include icon__embed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list-semicolon {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
|
& > li {
|
||||||
|
display: inline;
|
||||||
|
|
||||||
|
&:not(:last-child)::after {
|
||||||
|
content: '; ';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
5157
package-lock.json
generated
Normal file
5157
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
28
package.json
Normal file
28
package.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"name": "selfdefined",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.1.0",
|
||||||
|
"description": "A modern dictionary about us.",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"build": "eleventy",
|
||||||
|
"watch": "eleventy --watch",
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/tatianamac/selfdefined.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"dictionary"
|
||||||
|
],
|
||||||
|
"author": "Tatiana Mac",
|
||||||
|
"license": "ISC",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/tatianamac/selfdefined/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/tatianamac/selfdefined#readme",
|
||||||
|
"dependencies": {
|
||||||
|
"@11ty/eleventy": "^0.9.0"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user