Skip to content

Commit

Permalink
TinyMCE is going to break my mind
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunomiac committed Apr 28, 2024
1 parent 6be775a commit ba9237f
Show file tree
Hide file tree
Showing 31 changed files with 444 additions and 415 deletions.
Binary file not shown.
Binary file modified city-of-knives/data/actors/MANIFEST-002718
Binary file not shown.
2 changes: 1 addition & 1 deletion city-of-knives/world.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"systemVersion": "0.1",
"lastPlayed": "Sun Apr 28 2024 03:45:31 GMT-0400 (Eastern Daylight Time)",
"playtime": 509142,
"playtime": 512295,
"safeMode": false,
"packs": [
{
Expand Down
241 changes: 124 additions & 117 deletions public/tinymce/tinymce.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/tinymce/tinymce.css.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/scss/_tagify-custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ $hover-yiq: $bg-yiq * 1.33;
--placeholder-color: transparent;
--placeholder-color-focus: transparent;
--tags-border-color: #343434;
--tag-pad: 0; // 0.1rem 0.3rem;
--tag-pad: 0; // #{toPixels(0.1rem)} #{toPixels(0.3rem)};
align-items: center;
height: 18px;
gap: 0.1rem;
gap: #{toPixels(0.1rem)};

min-width: 100%;
flex-wrap: nowrap;
Expand Down Expand Up @@ -105,7 +105,7 @@ $hover-yiq: $bg-yiq * 1.33;

.tagify__input {
flex-grow: 0.2;
padding: 0.1rem;
padding: #{toPixels(0.1rem)};
display: flex;
justify-items: center;
align-content: center;
Expand Down Expand Up @@ -172,7 +172,7 @@ $hover-yiq: $bg-yiq * 1.33;
font-family: "Fjalla One", sans-serif;
margin: 0px 0 3px 3px;
color: var(--blades-black);
padding: 0.1rem 0.25rem;
padding: #{toPixels(0.1rem)} #{toPixels(0.25rem)};
border-radius: 5px;
pointer-events: auto;
line-height: 18px;
Expand Down
14 changes: 7 additions & 7 deletions src/scss/components/_buttons-toggles.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
.button-icon, .toggle-icon {
position: absolute;
height: 1.5rem;
width: 1.5rem;
line-height: 1.5rem;
height: #{toPixels(1.5rem)};
width: #{toPixels(1.5rem)};
line-height: #{toPixels(1.5rem)};
display: inline-flex;
justify-content: center;
align-items: center;
right: 0;
text-shadow: none;

i {
height: 1.5rem;
width: 1.5rem;
line-height: 1.75rem;
height: #{toPixels(1.5rem)};
width: #{toPixels(1.5rem)};
line-height: #{toPixels(1.75rem)};
text-align: center;
opacity: 0.75;
margin-top: -0.125rem;
margin-top: #{toPixels(-0.125rem)};
pointer-events: none;

&.toggle-off {
Expand Down
12 changes: 6 additions & 6 deletions src/scss/components/_cohort-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
.cohort-name {
pointer-events: auto;
font-family: var(--font-emphasis);
font-size: toRem(18px);
font-size: 18px;
line-height: 25px;
color: var(--blades-white-bright);
transition: 0.25s;
Expand All @@ -89,7 +89,7 @@
}

.cohort-subtitle {
font-size: toRem(14px);
font-size: 14px;
font-style: italic;
line-height: 14px;
position: relative;
Expand All @@ -102,13 +102,13 @@
text-align: right;

.cohort-quality-label {
font-size: toRem(16px);
font-size: 16px;
font-family: var(--font-emphasis);
}

.cohort-quality-number {
display: inline-block;
font-size: toRem(16px);
font-size: 16px;
font-weight: bold;
color: var(--blades-gold-bright);
transform-origin: 50% 50%;
Expand All @@ -122,13 +122,13 @@
margin-top: -5px;

.cohort-scale-label {
font-size: toRem(16px);
font-size: 16px;
font-family: var(--font-emphasis);
}

.cohort-scale-number {
display: inline-block;
font-size: toRem(16px);
font-size: 16px;
font-weight: bold;
color: var(--blades-gold-bright);
transform-origin: 50% 50%;
Expand Down
Loading

0 comments on commit ba9237f

Please sign in to comment.