Compare commits
No commits in common. "trunk" and "v1.0.301" have entirely different histories.
111
.dotorg-ignore
|
@ -1,111 +0,0 @@
|
|||
# Themes to be ignored when deploying to the WordPress.org theme repository
|
||||
appleton
|
||||
arbutus
|
||||
artly
|
||||
assembler
|
||||
attar
|
||||
awburn
|
||||
azur
|
||||
barnett
|
||||
barnsbury23
|
||||
beep
|
||||
bennett
|
||||
blank-canvas-3
|
||||
block-canvas
|
||||
blogorama
|
||||
boxedbio
|
||||
calvin
|
||||
calyx
|
||||
chanson
|
||||
cortado
|
||||
covr
|
||||
craftfully
|
||||
creatio-2
|
||||
creatio
|
||||
curriculum
|
||||
dorna
|
||||
dos
|
||||
entry
|
||||
epi
|
||||
erma
|
||||
eventual
|
||||
exmoor
|
||||
farrow
|
||||
foam
|
||||
grammerone
|
||||
hall
|
||||
hari
|
||||
heiwa
|
||||
ici
|
||||
indice
|
||||
infield
|
||||
iotix
|
||||
issue
|
||||
jackson
|
||||
kansei
|
||||
kaze
|
||||
kingsley
|
||||
kiosko
|
||||
lativ
|
||||
loic
|
||||
lois
|
||||
luce
|
||||
lynx
|
||||
marl
|
||||
masu
|
||||
meraki
|
||||
messagerie
|
||||
montagna
|
||||
mpho
|
||||
muscat
|
||||
mysa
|
||||
nested
|
||||
nook
|
||||
organizer
|
||||
otis
|
||||
overlaid
|
||||
perenne
|
||||
pieria
|
||||
poesis
|
||||
pomme
|
||||
programme
|
||||
raw
|
||||
reverie
|
||||
ritratto
|
||||
russell
|
||||
screenplay
|
||||
shhh
|
||||
snd
|
||||
spearhead-blocks
|
||||
spiel
|
||||
stage
|
||||
startfit
|
||||
sten
|
||||
strand
|
||||
sunderland
|
||||
tenaz
|
||||
texty
|
||||
the-jazzers
|
||||
the-menu
|
||||
tu
|
||||
twentytwentytwo-blue
|
||||
twentytwentytwo-mint
|
||||
twentytwentytwo-pink
|
||||
twentytwentytwo-red
|
||||
twentytwentytwo-swiss
|
||||
verso
|
||||
vetro
|
||||
winkel
|
||||
xanadu
|
||||
|
||||
# General paths to be ignored when deploying to the WordPress.org theme repository
|
||||
inc/headstart
|
||||
node_modules
|
||||
package.json
|
||||
.git
|
||||
*.DS_Store
|
||||
*.sh
|
||||
*.map
|
||||
*wpcom*
|
||||
*.zip
|
||||
postcss.config.js
|
136
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
@ -1,21 +1,17 @@
|
|||
name: Bug Report
|
||||
description: Report issues with one of our products.
|
||||
labels: [ 'Needs triage', '[Type] Bug' ]
|
||||
description: Helps us improve our product!
|
||||
labels: "Needs triage, [Type] Bug"
|
||||
title: "[Bug]: "
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
### Thanks for contributing!
|
||||
|
||||
Please write a clear title, then fill in the fields below and submit.
|
||||
Please write a clear title, then fill in as much details as possible.
|
||||
|
||||
Please **do not** link to image hosting services such as Cloudup, Droplr, Imgur, etc…
|
||||
Instead, directly embed screenshot(s) or recording(s) in any of the text areas below: click, then drag and drop.
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
---
|
||||
## Core Information
|
||||
__Avoid using image hosting services such as Cloudup, Droplr, Imgur, etc., to link to media.__
|
||||
Instead, attach screenshot(s) or recording(s) directly in any of the text areas below: click, then drag and drop.
|
||||
- type: textarea
|
||||
id: summary
|
||||
attributes:
|
||||
|
@ -29,32 +25,95 @@ body:
|
|||
2. Click on any blog post.
|
||||
3. Click on the 'Like' button.
|
||||
4. ...
|
||||
|
||||
Attach any media by drag and dropping or selecting upload.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: A clear and concise description of what you expected to happen.
|
||||
label: What you expected to happen
|
||||
placeholder: |
|
||||
eg. Post should be liked.
|
||||
e.g. The post should be liked.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: actual
|
||||
attributes:
|
||||
label: What actually happened
|
||||
placeholder: |
|
||||
eg. Clicking the button does nothing visibly.
|
||||
e.g. Clicking the button does nothing visibly.
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: browser
|
||||
attributes:
|
||||
label: Browser
|
||||
description: (You may select more than one)
|
||||
options:
|
||||
- Google Chrome/Chromium
|
||||
- Mozilla Firefox
|
||||
- Microsoft Edge
|
||||
- Apple Safari
|
||||
- iOS Safari
|
||||
- Android Chrome
|
||||
multiple: true
|
||||
- type: input
|
||||
id: issue_context
|
||||
attributes:
|
||||
label: Context
|
||||
placeholder: |
|
||||
e.g. Customer report, details of your exploratory testing, etc.
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
---
|
||||
## Additional context
|
||||
|
||||
The following section is optional. If you're an Automattician, you should be able to fill it in. If not, please scroll to the bottom and submit the issue.
|
||||
- type: dropdown
|
||||
id: site-type
|
||||
attributes:
|
||||
label: Platform (Simple, Atomic, or both?)
|
||||
description: (You may select more than one)
|
||||
options:
|
||||
- Simple
|
||||
- Atomic
|
||||
- Self-hosted
|
||||
multiple: true
|
||||
- type: textarea
|
||||
id: other_notes
|
||||
attributes:
|
||||
label: Other notes
|
||||
placeholder: |
|
||||
e.g. Logs, CLI or console errors, notes, observations, etc.
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
---
|
||||
## Issue severity
|
||||
|
||||
Please provide details around how often the issue is reproducible & how many users are affected.
|
||||
- type: dropdown
|
||||
id: reproducibility
|
||||
attributes:
|
||||
label: Reproducibility
|
||||
options:
|
||||
- Consistent
|
||||
- Intermittent
|
||||
- Once
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: users-affected
|
||||
attributes:
|
||||
label: Impact
|
||||
description: Approximately how many users are impacted?
|
||||
label: Severity
|
||||
description: How many users are impacted? A guess is fine.
|
||||
options:
|
||||
- One
|
||||
- Some (< 50%)
|
||||
- Most (> 50%)
|
||||
- All
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: workarounds
|
||||
attributes:
|
||||
|
@ -65,45 +124,10 @@ body:
|
|||
- Yes, difficult to implement
|
||||
- Yes, easy to implement
|
||||
- There is no user impact
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
<br>
|
||||
- type: textarea
|
||||
id: workaround-detail
|
||||
id: workarounds-detail
|
||||
attributes:
|
||||
label: If the above answer is "Yes...", outline the workaround.
|
||||
label: Workaround details
|
||||
description: If you are aware of a workaround, please describe it below.
|
||||
placeholder: |
|
||||
Provide details of the specific steps to take that resolve the issue, e.g.:
|
||||
- Open "Setting X".
|
||||
- Toggle "Option Y".
|
||||
- Click "Button Z".
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
<br>
|
||||
|
||||
## Optional Information
|
||||
|
||||
The following section is optional.
|
||||
- type: dropdown
|
||||
id: site-type
|
||||
attributes:
|
||||
label: Platform (Simple and/or Atomic)
|
||||
description: (You may select more than one)
|
||||
options:
|
||||
- Simple
|
||||
- Atomic
|
||||
- Self-hosted
|
||||
multiple: true
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Logs or notes
|
||||
placeholder: |
|
||||
Add any information that may be relevant, such as:
|
||||
- Browser/Platform
|
||||
- Theme
|
||||
- Logs/Errors
|
||||
e.g. There is an alternative way to access this setting in the sidebar, but it's not readily apparent.
|
||||
|
|
15
.github/ISSUE_TEMPLATE/theme_launch.yml
vendored
|
@ -1,15 +0,0 @@
|
|||
name: DotCom theme launch checklist
|
||||
description: Checklist used to keep track of theme launches on DotCom.
|
||||
title: '[DotCom Launch]: <theme name>'
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
### DotCom launch checklist
|
||||
- [ ] Test the theme on dotCom
|
||||
- [ ] Create demo site
|
||||
- [ ] Create theme showcase
|
||||
- [ ] Theme launch post
|
||||
- [ ] Launch theme
|
||||
|
||||
Remember to add a label to this issue, or creating it if it doesn't exist. Format: [Theme] _<theme name>_
|
114
.github/scripts/create-preview-links.js
vendored
|
@ -1,114 +0,0 @@
|
|||
/*
|
||||
* This function creates a WordPress Playground blueprint JSON string for a theme.
|
||||
*
|
||||
* @param {string} themeSlug - The slug of the theme to create a blueprint for.
|
||||
* @param {string} branch - The branch where the theme changes are located.
|
||||
* @returns {string} - A JSON string representing the blueprint.
|
||||
*/
|
||||
function createBlueprint(themeSlug, branch) {
|
||||
const template = {
|
||||
steps: [
|
||||
{
|
||||
step: 'login',
|
||||
username: 'admin',
|
||||
password: 'password',
|
||||
},
|
||||
{
|
||||
step: 'installTheme',
|
||||
themeZipFile: {
|
||||
resource: 'url',
|
||||
url: `https://github-proxy.com/proxy.php?action=partial&repo=Automattic/themes&directory=${themeSlug}&branch=${branch}`,
|
||||
},
|
||||
},
|
||||
{
|
||||
step: 'activateTheme',
|
||||
themeFolderName: themeSlug,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
return JSON.stringify(template);
|
||||
}
|
||||
|
||||
/*
|
||||
* This function creates a comment on a PR with preview links for the changed themes.
|
||||
* It is used by `preview-theme` workflow.
|
||||
*
|
||||
* @param {object} github - An authenticated instance of the GitHub API.
|
||||
* @param {object} context - The context of the event that triggered the action.
|
||||
* @param {string} changedThemeSlugs - A space-separated string of theme slugs that have changed.
|
||||
*/
|
||||
async function createPreviewLinksComment(github, context, changedThemeSlugs) {
|
||||
const changedThemes = changedThemeSlugs.split(',');
|
||||
const previewLinks = changedThemes
|
||||
.map((theme) => {
|
||||
const [themeName, themeDir] = theme.split(':');
|
||||
const themeSlug = themeDir.split('/')[0];
|
||||
const parentThemeSlug = themeName.split('_childof_')[1];
|
||||
return `- [Preview changes for **${
|
||||
themeName.split('_childof_')[0]
|
||||
}**](https://playground.wordpress.net/#${createBlueprint(
|
||||
themeSlug,
|
||||
context.payload.pull_request.head.ref
|
||||
)})${parentThemeSlug ? ` (child of **${parentThemeSlug}**)` : ''}`;
|
||||
})
|
||||
.join('\n');
|
||||
|
||||
const includesChildThemes = previewLinks.includes('child of');
|
||||
|
||||
const comment = `
|
||||
I've detected changes to the following themes in this PR: ${changedThemes
|
||||
.map(
|
||||
(changedThemes) => changedThemes.split(':')[0].split('_childof_')[0]
|
||||
)
|
||||
.join(', ')}.
|
||||
|
||||
You can preview these changes by following the links below:
|
||||
|
||||
${previewLinks}
|
||||
|
||||
I will update this comment with the latest preview links as you push more changes to this PR.
|
||||
**⚠️ Note:** The preview sites are created using [WordPress Playground](https://wordpress.org/playground/). You can add content, edit settings, and test the themes as you would on a real site, but please note that changes are not saved between sessions.
|
||||
${
|
||||
includesChildThemes
|
||||
? '\n**⚠️ Note:** Child themes are dependent on their parent themes. You will have to install the parent theme as well for the preview to work correctly.'
|
||||
: ''
|
||||
}
|
||||
`;
|
||||
|
||||
const repoData = {
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
};
|
||||
|
||||
// Check if a comment already exists and update it if it does
|
||||
const { data: comments } = await github.rest.issues.listComments({
|
||||
issue_number: context.payload.pull_request.number,
|
||||
...repoData,
|
||||
});
|
||||
const existingComment = comments.find(
|
||||
(comment) =>
|
||||
comment.user.login === 'github-actions[bot]' &&
|
||||
comment.body.startsWith('### Preview changes')
|
||||
);
|
||||
const commentObject = {
|
||||
body: `### Preview changes\n${comment}`,
|
||||
...repoData,
|
||||
};
|
||||
|
||||
if (existingComment) {
|
||||
await github.rest.issues.updateComment({
|
||||
comment_id: existingComment.id,
|
||||
...commentObject,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
// Create a new comment if one doesn't exist
|
||||
github.rest.issues.createComment({
|
||||
issue_number: context.payload.pull_request.number,
|
||||
...commentObject,
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = createPreviewLinksComment;
|
5
.github/workflows/gardening.yml
vendored
|
@ -42,6 +42,5 @@ jobs:
|
|||
slack_team_channel: ${{ secrets.SLACK_TEAM_CHANNEL }}
|
||||
slack_he_triage_channel: ${{ secrets.SLACK_HE_TRIAGE_CHANNEL }}
|
||||
slack_quality_channel: ${{ secrets.SLACK_QUALITY_CHANNEL }}
|
||||
triage_projects_token: ${{ secrets.PROJECT_AUTOMATION_TOKEN }}
|
||||
project_board_url: ${{ secrets.PROJECT_BOARD_URL }}
|
||||
tasks: 'cleanLabels,flagOss,triageIssues,gatherSupportReferences,replyToCustomersReminder,updateBoard'
|
||||
slack_kitkat_channel: ${{ secrets.SLACK_KITKAT_CHANNEL }}
|
||||
tasks: 'cleanLabels,flagOss,triageNewIssues,gatherSupportReferences,replyToCustomersReminder,notifyKitKat'
|
||||
|
|
23
.github/workflows/preview-theme.yml
vendored
|
@ -1,23 +0,0 @@
|
|||
name: Preview Theme Changes
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, synchronize]
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
preview-theme-changes:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Preview Theme Changes
|
||||
uses: vcanales/action-wp-playground-pr-preview@trunk
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
base-branch: trunk
|
132
.github/workflows/version-bump.yml
vendored
|
@ -1,132 +0,0 @@
|
|||
name: Version bump themes
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
theme-slug:
|
||||
description: 'Theme slug'
|
||||
required: false
|
||||
default: 'all'
|
||||
|
||||
jobs:
|
||||
version-bump:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: trunk
|
||||
|
||||
- name: Create branch
|
||||
id: create-branch
|
||||
run: |
|
||||
BRANCH_NAME="automated-version-bump/${{ github.run_number }}"
|
||||
git checkout -b $BRANCH_NAME
|
||||
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 19
|
||||
|
||||
- name: Install node dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Version bump
|
||||
id: version-bump
|
||||
run: |
|
||||
if [ "${{ github.event.inputs.theme-slug }}" == 'all' ]; then
|
||||
npm run deploy:version-bump
|
||||
else
|
||||
# Check if theme exists
|
||||
theme_exists=false
|
||||
target_theme_slug=${{ github.event.inputs.theme-slug }}
|
||||
|
||||
# Loop through each subdirectory in the themes directory
|
||||
for dir in ./*/; do
|
||||
# Get the name of the directory (theme name)
|
||||
theme_dir_name=$(basename "$dir")
|
||||
|
||||
# Check if the directory name matches the target theme name and if it contains a style.css file
|
||||
if [[ "$theme_dir_name" == "$target_theme_slug" && -f "$dir/style.css" ]]; then
|
||||
theme_exists=true
|
||||
fi
|
||||
done
|
||||
|
||||
# Error out if theme does not exist
|
||||
if [ "$theme_exists" == false ]; then
|
||||
echo "Theme `${{ github.event.inputs.theme-slug }}` does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
npm run deploy:version-bump -- ${{ github.event.inputs.theme-slug }}
|
||||
fi
|
||||
|
||||
- name: Check if there are changes
|
||||
id: check-changes
|
||||
run: |
|
||||
if [ "$(git diff --cached --name-only)" ]; then
|
||||
echo "HAS_CHANGES=true" >> $GITHUB_ENV
|
||||
|
||||
# Get list of changed directory names for staged changes
|
||||
changed_dirs=$(git diff --cached --name-only | xargs -I {} dirname {} | sort | uniq)
|
||||
|
||||
# Initialize an array for CHANGED_THEMES
|
||||
changed_themes=()
|
||||
|
||||
# Iterate over the changed directories
|
||||
for dir in $changed_dirs; do
|
||||
if [ -f "$dir/style.css" ]; then
|
||||
# Append the directory to changed_themes array
|
||||
changed_themes+=("$dir")
|
||||
fi
|
||||
done
|
||||
|
||||
# Join array elements into a string
|
||||
CHANGED_THEMES=$(IFS=,; echo "${changed_themes[*]}")
|
||||
|
||||
echo "CHANGED_THEMES=$CHANGED_THEMES" >> $GITHUB_ENV
|
||||
echo "Themes with changes: $CHANGED_THEMES"
|
||||
else
|
||||
echo "HAS_CHANGES=false" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Commit changes
|
||||
if: env.HAS_CHANGES == 'true'
|
||||
run: |
|
||||
git config user.name 'github-actions[bot]'
|
||||
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
||||
git add .
|
||||
git commit -m "Version bump & changelog update" --no-verify
|
||||
git push --set-upstream origin ${{ env.BRANCH_NAME }}
|
||||
|
||||
- name: Create Pull Request
|
||||
if: env.HAS_CHANGES == 'true'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CHANGED_THEMES: ${{ env.CHANGED_THEMES }}
|
||||
run: |
|
||||
echo "Creating PR for themes: $CHANGED_THEMES"
|
||||
THEMES_LIST=$(echo "$CHANGED_THEMES" | tr ',' '\n')
|
||||
PR_BODY=$(cat <<-EOF
|
||||
## [Automation] Themes Version Bump
|
||||
|
||||
This PR was automatically created by the version bump workflow.
|
||||
|
||||
### Updated Themes
|
||||
The following themes are being updated due to changes since the last git tag:
|
||||
|
||||
$THEMES_LIST
|
||||
|
||||
### Why These Updates?
|
||||
This script bumps the version of themes that have changes since the last git tag. This ensures that any updates or fixes are properly versioned and deployed.
|
||||
|
||||
### Disclaimer
|
||||
This is an automated process. Please review the changes carefully.
|
||||
EOF
|
||||
)
|
||||
gh pr create \
|
||||
--title "[Automation] Themes version bump" \
|
||||
--base trunk \
|
||||
--head ${{ env.BRANCH_NAME }} \
|
||||
--body "$PR_BODY"
|
3
.gitignore
vendored
|
@ -5,7 +5,6 @@ theme-dev-utils/
|
|||
theme-dev-utils
|
||||
vendor/
|
||||
*.DS_Store
|
||||
.DS_Store
|
||||
*.zip
|
||||
*.rej
|
||||
**/*.map
|
||||
|
@ -16,7 +15,6 @@ vendor/
|
|||
.github_token
|
||||
.wp-env.override.json
|
||||
.pub-git-hash
|
||||
.idea
|
||||
|
||||
#Ignoring headstart files
|
||||
*/inc/headstart/*
|
||||
|
@ -351,7 +349,6 @@ twentytwentyone/
|
|||
twentytwentyone-blocks/
|
||||
twentytwentytwo/
|
||||
twentytwentythree/
|
||||
twentytwentyfour/
|
||||
typo/
|
||||
under-the-influence/
|
||||
unsleepable/
|
||||
|
|
2
.nvmrc
|
@ -1 +1 @@
|
|||
18
|
||||
17
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Verify an argument is provided
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Usage: $0 <directory>"
|
||||
echo "Error: Directory argument missing."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Directory containing PHP files, passed as an argument
|
||||
DIRECTORY="$1"
|
||||
|
||||
# Loop over each PHP file in the specified directory
|
||||
find "$DIRECTORY" -type f -name "*.php" | while read -r file; do
|
||||
[ -n "$DEBUG" ] && echo "Processing file: $file"
|
||||
# Check if the file contains the strict_types declaration
|
||||
if ! grep -qE 'declare\s*\(\s*strict_types\s*=\s*1\s*\)\s*;' "$file"; then
|
||||
[ -n "$DEBUG" ] && echo "Declaration not found in: $file"
|
||||
# If not, prepend the strict_types declaration
|
||||
{
|
||||
echo '<?php declare( strict_types = 1 ); ?>'
|
||||
cat "$file"
|
||||
} > "$file.tmp" && mv "$file.tmp" "$file"
|
||||
else
|
||||
[ -n "$DEBUG" ] && echo "Declaration found in: $file"
|
||||
fi
|
||||
done
|
Before Width: | Height: | Size: 415 KiB |
|
@ -1,85 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Adonay functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package Adonay
|
||||
* @since Adonay 1.0
|
||||
*/
|
||||
|
||||
|
||||
if ( ! function_exists( 'adonay_support' ) ) :
|
||||
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress features.
|
||||
*
|
||||
* @since Adonay 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function adonay_support() {
|
||||
|
||||
// Enqueue editor styles.
|
||||
add_editor_style( 'style.css' );
|
||||
|
||||
// Make theme available for translation.
|
||||
load_theme_textdomain( 'adonay' );
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'after_setup_theme', 'adonay_support' );
|
||||
|
||||
if ( ! function_exists( 'adonay_styles' ) ) :
|
||||
|
||||
/**
|
||||
* Enqueue styles.
|
||||
*
|
||||
* @since Adonay 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function adonay_styles() {
|
||||
|
||||
// Register theme stylesheet.
|
||||
wp_register_style(
|
||||
'adonay-style',
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
array(),
|
||||
wp_get_theme()->get( 'Version' )
|
||||
);
|
||||
|
||||
// Enqueue theme stylesheet.
|
||||
wp_enqueue_style( 'adonay-style' );
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'adonay_styles' );
|
||||
|
||||
/**
|
||||
* Register pattern categories.
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'adonay_pattern_categories' ) ) :
|
||||
/**
|
||||
* Register pattern categories
|
||||
*
|
||||
* @since Adonay 1.0
|
||||
* @return void
|
||||
*/
|
||||
function adonay_pattern_categories() {
|
||||
|
||||
register_block_pattern_category(
|
||||
'page',
|
||||
array(
|
||||
'label' => _x( 'Pages', 'Block pattern category', 'adonay' ),
|
||||
'description' => __( 'A collection of full page layouts.', 'adonay' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
endif;
|
||||
|
||||
add_action( 'init', 'adonay_pattern_categories' );
|
|
@ -1,11 +0,0 @@
|
|||
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
|
||||
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
|
||||
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:paragraph {"align":"left","style":{"typography":{"fontSize":"14px"}}} -->
|
||||
<p class="has-text-align-left" style="font-size:14px">Designed with <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
|
@ -1,11 +0,0 @@
|
|||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60","top":"var:preset|spacing|60","right":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"><!-- wp:site-title {"fontSize":"large"} /-->
|
||||
|
||||
<!-- wp:navigation {"ref":4,"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
|
||||
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
|
@ -1,7 +0,0 @@
|
|||
<!-- wp:group {"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group"><!-- wp:post-date {"isLink":true,"fontSize":"small"} /-->
|
||||
|
||||
<!-- wp:post-terms {"term":"category","fontSize":"small"} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: A 404 page
|
||||
* Slug: adonay/404
|
||||
* Inserter: no
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} -->
|
||||
<h1 class="has-text-align-center has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can’t be found.', 'adonay' ); ?></h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'adonay' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
|
@ -1,52 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Comments
|
||||
* slug: adonay/comments
|
||||
* inserter: no
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
|
||||
<div class="wp-block-comments wp-block-comments-query-loop">
|
||||
<!-- wp:comments-title {"level":3} /-->
|
||||
|
||||
<!-- wp:comment-template -->
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"0.5em"}}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:avatar {"size":40,"style":{"spacing":{"margin":{"top":"0.5em"}}}} /-->
|
||||
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:comment-author-name /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex"},"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}}} -->
|
||||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
|
||||
<!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
|
||||
|
||||
<!-- wp:comment-edit-link /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:comment-content /-->
|
||||
|
||||
<!-- wp:comment-reply-link /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:comment-template -->
|
||||
|
||||
<!-- wp:comments-pagination -->
|
||||
<!-- wp:comments-pagination-previous /-->
|
||||
<!-- wp:comments-pagination-numbers /-->
|
||||
<!-- wp:comments-pagination-next /-->
|
||||
<!-- /wp:comments-pagination -->
|
||||
|
||||
<!-- wp:post-comments-form /-->
|
||||
</div>
|
||||
<!-- /wp:comments -->
|
|
@ -1,33 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Default footer
|
||||
* Slug: adonay/footer
|
||||
* Categories: footer
|
||||
* Block Types: core/template-part/footer
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
|
||||
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
|
||||
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">
|
||||
<?php
|
||||
/* Translators: WordPress link. */
|
||||
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'adonay' ) ) . '" rel="nofollow">WordPress</a>';
|
||||
echo sprintf(
|
||||
esc_html__( 'Designed with %1$s', 'adonay' ),
|
||||
$wordpress_link
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Hidden No Results Content
|
||||
* Slug: adonay/hidden-no-results-content
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'adonay' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
|
@ -1,51 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: home
|
||||
* Slug: adonay/home
|
||||
* Categories: hidden
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:columns {"lock":{"move":false,"remove":true},"style":{"spacing":{"blockGap":{"left":"0"}}}} -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
|
||||
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group" style="min-height:100%"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
|
||||
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
|
||||
<div class="wp-block-group"><!-- wp:site-title /-->
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"},"spacing":{"margin":{"right":"var:preset|spacing|80"}}}} -->
|
||||
<p style="margin-right:var(--wp--preset--spacing--80);line-height:1.3">I’m a photographer and art director based in Manchester, United Kingdom. When I’m not shooting weddings and portraits, you can find me posting on Instagram. Currently available for hire.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p><a href="#">Get in Touch</a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><a href="#">Instagram</a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><a href="#">X</a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><a href="#">Youtube</a></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/adonay_image-1-scaled.jpg","id":149,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom right","style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"color":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-cover has-custom-content-position is-position-bottom-right" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-149" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/adonay_image-1-scaled.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"right","placeholder":"Write title…","style":{"typography":{"fontSize":"14px"}}} -->
|
||||
<p class="has-text-align-right" style="font-size:14px">Designed with WordPress</p>
|
||||
<!-- /wp:paragraph --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
|
@ -1,41 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Homepage with a small, rounded image
|
||||
* Slug: adonay/homepage-with-a-small-rounded-image
|
||||
* Categories: page
|
||||
* Inserter: yes
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"padding":{"left":"5.1vw","right":"5.1vw","top":"5.1vh","bottom":"5.1vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group" style="min-height:100%;padding-top:5.1vh;padding-right:5.1vw;padding-bottom:5.1vh;padding-left:5.1vw"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
|
||||
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:image {"id":149,"width":"200px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"layout":{"flexSize":"13px","selfStretch":"fixed"}},"className":"is-style-rounded"} -->
|
||||
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg" alt="" class="wp-image-149" style="aspect-ratio:1;object-fit:cover;width:200px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:spacer {"height":"13px","style":{"layout":{"flexSize":"20px","selfStretch":"fixed"}}} -->
|
||||
<div style="height:13px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group"><!-- wp:site-title /-->
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2","fontSize":"38px"}}} -->
|
||||
<p style="font-size:38px;line-height:1.2">I’m a photographer and art director based in Manchester, United Kingdom. When I’m not shooting weddings and portraits, you can find me posting on <a href="#">Instagram</a>. Currently available for hire.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#ffffff","size":"has-large-icon-size","className":"is-style-logos-only"} -->
|
||||
<ul class="wp-block-social-links has-large-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"instagram"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"x"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"youtube"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
|
||||
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
|
@ -1,51 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Homepage with a full height image
|
||||
* Slug: adonay/homepage-with-a-full-height-image
|
||||
* Categories: page
|
||||
* Inserter: yes
|
||||
*/
|
||||
?>
|
||||
<!-- wp:columns {"lock":{"move":false,"remove":true},"style":{"spacing":{"blockGap":{"left":"0"}}}} -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
|
||||
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group" style="min-height:100%"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
|
||||
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
|
||||
<div class="wp-block-group"><!-- wp:site-title /-->
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"},"spacing":{"margin":{"right":"var:preset|spacing|80"}}}} -->
|
||||
<p style="margin-right:var(--wp--preset--spacing--80);line-height:1.3">I’m a photographer and art director based in Manchester, United Kingdom. When I’m not shooting weddings and portraits, you can find me posting on Instagram. Currently available for hire.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p><a href="#">Get in Touch</a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><a href="#">Instagram</a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><a href="#">X</a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><a href="#">Youtube</a></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:cover {"url":"https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg","id":149,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom right","style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"color":{}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-cover has-custom-content-position is-position-bottom-right" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-149" alt="" src="https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"right","placeholder":"Write title…","style":{"typography":{"fontSize":"14px"}}} -->
|
||||
<p class="has-text-align-right" style="font-size:14px">Designed with WordPress</p>
|
||||
<!-- /wp:paragraph --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
|
@ -1,62 +0,0 @@
|
|||
=== Adonay ===
|
||||
Contributors: Automattic
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.4.1
|
||||
Requires PHP: 5.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
== Description ==
|
||||
|
||||
Adonay is crafted for single page websites that want to leave a stunning and memorable first impression. It also provides post and page templates for those looking to customize and broaden their website's functionality. Adonay comes with 3 distinctive style variations and 12 vibrant color options.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.0 =
|
||||
* Initial release
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Adonay is based on Block Canvas (https://github.com/Automattic/themes/tree/trunk/block-canvas), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) Block Canvas WordPress Theme, (C) 2022 Automattic Block Canvas is distributed under the terms of the GNU GPL.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
BioRhyme Expanded Font
|
||||
Copyright 2016 Aoife Mooney (aoifemooney@gmail.com www.aoifemooney.org)
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
|
||||
License URL: http://scripts.sil.org/OFL
|
||||
Source: http://www.aoifemooney.org
|
||||
-- End of BioRhyme Expanded Font credits --
|
||||
|
||||
Instrument Serif Font
|
||||
Copyright 2022 The Instrument Serif Project Authors (https://github.com/Instrument/instrument-serif)
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
|
||||
License URL: https://scripts.sil.org/OFL
|
||||
Source: www.fragtypefoundry.xyz
|
||||
-- End of Instrument Serif Font credits --
|
||||
|
||||
Public Sans Font
|
||||
Copyright 2015 The Public Sans Project Authors (https://github.com/uswds/public-sans)
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL. The license for USWDS’s Modified Version,...
|
||||
License URL: SIL Open Font License, Version 1.1: https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL_web; USWDS Modified Version: https://github.com/uswds/public-sans/blob/master/LICENSE.md
|
||||
-- End of Public Sans Font credits --
|
||||
|
||||
adonay_image-1-scaled.jpg
|
||||
CC0 License
|
||||
https://nappy.co/photo/435
|
||||
|
||||
Zilla Slab Font
|
||||
Copyright 2017, The Mozilla Foundation
|
||||
|
||||
Source: http://www.typotheque.com
|
||||
-- End of Zilla Slab Font credits --
|
||||
|
||||
Libre Caslon Condensed Font
|
||||
Copyright 2020 The Libre Caslon Text Project Authors (https://github.com/thundernixon/Libre-Caslon)
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
|
||||
License URL: https://scripts.sil.org/OFL
|
||||
Source: https://fonts.google.com/
|
||||
-- End of Libre Caslon Condensed Font credits --
|
Before Width: | Height: | Size: 334 KiB |
|
@ -1,35 +0,0 @@
|
|||
/*
|
||||
Theme Name: Adonay
|
||||
Theme URI:
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com
|
||||
Description: Adonay is crafted for single page websites that want to leave a stunning and memorable first impression. Nonetheless, the theme provides post and page templates for those looking to customize and broaden their website's functionality. Adonay comes with 3 distinctive style variations and an array of 12 vibrant color options.
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.4.1
|
||||
Requires PHP: 5.7
|
||||
Version: 1.0.0
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: adonay
|
||||
Tags: one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready
|
||||
*/
|
||||
|
||||
/*
|
||||
* Control the hover stylings of outline block style.
|
||||
* Unnecessary once block styles are configurable via theme.json
|
||||
* https://github.com/WordPress/gutenberg/issues/42794
|
||||
*/
|
||||
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
|
||||
background-color: var(--wp--preset--color--secondary);
|
||||
color: var(--wp--preset--color--base);
|
||||
border-color: var(--wp--preset--color--secondary);
|
||||
}
|
||||
|
||||
/*
|
||||
* Link styles
|
||||
* https://github.com/WordPress/gutenberg/issues/42319
|
||||
*/
|
||||
a {
|
||||
text-decoration-thickness: .0625em !important;
|
||||
text-underline-offset: .15em;
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#f1f1f1",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#171db7",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#171db7",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#171db7",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#ececec",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": "Accent Blue",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#000000",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#d7d7d7",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#262626",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": "Black",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,67 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#feffcc",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#3f4b50",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#3f4b50",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#3f4b50",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#ffffe2",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"radius": "0px"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
|
||||
"fontSize": "8rem",
|
||||
"lineHeight": "1.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
|
||||
"fontSize": "1.6rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
},
|
||||
"title": "Funky Serif Cream",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,67 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#232732",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#313846",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"radius": "0px"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
|
||||
"fontSize": "8rem",
|
||||
"lineHeight": "1.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
|
||||
"fontSize": "1.6rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
},
|
||||
"title": "Funky Serif Indigo",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,67 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#ecdddd",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#853322",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#853322",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#853322",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#f4efef",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"radius": "0px"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
|
||||
"fontSize": "8rem",
|
||||
"lineHeight": "1.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
|
||||
"fontSize": "1.6rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
},
|
||||
"title": "Funky Serif Pink",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,82 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#f3f3f3",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#ab18d0",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#ab18d0",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#ab18d0",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#ebebeb",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"radius": "0px"
|
||||
}
|
||||
},
|
||||
"core/cover": {
|
||||
"filter": {
|
||||
"duotone": "var(--wp--preset--duotone--duotone-2)"
|
||||
}
|
||||
},
|
||||
"core/image": {
|
||||
"filter": {
|
||||
"duotone": "var(--wp--preset--duotone--duotone-2)"
|
||||
}
|
||||
},
|
||||
"core/post-featured-image": {
|
||||
"filter": {
|
||||
"duotone": "var(--wp--preset--duotone--duotone-2)"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
|
||||
"fontSize": "8rem",
|
||||
"lineHeight": "1.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
|
||||
"fontSize": "1.6rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
},
|
||||
"title": "Funky Serif Purple",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#542723",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#ffdef7",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#ffdef7",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#ffdef7",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#6d3731",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"bottom": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"color": null,
|
||||
"left": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"radius": "100px",
|
||||
"right": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"style": null,
|
||||
"top": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"width": null
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"core/search": {
|
||||
"border": {
|
||||
"radius": "100px"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
|
||||
"fontSize": "3.6rem"
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
|
||||
"fontSize": "1.5rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "300",
|
||||
"lineHeight": "1.3"
|
||||
}
|
||||
},
|
||||
"title": "Funky Slab Brown",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#f5c1ad",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#24101f",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#24101f",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#24101f",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#eab39d",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"bottom": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"color": null,
|
||||
"left": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"radius": "100px",
|
||||
"right": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"style": null,
|
||||
"top": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"width": null
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"core/search": {
|
||||
"border": {
|
||||
"radius": "100px"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
|
||||
"fontSize": "3.6rem"
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
|
||||
"fontSize": "1.5rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "300",
|
||||
"lineHeight": "1.3"
|
||||
}
|
||||
},
|
||||
"title": "Funky Slab Desert",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,110 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#feeee8",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#11620a",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#11620a",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#11620a",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#f8e0d8",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"bottom": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"color": null,
|
||||
"left": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"radius": "100px",
|
||||
"right": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"style": null,
|
||||
"top": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"width": null
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"core/cover": {
|
||||
"filter": {
|
||||
"duotone": "var(--wp--preset--duotone--duotone-1)"
|
||||
}
|
||||
},
|
||||
"core/image": {
|
||||
"filter": {
|
||||
"duotone": "var(--wp--preset--duotone--duotone-1)"
|
||||
}
|
||||
},
|
||||
"core/post-featured-image": {
|
||||
"filter": {
|
||||
"duotone": "var(--wp--preset--duotone--duotone-1)"
|
||||
}
|
||||
},
|
||||
"core/search": {
|
||||
"border": {
|
||||
"radius": "100px"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
|
||||
"fontSize": "3.6rem"
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
|
||||
"fontSize": "1.5rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "300",
|
||||
"lineHeight": "1.3"
|
||||
}
|
||||
},
|
||||
"title": "Funky Slab Linen",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#5b5b39",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#fffb83",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#fffb83",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#fffb83",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#535332",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"bottom": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"color": null,
|
||||
"left": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"radius": "100px",
|
||||
"right": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"style": null,
|
||||
"top": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"width": null
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"core/search": {
|
||||
"border": {
|
||||
"radius": "100px"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
|
||||
"fontSize": "3.6rem"
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
|
||||
"fontSize": "1.5rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "300",
|
||||
"lineHeight": "1.3"
|
||||
}
|
||||
},
|
||||
"title": "Funky Slab Olive",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#fefefe",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#1a1a1a",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#1a1a1a",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#555555",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#eeeeee",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": "White",
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"left","level":1,"fontSize":"large"} -->
|
||||
<h1 class="wp-block-heading has-text-align-left has-large-font-size" id="oops-that-page-can-t-be-found">Oops! That page can’t be found.</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>It looks like nothing was found at this location. Maybe try a search?</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:search {"label":""} /--></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
@ -1,33 +0,0 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-query"><!-- wp:query-title {"type":"archive","textAlign":"left","align":"wide","style":{"spacing":{"margin":{"bottom":"100px"}}},"fontSize":"large"} /-->
|
||||
|
||||
<!-- wp:post-template {"align":"wide"} -->
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
|
||||
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
|
||||
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:post-excerpt /-->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
@ -1 +0,0 @@
|
|||
<!-- wp:pattern {"slug":"adonay/home"} /-->
|
|
@ -1,31 +0,0 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
|
||||
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
|
||||
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:post-excerpt /-->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
@ -1,19 +0,0 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group"><!-- wp:post-featured-image {"aspectRatio":"3/2","align":"wide"} /-->
|
||||
|
||||
<!-- wp:spacer {"height":"30px"} -->
|
||||
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:post-title {"textAlign":"left","align":"wide","fontSize":"x-large"} /--></main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"lock":{"move":false,"remove":true},"align":"full","layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignfull" style="padding-right:0;padding-left:0"><!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"full","layout":{"type":"constrained"}} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
@ -1,41 +0,0 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:query-title {"type":"search","fontSize":"large"} /-->
|
||||
|
||||
<!-- wp:search {"showLabel":false} /-->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
|
||||
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
|
||||
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:post-excerpt /-->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
@ -1,61 +0,0 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group"><!-- wp:template-part {"slug":"post-meta","align":"wide"} /-->
|
||||
|
||||
<!-- wp:post-title {"textAlign":"left","align":"wide","fontSize":"x-large"} /-->
|
||||
|
||||
<!-- wp:spacer {"height":"30px"} -->
|
||||
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:post-featured-image {"aspectRatio":"auto","align":"wide"} /--></main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignfull" style="padding-right:0;padding-left:0"><!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"full","layout":{"type":"constrained"}} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:spacer {"height":"4rem"} -->
|
||||
<div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
|
||||
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:comments-title {"level":3} /-->
|
||||
|
||||
<!-- wp:comment-template -->
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"spacing":{"blockGap":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:avatar {"size":40,"style":{"spacing":{"margin":{"top":"0.5em"}}}} /-->
|
||||
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group"><!-- wp:comment-author-name /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}},"layout":{"type":"flex"}} -->
|
||||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
|
||||
|
||||
<!-- wp:comment-edit-link /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:comment-content /-->
|
||||
|
||||
<!-- wp:comment-reply-link /--></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:comment-template -->
|
||||
|
||||
<!-- wp:comments-pagination {"paginationArrow":"chevron","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:comments-pagination-previous /-->
|
||||
|
||||
<!-- wp:comments-pagination-next /-->
|
||||
<!-- /wp:comments-pagination -->
|
||||
|
||||
<!-- wp:post-comments-form /--></div>
|
||||
<!-- /wp:comments --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
@ -1,733 +0,0 @@
|
|||
{
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"color": {
|
||||
"duotone": [
|
||||
{
|
||||
"colors": [
|
||||
"#4F9249",
|
||||
"#FEEEE8"
|
||||
],
|
||||
"name": "Green",
|
||||
"slug": "duotone-1"
|
||||
},
|
||||
{
|
||||
"colors": [
|
||||
"#BC2BE0",
|
||||
"#F3F3F3"
|
||||
],
|
||||
"name": "Purple",
|
||||
"slug": "duotone-2"
|
||||
}
|
||||
],
|
||||
"palette": [
|
||||
{
|
||||
"color": "#ce0808",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#b80c0c",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
},
|
||||
"layout": {
|
||||
"contentSize": "800px",
|
||||
"wideSize": "800px"
|
||||
},
|
||||
"spacing": {
|
||||
"units": [
|
||||
"%",
|
||||
"px",
|
||||
"em",
|
||||
"rem",
|
||||
"vh",
|
||||
"vw"
|
||||
]
|
||||
},
|
||||
"typography": {
|
||||
"fluid": true,
|
||||
"fontFamilies": [
|
||||
{
|
||||
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
|
||||
"name": "System Font",
|
||||
"slug": "system-font"
|
||||
},
|
||||
{
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "BioRhyme Expanded",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "800",
|
||||
"src": [
|
||||
"file:./assets/fonts/biorhyme-expanded_normal_800.ttf"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fontFamily": "BioRhyme Expanded",
|
||||
"slug": "biorhyme-expanded"
|
||||
},
|
||||
{
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "Instrument Serif",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/instrument-serif_italic_400.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Instrument Serif",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/instrument-serif_normal_400.ttf"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fontFamily": "Instrument Serif",
|
||||
"slug": "instrument-serif"
|
||||
},
|
||||
{
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "200",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_normal_200.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "300",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_normal_300.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_normal_400.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "500",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_normal_500.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "600",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_normal_600.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "700",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_normal_700.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "200",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_italic_200.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "300",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_italic_300.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_italic_400.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "500",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_italic_500.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "600",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_italic_600.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Public Sans",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "700",
|
||||
"src": [
|
||||
"file:./assets/fonts/public-sans_italic_700.ttf"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fontFamily": "Public Sans",
|
||||
"slug": "public-sans"
|
||||
},
|
||||
{
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "BioRhyme",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/biorhyme_normal_400.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "BioRhyme",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "700",
|
||||
"src": [
|
||||
"file:./assets/fonts/biorhyme_normal_700.ttf"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fontFamily": "BioRhyme",
|
||||
"slug": "biorhyme"
|
||||
},
|
||||
{
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "Zilla Slab",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "300",
|
||||
"src": [
|
||||
"file:./assets/fonts/zilla-slab_normal_300.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Zilla Slab",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "300",
|
||||
"src": [
|
||||
"file:./assets/fonts/zilla-slab_italic_300.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Zilla Slab",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/zilla-slab_normal_400.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Zilla Slab",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/zilla-slab_italic_400.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Zilla Slab",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "500",
|
||||
"src": [
|
||||
"file:./assets/fonts/zilla-slab_normal_500.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Zilla Slab",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "500",
|
||||
"src": [
|
||||
"file:./assets/fonts/zilla-slab_italic_500.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Zilla Slab",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "600",
|
||||
"src": [
|
||||
"file:./assets/fonts/zilla-slab_normal_600.ttf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Zilla Slab",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "600",
|
||||
"src": [
|
||||
"file:./assets/fonts/zilla-slab_italic_600.ttf"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fontFamily": "Zilla Slab",
|
||||
"slug": "zilla-slab"
|
||||
},
|
||||
{
|
||||
"fontFace": [
|
||||
{
|
||||
"fontFamily": "Libre Caslon Condensed",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/libre-caslon-condensed_normal_400.otf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Libre Caslon Condensed",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "400",
|
||||
"src": [
|
||||
"file:./assets/fonts/libre-caslon-condensed_italic_400.otf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Libre Caslon Condensed",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "700",
|
||||
"src": [
|
||||
"file:./assets/fonts/libre-caslon-condensed_normal_700.otf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"fontFamily": "Libre Caslon Condensed",
|
||||
"fontStyle": "italic",
|
||||
"fontWeight": "700",
|
||||
"src": [
|
||||
"file:./assets/fonts/libre-caslon-condensed_italic_700.otf"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fontFamily": "Libre Caslon Condensed",
|
||||
"slug": "libre-caslon-condensed"
|
||||
}
|
||||
],
|
||||
"fontSizes": [
|
||||
{
|
||||
"fluid": {
|
||||
"max": "1.0625rem",
|
||||
"min": "0.825rem"
|
||||
},
|
||||
"name": "Small",
|
||||
"size": "1rem",
|
||||
"slug": "small"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "1.25rem",
|
||||
"min": "1rem"
|
||||
},
|
||||
"name": "Medium",
|
||||
"size": "1.125rem",
|
||||
"slug": "medium"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "2rem",
|
||||
"min": "1.75rem"
|
||||
},
|
||||
"name": "Large",
|
||||
"size": "1.75rem",
|
||||
"slug": "large"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "3rem",
|
||||
"min": "2.5rem"
|
||||
},
|
||||
"name": "Extra Large",
|
||||
"size": "3rem",
|
||||
"slug": "x-large"
|
||||
}
|
||||
]
|
||||
},
|
||||
"useRootPaddingAwareAlignments": true
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/code": {
|
||||
"border": {
|
||||
"bottom": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"left": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"radius": "0.25rem",
|
||||
"right": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"style": "solid",
|
||||
"top": {
|
||||
"style": "none",
|
||||
"width": "0px"
|
||||
},
|
||||
"width": "2px"
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--tertiary)"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "var(--wp--preset--spacing--50)",
|
||||
"left": "var(--wp--preset--spacing--50)",
|
||||
"right": "var(--wp--preset--spacing--50)",
|
||||
"top": "var(--wp--preset--spacing--50)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "monospace"
|
||||
}
|
||||
},
|
||||
"core/comment-author-name": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-date": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-edit-link": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-reply-link": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/gallery": {
|
||||
"spacing": {
|
||||
"margin": {
|
||||
"bottom": "var(--wp--preset--spacing--50)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/list": {
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--70)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/navigation": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/post-author-name": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/post-date": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/post-terms": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/post-title": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"margin": {
|
||||
"bottom": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/pullquote": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"style": "solid",
|
||||
"width": "1px 0"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "var(--wp--preset--spacing--50)",
|
||||
"left": "var(--wp--preset--spacing--50)",
|
||||
"right": "var(--wp--preset--spacing--50)",
|
||||
"top": "var(--wp--preset--spacing--50)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--large)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400",
|
||||
"lineHeight": "1.4",
|
||||
"textTransform": "none"
|
||||
}
|
||||
},
|
||||
"core/quote": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--primary)",
|
||||
"style": "solid",
|
||||
"width": "0 0 0 1px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--50)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontStyle": "normal"
|
||||
}
|
||||
},
|
||||
"core/search": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"lineHeight": "1.6"
|
||||
}
|
||||
},
|
||||
"core/separator": {
|
||||
"border": {
|
||||
"color": "currentColor",
|
||||
"style": "solid",
|
||||
"width": "0 0 1px 0"
|
||||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
}
|
||||
},
|
||||
"core/site-tagline": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "2.9rem",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "600"
|
||||
}
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--base)",
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"css": "a:any-link {\ncursor: auto;\n text-decoration-thickness: .02em !important;\n text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n text-decoration: none;\n}",
|
||||
"elements": {
|
||||
"button": {
|
||||
":active": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--primary)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
":focus": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--primary)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
},
|
||||
"outline": {
|
||||
"color": "var(--wp--preset--color--primary)",
|
||||
"offset": "2px",
|
||||
"style": "dotted",
|
||||
"width": "1px"
|
||||
}
|
||||
},
|
||||
":hover": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--secondary)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
"border": {
|
||||
"radius": "0.25rem"
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--primary)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
"h1": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--x-large)"
|
||||
}
|
||||
},
|
||||
"h2": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--large)"
|
||||
}
|
||||
},
|
||||
"h3": {
|
||||
"typography": {
|
||||
"fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
|
||||
}
|
||||
},
|
||||
"h4": {
|
||||
"typography": {
|
||||
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
|
||||
}
|
||||
},
|
||||
"h5": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"h6": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--public-sans)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "500",
|
||||
"lineHeight": "1.125"
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--secondary)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": "var(--wp--preset--spacing--40)",
|
||||
"padding": {
|
||||
"bottom": "0",
|
||||
"left": "var(--wp--preset--spacing--50)",
|
||||
"right": "var(--wp--preset--spacing--50)",
|
||||
"top": "0"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--public-sans)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "300",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"templateParts": [
|
||||
{
|
||||
"area": "header",
|
||||
"name": "header"
|
||||
},
|
||||
{
|
||||
"area": "footer",
|
||||
"name": "footer"
|
||||
}
|
||||
],
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 951 KiB After Width: | Height: | Size: 1 MiB |
|
@ -13,7 +13,6 @@
|
|||
<h1 class="wp-block-heading alignwide has-text-align-left" id="oops-that-page-can-t-be-found" style="font-size:4.4rem"><?php echo esc_html__( 'Oops! That page can’t be found.', 'adventurer' ); ?></h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'adventurer' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
?>
|
||||
|
||||
<!-- wp:group {"tagName":"aside","align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"constrained"}} -->
|
||||
<aside class="wp-block-group alignfull">
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","right":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60"}}},"backgroundColor":"tertiary","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-tertiary-background-color has-background" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)">
|
||||
<!-- wp:paragraph {"style":{"typography":{"letterSpacing":"1px","fontStyle":"normal","fontWeight":"500","textTransform":"uppercase","fontSize":"0.8rem"}}} -->
|
||||
|
@ -52,5 +52,5 @@
|
|||
<!-- wp:spacer {"height":"170px"} -->
|
||||
<div style="height:170px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
</aside>
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
|
|
@ -12,18 +12,6 @@ A theme for travelers, writers and photographers.
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.4 =
|
||||
* Lossless image optimization (#7671)
|
||||
|
||||
= 1.0.4 =
|
||||
* Optimize images (#7671)
|
||||
|
||||
= 1.0.3 =
|
||||
* Rainfall & Adventurer: Update sidebar tag to `aside` (#7284)
|
||||
|
||||
= 1.0.2 =
|
||||
* Update new theme links to point to WPCOM instead of GitHub (#6969)
|
||||
|
||||
= 1.0.1 =
|
||||
* Adventurer: design fixes (#6917)
|
||||
|
||||
|
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 38 KiB |
|
@ -1,13 +1,13 @@
|
|||
/*
|
||||
Theme Name: Adventurer
|
||||
Theme URI: https://wordpress.com/theme/adventurer/
|
||||
Theme URI: https://github.com/Automattic/themes/tree/trunk/adventurer
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com/
|
||||
Description: A theme for travelers, writers and photographers.
|
||||
Requires at least: 6.1
|
||||
Tested up to: 6.1.1
|
||||
Requires PHP: 5.7
|
||||
Version: 1.0.4
|
||||
Version: 1.0.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Template:
|
||||
|
|
Before Width: | Height: | Size: 507 KiB After Width: | Height: | Size: 507 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 214 KiB |
Before Width: | Height: | Size: 273 KiB After Width: | Height: | Size: 273 KiB |
|
@ -4,7 +4,7 @@ Theme URI: http://wordpress.com/themes/affinity/
|
|||
Author: Automattic
|
||||
Author URI: http://wordpress.com/themes/
|
||||
Description: Affinity is a classic one-page theme designed with weddings and family announcements in mind.
|
||||
Version: 1.1.4-wpcom
|
||||
Version: 1.0.0-wpcom
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: affinity
|
||||
|
@ -148,27 +148,23 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel {
|
||||
|
||||
/* Colour-code all panels (add 1 to account for #affinity-hero, so 2 is actually panel 1)*/
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel::after {
|
||||
border: 2px dashed;
|
||||
bottom: 1.6em;
|
||||
content: "";
|
||||
content: '';
|
||||
display: block;
|
||||
left: 1.6em;
|
||||
position: absolute;
|
||||
right: 1.6em;
|
||||
top: 1.6em;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel .affinity-panel-title {
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
font-family: $font__headings;
|
||||
|
||||
@include font-size(0.875);
|
||||
@include font-size(.875);
|
||||
letter-spacing: 1px;
|
||||
padding: 5px 10px;
|
||||
position: absolute;
|
||||
|
@ -178,78 +174,61 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
transform: translate(3px,-3px);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(1)::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(2) .affinity-panel-title {
|
||||
background: #a64b55;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(2)::after {
|
||||
border-color: #a64b55;
|
||||
color: #a64b55;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(3) .affinity-panel-title {
|
||||
background: #b569a2;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(3)::after {
|
||||
border-color: #b569a2;
|
||||
color: #b569a2;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(4) .affinity-panel-title {
|
||||
background: #8f68bd;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(4)::after {
|
||||
border-color: #8f68bd;
|
||||
color: #8f68bd;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(5) .affinity-panel-title {
|
||||
background: #575ebd;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(5)::after {
|
||||
border-color: #575ebd;
|
||||
color: #575ebd;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(6) .affinity-panel-title {
|
||||
background: #55a1bd;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(6)::after {
|
||||
border-color: #55a1bd;
|
||||
color: #55a1bd;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(7) .affinity-panel-title {
|
||||
background: #7dbd8f;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(7)::after {
|
||||
border-color: #7dbd8f;
|
||||
color: #7dbd8f;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(8) .affinity-panel-title {
|
||||
background: #c8b247;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(8)::after {
|
||||
border-color: #c8b247;
|
||||
color: #c8b247;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(9) .affinity-panel-title {
|
||||
background: #bd7555;
|
||||
}
|
||||
|
||||
.affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(9)::after {
|
||||
border-color: #bd7555;
|
||||
color: #bd7555;
|
||||
|
@ -257,7 +236,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
|
||||
/* Add a highlight class to improve Customizer behaviour */
|
||||
@-webkit-keyframes flash {
|
||||
|
||||
0%,
|
||||
20%,
|
||||
40%,
|
||||
|
@ -266,7 +244,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
10%,
|
||||
30%,
|
||||
50%,
|
||||
|
@ -275,9 +252,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes flash {
|
||||
|
||||
0%,
|
||||
20%,
|
||||
40%,
|
||||
|
@ -286,7 +261,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
10%,
|
||||
30%,
|
||||
50%,
|
||||
|
@ -324,7 +298,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
width: auto;
|
||||
height: auto;
|
||||
visibility: visible;
|
||||
margin: 0 0.4em;
|
||||
margin: 0 .4em;
|
||||
}
|
||||
|
||||
.panel-navigation {
|
||||
|
@ -365,8 +339,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
border: 3px solid rgba($color__border-button,0.5);
|
||||
color: rgba($color__border-button,0.5);
|
||||
display: inline-block;
|
||||
|
||||
@include font-size(0.8);
|
||||
@include font-size(.8);
|
||||
font-family: $font__headings;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
|
@ -396,7 +369,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
display: inline-block;
|
||||
text-transform: none;
|
||||
letter-spacing: 0;
|
||||
|
||||
@include font-size(1);
|
||||
font-family: $font__main;
|
||||
font-weight: normal;
|
||||
|
@ -440,7 +412,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
display: inline-block;
|
||||
text-transform: none;
|
||||
letter-spacing: 0;
|
||||
|
||||
@include font-size(1);
|
||||
font-family: $font__main;
|
||||
font-weight: normal;
|
||||
|
@ -454,44 +425,36 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
h1 {
|
||||
|
||||
@include font-size(2.945);
|
||||
}
|
||||
|
||||
h2 {
|
||||
|
||||
@include font-size(2.625);
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
||||
@include font-size(1.825);
|
||||
}
|
||||
|
||||
h4 {
|
||||
|
||||
@include font-size(1.625);
|
||||
}
|
||||
|
||||
h5 {
|
||||
|
||||
@include font-size(1.125);
|
||||
}
|
||||
|
||||
h6 {
|
||||
|
||||
@include font-size(1);
|
||||
}
|
||||
|
||||
.entry-title {
|
||||
line-height: 1.2;
|
||||
|
||||
@include font-size(2.945);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.site-description {
|
||||
|
||||
@include font-size(2);
|
||||
line-height: 1.4;
|
||||
color: $color__border-button;
|
||||
|
@ -509,12 +472,10 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
.page-title {
|
||||
|
||||
@include font-size(1.825);
|
||||
}
|
||||
|
||||
.entry-summary {
|
||||
|
||||
@include font-size(1.625);
|
||||
}
|
||||
|
||||
|
@ -537,7 +498,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
.no-custom-header .header-wrapper {
|
||||
padding-bottom: 0.8em;
|
||||
padding-bottom: .8em;
|
||||
}
|
||||
|
||||
.no-custom-header .site-title,
|
||||
|
@ -621,11 +582,11 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
z-index: 99999;
|
||||
|
||||
a {
|
||||
padding: 0.8em !important;
|
||||
padding: .8em !important;
|
||||
padding-left: inherit;
|
||||
}
|
||||
|
||||
&::before {
|
||||
&:before {
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
|
@ -639,7 +600,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
top: -20px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
&:after {
|
||||
border: 3px solid $color__border-button;
|
||||
content: "";
|
||||
display: block;
|
||||
|
@ -659,7 +620,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
padding-left: inherit;
|
||||
}
|
||||
|
||||
&::before {
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@ -667,13 +628,12 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
li {
|
||||
margin-left: 0;
|
||||
text-align: center;
|
||||
|
||||
&:hover > ul,
|
||||
&.focus > ul {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
a::after {
|
||||
a:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -703,7 +663,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
a:visited {
|
||||
border-bottom: 1px solid $color__border-button;
|
||||
color: $color__text-screen;
|
||||
padding: 0.8em;
|
||||
padding: .8em;
|
||||
margin: 0;
|
||||
width: 180px;
|
||||
}
|
||||
|
@ -722,7 +682,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
li:hover > ul,
|
||||
li.focus > ul {
|
||||
left: 50%;
|
||||
transform: translateX(-0.75em) translateX(-50%);
|
||||
transform: translateX(-.75em) translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -740,7 +700,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
}
|
||||
|
||||
a::after {
|
||||
a:after {
|
||||
content: "\2666";
|
||||
color: rgba($color__border-button,0.25);
|
||||
display: inline-block;
|
||||
|
@ -748,7 +708,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
margin-left: 1em;
|
||||
}
|
||||
|
||||
&:last-of-type a::after {
|
||||
&:last-of-type a:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@ -759,7 +719,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
position: relative;
|
||||
padding-right: 1.6em;
|
||||
|
||||
&::before {
|
||||
&:before {
|
||||
content: "\f431";
|
||||
font-family: Genericons;
|
||||
font-size: 14px;
|
||||
|
@ -772,25 +732,25 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
&::after {
|
||||
&:after {
|
||||
position: relative;
|
||||
left: 1.6em;
|
||||
}
|
||||
}
|
||||
|
||||
li.menu-item-has-children:last-of-type > a::before,
|
||||
li.page_item_has_children:last-of-type > a::before {
|
||||
right: -0.1em;
|
||||
li.menu-item-has-children:last-of-type > a:before,
|
||||
li.page_item_has_children:last-of-type > a:before {
|
||||
right: -.1em;
|
||||
}
|
||||
|
||||
ul ul li.menu-item-has-children > a,
|
||||
ul ul li.page_item_has_children > a {
|
||||
|
||||
&::before {
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&::after {
|
||||
&:after {
|
||||
content: "\f431";
|
||||
color: $color__link;
|
||||
font-family: Genericons;
|
||||
|
@ -831,7 +791,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
|
||||
.admin-bar .header-wrapper {
|
||||
top: 46px;
|
||||
}
|
||||
|
@ -840,7 +799,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
@media screen and ( min-width: 58em ) {
|
||||
|
||||
.site-description {
|
||||
|
||||
@include font-size(2.945);
|
||||
}
|
||||
|
||||
|
@ -913,7 +871,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
clear: both;
|
||||
display: block;
|
||||
float: none;
|
||||
margin-bottom: 0.8em;
|
||||
margin-bottom: .8em;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
|
@ -921,7 +879,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
clear: none;
|
||||
}
|
||||
|
||||
.comment-meta .edit-link::before {
|
||||
.comment-meta .edit-link:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -934,7 +892,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
.entry-meta,
|
||||
.comment-meta {
|
||||
border-right: 1px solid $color__border-button;
|
||||
padding-right: 0.8em;
|
||||
padding-right: .8em;
|
||||
float: left;
|
||||
width: 21%;
|
||||
}
|
||||
|
@ -949,7 +907,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
.page-template-guestbook {
|
||||
|
||||
.comment-content,
|
||||
.comment-meta {
|
||||
width: 100%;
|
||||
|
@ -965,7 +922,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
|
||||
.page,
|
||||
.jetpack-portfolio {
|
||||
|
||||
.entry-content,
|
||||
.entry-summary,
|
||||
.entry-footer {
|
||||
|
@ -1007,7 +963,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-widgets .widget-areas .widget-area:nth-child(1):nth-last-child(3),
|
||||
.footer-widgets .widget-areas .widget-area:nth-child(2):nth-last-child(2),
|
||||
.footer-widgets .widget-areas .widget-area:nth-child(3):nth-last-child(1) {
|
||||
|
@ -1037,7 +992,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
blockquote {
|
||||
|
||||
@include font-size(1.625);
|
||||
|
||||
&.alignright,
|
||||
|
@ -1055,7 +1009,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
img {
|
||||
|
||||
&.alignleft.below-entry-meta {
|
||||
margin-left: -7.2em;
|
||||
}
|
||||
|
@ -1072,7 +1025,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
.wp-caption-text {
|
||||
border-top: 3px solid $color__border-button;
|
||||
margin: 0;
|
||||
padding-top: 0.8em;
|
||||
padding-top: .8em;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 158px;
|
||||
|
@ -1080,7 +1033,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
.wp-caption.alignleft.below-entry-meta {
|
||||
|
||||
.wp-caption-text {
|
||||
transform: translateX(-100%) translateX(-1.6em);
|
||||
text-align: right;
|
||||
|
@ -1088,7 +1040,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
|
|||
}
|
||||
|
||||
.wp-caption.alignright.below-sidebar {
|
||||
|
||||
.wp-caption-text {
|
||||
right: 0;
|
||||
transform: translateX(100%) translateX(1.6em);
|
||||
|
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 75 KiB |
|
@ -84,7 +84,7 @@ function affinity_categorized_blog() {
|
|||
) );
|
||||
|
||||
// Count the number of categories that are attached to the posts.
|
||||
$all_the_cool_cats = is_countable( $all_the_cool_cats ) ? count( $all_the_cool_cats ) : 0;
|
||||
$all_the_cool_cats = count( $all_the_cool_cats );
|
||||
|
||||
set_transient( 'affinity_categories', $all_the_cool_cats );
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 652 KiB After Width: | Height: | Size: 653 KiB |
|
@ -4,7 +4,7 @@ Theme URI: http://wordpress.com/themes/affinity/
|
|||
Author: Automattic
|
||||
Author URI: http://wordpress.com/themes/
|
||||
Description: Affinity is a classic one-page theme designed with weddings and family announcements in mind.
|
||||
Version: 1.1.4-wpcom
|
||||
Version: 1.1.3-wpcom
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: affinity
|
||||
|
|