Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fotograma: Preps for submission #7690

Merged
merged 2 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fotograma/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Fotograma ===
Contributors: Automattic
Requires at least: 6.2
Tested up to: 6.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
Binary file modified fotograma/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 6 additions & 35 deletions fotograma/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,15 @@ Theme URI: https://wordpress.com/theme/fotograma/
Author: Automattic
Author URI: https://automattic.com/
Description: Fotograma is a portfolio theme for photographers seeking to showcase powerful photography in large sizes.
Requires at least: 5.8
Tested up to: 6.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fotograma
Tags: photography, one-column, wide-blocks, block-patterns, block-styles, custom-background, 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, blog, news
*//*
* OpenType feature for Noto Sans Japanese.
* It re-spaces glyphs designed to be set on full-em widths, fitting them onto half-em widths.
*/
body {
font-feature-settings: "halt";
}
Tags: photography, one-column, wide-blocks, block-styles, featured-images, full-site-editing, rtl-language-support, style-variations, threaded-comments, translation-ready
*/

/*
* Control the hover stylings of outline block style.
Expand All @@ -40,35 +34,12 @@ a {
text-underline-offset: 2px;
}

/*
* Avatar Block
* Fix border radius setting for the avatar block
* https://github.com/WordPress/gutenberg/issues/48253
*/
.wp-block-avatar a,
.wp-block-avatar img {
border-radius: inherit;
}

/*
* Pull quote Block
* Reset the browser default margins for blockquote element
* https://github.com/WordPress/gutenberg/issues/44129
*/
.wp-block-pullquote blockquote {
.wp-block-pullquote blockquote,
.wp-block-pullquote p {
margin: 0;
}

/*
* Term Description Block
* Reset the browser default margins for paragraph element
* https://github.com/WordPress/gutenberg/issues/50515
*/

.wp-block-term-description p:first-child {
margin-top: 0;
}

.wp-block-term-description p:last-child {
margin-bottom: 0;
}
123 changes: 74 additions & 49 deletions fotograma/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"duotone": [],
"gradients": [],
"palette": [
Expand Down Expand Up @@ -41,11 +41,7 @@
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 0,
"unit": "rem"
"steps": 0
},
"spacingSizes": [
{
Expand Down Expand Up @@ -195,9 +191,6 @@
"core/avatar": {
"border": {
"radius": "999px"
},
"typography": {
"lineHeight": "0"
}
},
"core/button": {
Expand All @@ -208,10 +201,10 @@
},
"spacing": {
"padding": {
"bottom": "15px",
"left": "27px",
"right": "27px",
"top": "17px"
"bottom": "calc(1rem - 1px)",
"left": "calc(1.75rem - 1px)",
"right": "calc(1.75rem - 1px)",
"top": "calc(1.125rem - 1px)"
}
}
}
Expand All @@ -223,7 +216,7 @@
}
},
"core/calendar": {
"css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--contrast);} .wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th {border-color: var(--wp--preset--color--contrast);}:where(.wp-block-calendar table:not(.has-background) th) {background-color: var(--wp--preset--color--contrast);color: var(--wp--preset--color--base);}"
"css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) td {border-color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) th {border-color: var(--wp--preset--color--contrast);} & :where(.wp-block-calendar table:not(.has-background) th) {background-color: var(--wp--preset--color--contrast);color: var(--wp--preset--color--base);}"
},
"core/categories": {
"elements": {
Expand Down Expand Up @@ -251,9 +244,6 @@
"style": "solid",
"width": "1px"
},
"color": {
"background": "rgba(0,0,0,0.2)"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--40)",
Expand Down Expand Up @@ -327,16 +317,15 @@
"width": "1px"
},
"spacing": {
"padding": "2px 8px"
"padding": "0.125rem 0.5rem"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontSize": "var(--wp--preset--font-size--x-small)",
"fontWeight": "400",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
Expand All @@ -360,8 +349,8 @@
"core/comments-title": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "0px"
"bottom": "0px",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
Expand All @@ -382,7 +371,7 @@
"css": " .wp-element-caption{text-align:center;}"
},
"core/latest-comments": {
"css": " .wp-block-latest-comments__comment-date {font-size: var(--wp--preset--font-size--x-small);}.wp-block-latest-comments__comment-excerpt p{font-size: var(--wp--preset--font-size--small);}.wp-block-latest-comments__comment-excerpt p{margin:var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--50)}",
"css": " .wp-block-latest-comments__comment-meta{font-size: inherit;} & .wp-block-latest-comments__comment-date{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{margin:0 0 var(--wp--style--block-gap)} &:where(.wp-block-latest-comments:not([style*=line-height] .wp-block-latest-comments__comment-excerpt p)){line-height:calc(1em + 0.375rem);}",
"elements": {
"link": {
":hover": {
Expand All @@ -402,7 +391,7 @@
}
},
"core/latest-posts": {
"css": " .wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date {font-size: var(--wp--preset--font-size--x-small);}.wp-block-latest-posts__post-excerpt{margin:var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--50)}",
"css": ".wp-block-latest-posts .wp-block-latest-posts__post-author{font-size: inherit;} & .wp-block-latest-posts__post-date{font-size: inherit;} & .wp-block-latest-posts__post-excerpt{margin:0 0 var(--wp--style--block-gap)} & .wp-block-latest-posts__post-title{text-decoration: none;}",
"elements": {
"link": {
":hover": {
Expand All @@ -423,6 +412,20 @@
}
}
},
"core/loginout": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/navigation": {
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--contrast);} .wp-block-navigation__submenu-container.has-background {padding:0;}",
"elements": {
Expand Down Expand Up @@ -461,7 +464,7 @@
}
},
"core/post-author": {
"css": ".wp-block-post-author .wp-block-post-author__byline{font-size:0.7em;} .wp-block-post-author .wp-block-post-author__bio {font-size:inherit;} .wp-block-post-author__avatar img {vertical-align:middle;} .wp-block-post-author__bio {margin:0;} .wp-block-post-author__avatar img {border-radius: 999px;}",
"css": "& .wp-block-post-author__byline{font-size:inherit;}&.wp-block-post-author .wp-block-post-author__name a{text-decoration:none;}&.wp-block-post-author .wp-block-post-author__bio{font-size:inherit;margin:0;}& .wp-block-post-author__avatar img{border-radius: 999px;vertical-align:middle;}",
"elements": {
"link": {
":hover": {
Expand Down Expand Up @@ -513,7 +516,7 @@
}
},
"core/post-comments-form": {
"css": ".wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]), .wp-block-post-comments-form .comment-form textarea {line-height: inherit;} .wp-block-post-comments-form .form-submit {margin-bottom: 0;}"
"css": "&.comment-form input:not([type=submit]):not([type=checkbox]){line-height: inherit;} & .comment-form textarea{line-height: inherit;} & .comment-form > *{margin-top:var(--wp--style--block-gap);margin-bottom:0}"
},
"core/post-comments-link": {
"elements": {
Expand All @@ -532,6 +535,18 @@
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-content": {
"elements": {
"heading": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--60)"
}
}
}
}
},
"core/post-date": {
"elements": {
"link": {
Expand Down Expand Up @@ -613,7 +628,12 @@
},
"css": ".wp-block-pullquote cite {display:block;margin-top: var(--wp--preset--spacing--50)}",
"spacing": {
"padding": "var(--wp--preset--spacing--50)"
"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)",
Expand All @@ -637,6 +657,15 @@
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/query-pagination-next": {
"css": ".wp-block-query-pagination-next{margin:0;}"
},
"core/query-pagination-numbers": {
"css": ".wp-block-query-pagination-numbers{margin:0;}"
},
"core/query-pagination-previous": {
"css": ".wp-block-query-pagination-previous{margin:0;}"
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
Expand Down Expand Up @@ -708,15 +737,7 @@
"text": "var(--wp--preset--color--contrast)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
Expand Down Expand Up @@ -748,7 +769,7 @@
}
},
"core/table": {
"css": " + .wp-element-caption {text-align:center;}"
"css": "& thead{border-bottom-width: 1px;} & tfoot{border-top-width: 1px;} & + .wp-element-caption{text-align:center;}}"
},
"core/table-of-contents": {
"elements": {
Expand All @@ -765,9 +786,10 @@
}
},
"core/tag-cloud": {
"css": ".wp-block-tag-cloud.is-style-outline a {border-radius: 999px; padding: 0 1rem;} .wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base); background-color: var(--wp--preset--color--contrast);}"
"css": ".wp-block-tag-cloud.is-style-outline{font-size:var(--wp--preset--font-size--small);line-height:1} &.wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base); background-color: var(--wp--preset--color--contrast);} &.wp-block-tag-cloud.is-style-outline a {border-radius:999px;padding: 0.25rem 0.75rem;} "
},
"core/term-description": {
"css": "& p+p {margin-top:calc(1em + 0.5rem);}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
Expand Down Expand Up @@ -806,10 +828,10 @@
},
"spacing": {
"padding": {
"bottom": "16px",
"left": "28px",
"right": "28px",
"top": "18px"
"bottom": "1rem",
"left": "1.75rem",
"right": "1.75rem",
"top": "1.125rem"
}
},
"typography": {
Expand Down Expand Up @@ -899,10 +921,10 @@
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0",
"bottom": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0"
"top": "0px"
}
},
"typography": {
Expand All @@ -914,16 +936,19 @@
},
"templateParts": [
{
"area": "comments",
"name": "comments"
"area": "uncategorized",
"name": "comments",
"title": "Comments"
},
{
"area": "header",
"name": "header"
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer"
"name": "footer",
"title": "Footer"
}
],
"version": 2,
Expand Down
Loading