Skip to content

Commit

Permalink
Additional design changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Jan 26, 2023
1 parent 264bb55 commit 80b8a86
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 24 deletions.
2 changes: 1 addition & 1 deletion parts/comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="wp-block-group">
<!-- wp:comments-query-loop {"className":"site-comments"} -->
<div class="wp-block-comments-query-loop site-comments">
<!-- wp:comments-title /-->
<!-- wp:comments-title {"level":3} /-->
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"60px"}}}} -->
<div class="wp-block-group" style="margin-bottom:60px">
<!-- wp:comment-template -->
Expand Down
15 changes: 15 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ pre {
white-space: pre-wrap;
}

mark {
background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
background-position: 0 85%;
background-repeat: repeat-x;
background-size: 100% 15%;
}

/* Blocks
---------------------------------------------------------------------------- */

Expand Down Expand Up @@ -419,6 +426,14 @@ textarea {
/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (min-width: 600px) {

.is-style-min-width {
min-width: 200px;
}

}

@media only screen and (min-width: 800px) {

/* Navigation Link
Expand Down
4 changes: 2 additions & 2 deletions templates/blank.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- wp:group {"tagName":"main","className":"site-content","style":{"spacing":{"margin":{"top":"0"}}}} -->
<main class="wp-block-group site-content" style="margin-top:0">
<!-- wp:group {"tagName":"main","className":"site-content"} -->
<main class="wp-block-group site-content">
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
</main>
<!-- /wp:group -->
56 changes: 35 additions & 21 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,28 @@
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"duotone": [
{
"name": "Black and White",
"slug": "black-and-white",
"colors": [ "#000000", "#ffffff" ]
},
{
"name": "Primary and White",
"slug": "primary-and-white",
"colors": [ "#0000ff", "#ffffff" ]
},
{
"name": "Secondary and White",
"slug": "secondary-and-white",
"colors": [ "#000099", "#ffffff" ]
}
],
"gradients": [
{
"gradient": "linear-gradient(0deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--tertiary) 100%)",
"name": "Primary to Tertiary",
"slug": "primary-tertiary"
"gradient": "linear-gradient(0deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--contrast) 100%)",
"name": "Primary to Contrast",
"slug": "primary-contrast"
}
],
"palette": [
Expand All @@ -78,11 +95,6 @@
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#000033",
"name": "Tertiary",
"slug": "tertiary"
},
{
"color": "#eeeeee",
"name": "Neutral",
Expand Down Expand Up @@ -114,7 +126,7 @@
},
"layout": {
"contentSize": "640px",
"wideSize": "1200px"
"wideSize": "1280px"
},
"spacing": {
"spacingSizes": [
Expand Down Expand Up @@ -181,8 +193,14 @@
"fontSizes": [
{
"fluid": false,
"name": "Small",
"name": "xSmall",
"size": "16px",
"slug": "x-small"
},
{
"fluid": false,
"name": "Small",
"size": "18px",
"slug": "small"
},
{
Expand Down Expand Up @@ -303,9 +321,12 @@
"core/comments-title": {
"spacing": {
"margin": {
"bottom": "30px",
"top": "60px"
"top": "var(--wp--preset--spacing--medium)",
"bottom": "30px"
}
},
"typography": {
"fontWeight": "var(--wp--custom--font-weight--regular)"
}
},
"core/cover": {
Expand All @@ -319,9 +340,6 @@
}
},
"core/heading": {
"spacing": {
"margin": "0"
},
"typography": {
"fontWeight": "var(--wp--custom--font-weight--regular)",
"lineHeight": "var(--wp--custom--line-height--heading)"
Expand All @@ -333,7 +351,7 @@
"bottom": "30px",
"left": "0",
"right": "0",
"top": "0"
"top": "30px"
}
}
},
Expand Down Expand Up @@ -386,8 +404,7 @@
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "var(--wp--custom--line-height--medium)"
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/quote": {
Expand All @@ -406,9 +423,6 @@
"right": "40px",
"top": "30px"
}
},
"typography": {
"lineHeight": "var(--wp--custom--line-height--medium)"
}
},
"core/site-title": {
Expand Down

0 comments on commit 80b8a86

Please sign in to comment.