Compare commits

...

5 Commits

Author SHA1 Message Date
dependabot[bot]
9b21858580 Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 22:49:31 +00:00
9ab551f335 style changes to tweets and tables 2022-01-16 21:35:21 +00:00
30e2b890cf 1.0.1 2021-07-30 21:12:37 +01:00
dfabac5c2f Add styles for figcaption 2021-07-30 21:12:14 +01:00
292b660138 use ems for media queries 2021-07-30 21:03:03 +01:00
4 changed files with 29 additions and 18 deletions

View File

@@ -104,6 +104,7 @@
.content .twitter-tweet { .content .twitter-tweet {
width: auto !important; width: auto !important;
margin: 0 auto;
} }
.content .wp-caption { .content .wp-caption {
@@ -127,8 +128,7 @@
@media (--viewport-md) { @media (--viewport-md) {
.content .twitter-tweet, .content .twitter-tweet,
.content .wp-caption { .content .wp-caption {
margin: 0 0 var(--space-md); padding: var(--space-sm) var(--space-md);
padding: var(--space-md);
} }
} }
@@ -147,6 +147,19 @@
font-size: 0.8rem; font-size: 0.8rem;
} }
.content .wp-block-table {
display: flex;
flex-direction: column;
align-items: center;
}
.content figcaption {
font-size: var(--size-body-extra-small);
font-style: italic;
text-align: center;
color: var(--color-dark-blue);
}
.content table { .content table {
border-collapse: collapse; border-collapse: collapse;
table-layout: fixed; table-layout: fixed;
@@ -165,12 +178,8 @@
} }
} }
.content th,
.content tr,
.content td { .content td {
border-width: 0 0 1px; border: 1px solid var(--color-dark-blue);
border-style: solid;
border-color: var(--color-dark-blue);
padding: var(--space-xs); padding: var(--space-xs);
} }

View File

@@ -71,8 +71,8 @@
--bullet-size: 0.45rem; --bullet-size: 0.45rem;
} }
@custom-media --viewport-sm (min-width: 30rem); @custom-media --viewport-sm (min-width: 30em);
@custom-media --viewport-md (min-width: 40rem); @custom-media --viewport-md (min-width: 40em);
@custom-media --viewport-lg (min-width: 60rem); @custom-media --viewport-lg (min-width: 60em);
@custom-media --viewport-xl (min-width: 75rem); @custom-media --viewport-xl (min-width: 75em);
@custom-media --viewport-wordpress-admin-bar (min-width: 783px); @custom-media --viewport-wordpress-admin-bar (min-width: 783px);

14
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{ {
"name": "windycoys", "name": "windycoys",
"version": "1.0.0", "version": "1.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@@ -4536,9 +4536,9 @@
"integrity": "sha512-vDPw+rDgn3bZe1+F/pyEwb1oMG2XTlRVgAa6B4KccTEpYgF8w6eQllVbQcfIJnZyvzFtFpxnpGtx8dd7DJp/Rw==" "integrity": "sha512-vDPw+rDgn3bZe1+F/pyEwb1oMG2XTlRVgAa6B4KccTEpYgF8w6eQllVbQcfIJnZyvzFtFpxnpGtx8dd7DJp/Rw=="
}, },
"decode-uri-component": { "decode-uri-component": {
"version": "0.2.0", "version": "0.2.2",
"resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
"integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ=="
}, },
"decompress": { "decompress": {
"version": "4.2.1", "version": "4.2.1",
@@ -10663,7 +10663,8 @@
}, },
"normalize-url": { "normalize-url": {
"version": "4.5.0", "version": "4.5.0",
"resolved": "" "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
"integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
}, },
"p-cancelable": { "p-cancelable": {
"version": "1.1.0", "version": "1.1.0",
@@ -14116,7 +14117,8 @@
}, },
"glob-parent": { "glob-parent": {
"version": "5.1.1", "version": "5.1.1",
"resolved": "", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
"integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
"requires": { "requires": {
"is-glob": "^4.0.1" "is-glob": "^4.0.1"
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "windycoys", "name": "windycoys",
"version": "1.0.0", "version": "1.0.1",
"description": "Wordpress theme for windycoys.com", "description": "Wordpress theme for windycoys.com",
"author": "Dan Head <me@danielhead.com>", "author": "Dan Head <me@danielhead.com>",
"license": "MIT", "license": "MIT",