Compare commits

..

3 Commits

Author SHA1 Message Date
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 14 additions and 8 deletions

View File

@@ -127,8 +127,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 +146,13 @@
font-size: 0.8rem; font-size: 0.8rem;
} }
.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;

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);

2
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": {

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",