Skip to content

Commit 543338e

Browse files
authored
Touch-ups (#10)
* Lots * formatting * version * Revert the CBT auto pattern creation * Clean up
1 parent d8880fd commit 543338e

File tree

4 files changed

+228
-229
lines changed

4 files changed

+228
-229
lines changed

parts/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- wp:group {"metadata":{"name":"Header","categories":["header"],"patternName":"kanso/header-logo"},"align":"full","style":{"spacing":{"blockGap":"0","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
22
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:group {"metadata":{"name":"Inner Container"},"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
33
<div class="wp-block-group"><!-- wp:group {"metadata":{"name":"Left"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
4-
<div class="wp-block-group"><!-- wp:site-logo {"width":60,"shouldSyncIcon":false,"className":"is-style-rounded","style":{"layout":{"selfStretch":"fill","flexSize":null}}} /-->
4+
<div class="wp-block-group"><!-- wp:site-logo {"width":60,"shouldSyncIcon":false,"className":"is-style-rounded"} /-->
55

66
<!-- wp:site-title /--></div>
77
<!-- /wp:group -->

style.css

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,18 +145,17 @@ textarea,
145145
input:not([type=submit]):not([type=checkbox]),
146146
.wp-block-post-comments-form textarea,
147147
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) {
148-
background-color: transparent;
149-
border-color: var(--wp--preset--color--theme-5);
148+
background-color: color-mix(in srgb, var(--wp--preset--color--theme-1) 98%, var(--wp--preset--color--theme-6) 2%);
149+
border-color: var(--wp--preset--color--theme-4);
150150
border-radius: var(--wp--preset--spacing--10);
151151
border-style: solid;
152152
border-width: 1px;
153153
box-shadow: none;
154154
box-sizing: border-box;
155155
color: var(--wp--preset--color--theme-6);
156-
font-size: var(--wp--preset--font-size--small);
157156
line-height: 1.5;
158-
min-height: 42px;
159-
padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
157+
min-height: 44px;
158+
padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
160159
width: 100%;
161160
}
162161

@@ -385,7 +384,7 @@ input:not([type=submit]):focus,
385384
box-shadow: var(--wp--preset--shadow--inset, inset 0 0 0 1px hsl(0 0% 0% / 10%));
386385
display: inline-flex;
387386
justify-content: center;
388-
min-height: 40px;
387+
min-height: 38px;
389388
transition: background-color var(--wp--custom--transition--duration, 200ms) ease-out, color var(--wp--custom--transition--duration, 200ms) ease-out, transform var(--wp--custom--transition--duration, 200ms) cubic-bezier(.4,0,.2,1);
390389
}
391390

@@ -441,6 +440,17 @@ input:not([type=submit]):focus,
441440
color: var(--wp--preset--color--theme-6);
442441
}
443442

443+
.logged-in-as,
444+
.required-field-message {
445+
display: block;
446+
font-size: var(--wp--preset--font-size--small);
447+
}
448+
449+
.required-field-message {
450+
color: var(--wp--preset--color--theme-5);
451+
margin-top: calc( var(--wp--preset--spacing--10) * 0.5 );
452+
}
453+
444454
/* Blank template */
445455

446456
.page-template-template-blank .wp-site-blocks {

templates/index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,18 @@ <h1 class="wp-block-heading is-style-text-title">Hi, I'm Rich Tabor</h1>
1717
<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
1818
<!-- /wp:spacer -->
1919

20-
<!-- wp:query {"metadata":{"categories":["blog"]},"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true}} -->
20+
<!-- wp:query {"queryId":0,"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"metadata":{"categories":["blog"]}} -->
2121
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"default","columnCount":1}} -->
2222
<!-- wp:template-part {"slug":"post"} /-->
23-
<!-- /wp:post-template --></div>
23+
<!-- /wp:post-template -->
24+
25+
<!-- wp:query-pagination {"paginationArrow":"arrow","showLabel":false,"layout":{"type":"flex","flexWrap":"nowrap","orientation":"horizontal","justifyContent":"space-between"}} -->
26+
<!-- wp:query-pagination-previous {"label":"Prev"} /-->
27+
28+
<!-- wp:query-pagination-numbers /-->
29+
30+
<!-- wp:query-pagination-next {"label":"Next"} /-->
31+
<!-- /wp:query-pagination --></div>
2432
<!-- /wp:query --></main>
2533
<!-- /wp:group -->
2634

0 commit comments

Comments
 (0)