2022-08-30 10:25:44 +00:00
/ *
2022-09-09 07:17:02 +00:00
Theme Name : Pixl
2023-04-04 09:08:46 +00:00
Theme URI : https : / / wordpress . com / theme / pixl /
2022-08-30 10:25:44 +00:00
Author : Automattic
Author URI : https : / / automattic . com /
2022-09-16 07:00:41 +00:00
Description : Pixl is a simple yet opinionated blogging theme inspired by websites of the nineties .
Requires at least : 6 . 0
Tested up to : 6 . 0
2022-08-30 10:25:44 +00:00
Requires PHP : 5 . 7
2024-04-03 12:09:49 +00:00
Version : 1 . 0 . 7
2022-08-30 10:25:44 +00:00
License : GNU General Public License v2 or later
License URI : https : / / raw . githubusercontent . com / Automattic / themes / trunk / LICENSE
2022-09-07 04:38:03 +00:00
Template :
2022-09-09 07:17:02 +00:00
Text Domain : pixl
2023-07-07 10:28:51 +00:00
Tags : custom-colors , custom-menu , custom-logo , editor-style , featured-images , full-site-editing , one-column , rtl-language-support , theme-options , threaded-comments , translation-ready , wide-blocks , style-variations
2022-08-30 10:25:44 +00:00
* /
2022-09-07 04:38:03 +00:00
/ *
2022-08-30 18:16:20 +00:00
* Custom class to add shadow to blocks
2022-09-07 04:38:03 +00:00
* Need this until box shadow support added to Gutenberg here : https : / / github . com / WordPress / gutenberg / pull / 43184
2022-08-30 18:16:20 +00:00
* /
2022-09-09 07:17:02 +00:00
. pixl-shadow {
2022-09-06 07:34:21 +00:00
box-shadow : var ( --wp--custom--shadow ) ;
2022-08-30 18:16:20 +00:00
}
2022-09-07 04:38:03 +00:00
2022-09-08 14:23:06 +00:00
/* Links */
a : where ( : not ( . wp-element-button ) ) {
2022-09-16 07:00:41 +00:00
text-underline-offset : . 3em ;
/* text-decoration-thickness: 2px; */
2022-09-07 04:42:47 +00:00
}
/ *
* Form elements
* /
2022-09-09 07:03:21 +00:00
: is ( textarea , input : not ( [ type = "submit" ] ) ) {
2022-09-16 07:00:41 +00:00
color : var ( --wp--preset--color--foreground ) ;
background-color : var ( --wp--preset--color--background ) ;
border : 2px solid var ( --wp--preset--color--primary ) ! important ;
outline : none ;
2022-09-07 04:42:47 +00:00
font-size : 0 . 875rem ;
2022-09-27 09:34:32 +00:00
font-family : inherit ;
2022-09-07 04:42:47 +00:00
}
2022-09-16 07:00:41 +00:00
2022-09-09 07:03:21 +00:00
: is ( textarea , input : not ( [ type = "submit" ] ) ) :: placeholder {
2022-09-07 04:42:47 +00:00
color : var ( --wp--preset--color--foreground ) ;
font-weight : 300 ;
}
2022-09-16 07:00:41 +00:00
2022-09-09 07:03:21 +00:00
. wp-block-search : is ( textarea , input : not ( [ type = "submit" ] ) ) {
2022-09-07 04:42:47 +00:00
box-shadow : var ( --wp--custom--shadow ) ;
margin-right : var ( --wp--preset--spacing--20 ) ;
}
2022-09-16 07:00:41 +00:00
2022-09-09 07:03:21 +00:00
input [ type = "checkbox" ] {
appearance : none ;
min-width : 0 . 75rem ;
height : 0 . 75rem ;
position : relative ;
margin-left : 0 ;
}
2022-09-16 07:00:41 +00:00
input [ type = "checkbox" ] : checked :: after {
background-color : var ( --wp--preset--color--foreground ) ;
2022-09-09 07:03:21 +00:00
content : "" ;
position : absolute ;
width : 75 % ;
height : 75 % ;
top : 0 ;
left : 0 ;
2022-09-16 07:00:41 +00:00
bottom : 0 ;
right : 0 ;
margin : auto ;
2022-09-09 07:03:21 +00:00
}
2022-09-07 13:49:56 +00:00
/ *
* Navigation styles
* /
. wp-block-navigation__responsive-container . is-menu-open . wp-block-navigation__responsive-container-content . wp-block-navigation__submenu-container {
padding-top : 0 . 25rem ;
padding-bottom : 0 . 25rem ;
}
2022-09-16 07:00:41 +00:00
2022-09-07 13:49:56 +00:00
. wp-block-navigation__responsive-container . wp-block-navigation__responsive-container-content . wp-block-navigation__submenu-container {
background-color : var ( --wp--preset--color--background ) ;
color : var ( --wp--preset--color--foreground ) ;
border-color : var ( --wp--preset--color--primary ) ;
}
2022-09-08 04:27:49 +00:00
. wp-block-pullquote cite {
2022-09-16 07:00:41 +00:00
font-size : 0 . 75rem ;
font-style : normal ;
font-weight : 300 ;
line-height : 1 . 6 ;
2022-09-08 04:27:49 +00:00
}
2022-09-08 14:38:52 +00:00
/* Necessary so the header containing the navigation fills the entire remaining horizontal space, since it is positioned in a flex group with the site logo. */
2022-09-09 07:17:02 +00:00
. pixl-header {
2022-09-08 14:38:52 +00:00
flex-grow : 1 ;
}
2022-09-09 17:12:56 +00:00
/* Hover state for outline style button */
. wp-block-button . is-style-outline . wp-element-button : hover {
background-color : var ( --wp--preset--color--foreground ) ;
border-color : var ( --wp--preset--color--foreground ) ;
color : var ( --wp--preset--color--background ) ;
2022-09-16 07:00:41 +00:00
}