Refactor style (among other things) #24
149
_theme.json
Normal file
149
_theme.json
Normal file
@ -0,0 +1,149 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"settings": {
|
||||||
|
"appearanceTools": true,
|
||||||
|
"color": {
|
||||||
|
"duotone": [],
|
||||||
|
"customDuotone": false,
|
||||||
|
"defaultDuotone": false,
|
||||||
|
"gradients": [],
|
||||||
|
"customGradient": false,
|
||||||
|
"defaultGradients": false
|
||||||
|
},
|
||||||
|
"typography": {
|
||||||
|
"dropCap": false,
|
||||||
|
"customFontSize": false,
|
||||||
|
"fontSizes": [
|
||||||
|
{
|
||||||
|
"size": "var(--fs-xxs)",
|
||||||
|
"name": "Extra Small",
|
||||||
|
"shortName": "XXS",
|
||||||
|
"slug": "extra-small"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"size": "var(--fs-xs)",
|
||||||
|
"name": "Small",
|
||||||
|
"shortName": "XS",
|
||||||
|
"slug": "small"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"size": "var(--fs-s)",
|
||||||
|
"name": "Normal",
|
||||||
|
"shortName": "S",
|
||||||
|
"slug": "normal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"size": "var(--fs-m)",
|
||||||
|
"name": "Medium",
|
||||||
|
"shortName": "M",
|
||||||
|
"slug": "medium"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"size": "var(--fs-l)",
|
||||||
|
"name": "Large",
|
||||||
|
"shortName": "L",
|
||||||
|
"slug": "large"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"size": "var(--fs-xl)",
|
||||||
|
"name": "Extra Large",
|
||||||
|
"shortName": "XL",
|
||||||
|
"slug": "extra-large"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"size": "var(--fs-xxl)",
|
||||||
|
"name": "Huge",
|
||||||
|
"shortName": "XXL",
|
||||||
|
"slug": "huge"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"size": "var(--fs-xxxl)",
|
||||||
|
"name": "Gigantic",
|
||||||
|
"shortName": "XXXL",
|
||||||
|
"slug": "gigantic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"blocks": {
|
||||||
|
"core/image": {
|
||||||
|
"lightbox": {
|
||||||
|
"enabled": false,
|
||||||
|
"allowEditing": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/table": {
|
||||||
|
"color": {
|
||||||
|
"custom": false,
|
||||||
|
"background": false,
|
||||||
|
"customDuotone": false,
|
||||||
|
"customGradient": false,
|
||||||
|
"defaultGradients": false,
|
||||||
|
"defaultDuotone": false,
|
||||||
|
"defaultPalette": false,
|
||||||
|
"palette": [],
|
||||||
|
"gradients": [],
|
||||||
|
"duotone": []
|
||||||
|
},
|
||||||
|
"spacing": {
|
||||||
|
"margin": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/buttons": {
|
||||||
|
"typography": {
|
||||||
|
"dropCap": false,
|
||||||
|
"fontSizes": [],
|
||||||
|
"customFontSize": false,
|
||||||
|
"fontStyle": false,
|
||||||
|
"fontWeight": false,
|
||||||
|
"fluid": false,
|
||||||
|
"letterSpacing": false,
|
||||||
|
"lineHeight": false,
|
||||||
|
"textDecoration": false,
|
||||||
|
"textTransform": false,
|
||||||
|
"letterCase": false
|
||||||
|
},
|
||||||
|
"spacing": {
|
||||||
|
"padding": false,
|
||||||
|
"margin": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core/button": {
|
||||||
|
"color": {
|
||||||
|
"custom": false,
|
||||||
|
"background": false,
|
||||||
|
"customDuotone": false,
|
||||||
|
"customGradient": false,
|
||||||
|
"defaultGradients": false,
|
||||||
|
"defaultDuotone": false,
|
||||||
|
"defaultPalette": false,
|
||||||
|
"palette": [],
|
||||||
|
"gradients": [],
|
||||||
|
"duotone": []
|
||||||
|
},
|
||||||
|
"border": {
|
||||||
|
"color": false,
|
||||||
|
"radius": false,
|
||||||
|
"style": false,
|
||||||
|
"width": false
|
||||||
|
},
|
||||||
|
"typography": {
|
||||||
|
"dropCap": false,
|
||||||
|
"fontSizes": [],
|
||||||
|
"customFontSize": false,
|
||||||
|
"fontStyle": false,
|
||||||
|
"fontWeight": false,
|
||||||
|
"fluid": false,
|
||||||
|
"letterSpacing": false,
|
||||||
|
"lineHeight": false,
|
||||||
|
"textDecoration": false,
|
||||||
|
"textTransform": false,
|
||||||
|
"letterCase": false
|
||||||
|
},
|
||||||
|
"spacing": {
|
||||||
|
"padding": false,
|
||||||
|
"margin": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -629,9 +629,9 @@ function fictioneer_style_queue() {
|
|||||||
|
|
||||||
// Remove Gutenberg default styles
|
// Remove Gutenberg default styles
|
||||||
if ( ! get_option( 'fictioneer_enable_all_block_styles' ) ) {
|
if ( ! get_option( 'fictioneer_enable_all_block_styles' ) ) {
|
||||||
wp_dequeue_style( 'wp-block-library' );
|
// wp_dequeue_style( 'wp-block-library' );
|
||||||
wp_dequeue_style( 'wp-block-library-theme' );
|
// wp_dequeue_style( 'wp-block-library-theme' );
|
||||||
wp_dequeue_style( 'wc-blocks-style' );
|
// wp_dequeue_style( 'wc-blocks-style' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_action( 'wp_enqueue_scripts', 'fictioneer_style_queue' );
|
add_action( 'wp_enqueue_scripts', 'fictioneer_style_queue' );
|
||||||
|
@ -1,11 +1,3 @@
|
|||||||
:root.minimal {
|
|
||||||
.card {
|
|
||||||
&__link-list-item {
|
|
||||||
padding-left: .35em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-card-block,
|
.small-card-block,
|
||||||
.article-card-block {
|
.article-card-block {
|
||||||
container-type: inline-size;
|
container-type: inline-size;
|
||||||
|
@ -59,6 +59,30 @@
|
|||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
&__link-list-item {
|
||||||
|
padding-left: .35em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.chapter-group__list-item-link {
|
||||||
|
grid-area: 1 / 1 / 2 / 3;
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chapter-group__list-item-subrow {
|
||||||
|
grid-area: 2 / 1 / 3 / 3;
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chapter-group__list-item-icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.story__blog-list-item {
|
||||||
|
padding: .5rem 8px;
|
||||||
|
}
|
||||||
|
|
||||||
:is(.progress, .header-background__wrapper) {
|
:is(.progress, .header-background__wrapper) {
|
||||||
display: none;
|
display: none;
|
||||||
content-visibility: hidden;
|
content-visibility: hidden;
|
||||||
|
@ -35,12 +35,6 @@ $header_breakpoint: 640px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:root.minimal {
|
|
||||||
.story__blog-list-item {
|
|
||||||
padding: .5rem 8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.story {
|
.story {
|
||||||
&__article {
|
&__article {
|
||||||
&._no-checkmarks {
|
&._no-checkmarks {
|
||||||
|
@ -707,22 +707,6 @@ html:not(.logged-in) body:not(.logged-in) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:root.minimal {
|
|
||||||
.chapter-group__list-item-link {
|
|
||||||
grid-area: 1 / 1 / 2 / 3;
|
|
||||||
padding-left: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chapter-group__list-item-subrow {
|
|
||||||
grid-area: 2 / 1 / 3 / 3;
|
|
||||||
padding-left: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chapter-group__list-item-icon {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.notice {
|
.notice {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -121,6 +121,7 @@
|
|||||||
--checkmark-not-checked: var(--bg-950);
|
--checkmark-not-checked: var(--bg-950);
|
||||||
--tax-cloud-current: var(--primary-500);
|
--tax-cloud-current: var(--primary-500);
|
||||||
--disabled-pattern: rgb(0 0 0 / 8%) repeating-linear-gradient(-45deg, rgb(0 0 0 / 8%), rgb(0 0 0 / 8%) 2px, transparent 2px, transparent 5px);
|
--disabled-pattern: rgb(0 0 0 / 8%) repeating-linear-gradient(-45deg, rgb(0 0 0 / 8%), rgb(0 0 0 / 8%) 2px, transparent 2px, transparent 5px);
|
||||||
|
--strong-filter: brightness(1.05);
|
||||||
--invert-filter: invert(0);
|
--invert-filter: invert(0);
|
||||||
|
|
||||||
// === LITRPG ================================================================
|
// === LITRPG ================================================================
|
||||||
|
@ -133,6 +133,7 @@ em {
|
|||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: var(--font-weight-strong);
|
font-weight: var(--font-weight-strong);
|
||||||
|
filter: var(--strong-filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
b {
|
||||||
|
1599
src/scss/editor.scss
1599
src/scss/editor.scss
File diff suppressed because it is too large
Load Diff
79
theme.json
79
theme.json
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"settings": {
|
"settings": {
|
||||||
"appearanceTools": true,
|
"appearanceTools": true,
|
||||||
@ -11,7 +12,10 @@
|
|||||||
"defaultGradients": false
|
"defaultGradients": false
|
||||||
},
|
},
|
||||||
"typography": {
|
"typography": {
|
||||||
"dropCap": false,
|
"dropCap": true,
|
||||||
|
"lineHeight": false,
|
||||||
|
"textTransform": false,
|
||||||
|
"letterSpacing": false,
|
||||||
"customFontSize": false,
|
"customFontSize": false,
|
||||||
"fontSizes": [
|
"fontSizes": [
|
||||||
{
|
{
|
||||||
@ -70,79 +74,6 @@
|
|||||||
"enabled": false,
|
"enabled": false,
|
||||||
"allowEditing": false
|
"allowEditing": false
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"core/table": {
|
|
||||||
"color": {
|
|
||||||
"custom": false,
|
|
||||||
"background": false,
|
|
||||||
"customDuotone": false,
|
|
||||||
"customGradient": false,
|
|
||||||
"defaultGradients": false,
|
|
||||||
"defaultDuotone": false,
|
|
||||||
"defaultPalette": false,
|
|
||||||
"palette": [],
|
|
||||||
"gradients": [],
|
|
||||||
"duotone": []
|
|
||||||
},
|
|
||||||
"spacing": {
|
|
||||||
"margin": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"core/buttons": {
|
|
||||||
"typography": {
|
|
||||||
"dropCap": false,
|
|
||||||
"fontSizes": [],
|
|
||||||
"customFontSize": false,
|
|
||||||
"fontStyle": false,
|
|
||||||
"fontWeight": false,
|
|
||||||
"fluid": false,
|
|
||||||
"letterSpacing": false,
|
|
||||||
"lineHeight": false,
|
|
||||||
"textDecoration": false,
|
|
||||||
"textTransform": false,
|
|
||||||
"letterCase": false
|
|
||||||
},
|
|
||||||
"spacing": {
|
|
||||||
"padding": false,
|
|
||||||
"margin": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"core/button": {
|
|
||||||
"color": {
|
|
||||||
"custom": false,
|
|
||||||
"background": false,
|
|
||||||
"customDuotone": false,
|
|
||||||
"customGradient": false,
|
|
||||||
"defaultGradients": false,
|
|
||||||
"defaultDuotone": false,
|
|
||||||
"defaultPalette": false,
|
|
||||||
"palette": [],
|
|
||||||
"gradients": [],
|
|
||||||
"duotone": []
|
|
||||||
},
|
|
||||||
"border": {
|
|
||||||
"color": false,
|
|
||||||
"radius": false,
|
|
||||||
"style": false,
|
|
||||||
"width": false
|
|
||||||
},
|
|
||||||
"typography": {
|
|
||||||
"dropCap": false,
|
|
||||||
"fontSizes": [],
|
|
||||||
"customFontSize": false,
|
|
||||||
"fontStyle": false,
|
|
||||||
"fontWeight": false,
|
|
||||||
"fluid": false,
|
|
||||||
"letterSpacing": false,
|
|
||||||
"lineHeight": false,
|
|
||||||
"textDecoration": false,
|
|
||||||
"textTransform": false,
|
|
||||||
"letterCase": false
|
|
||||||
},
|
|
||||||
"spacing": {
|
|
||||||
"padding": false,
|
|
||||||
"margin": false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user