Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
noblogs-wp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ai
noblogs-wp
Commits
fb089f3c
Commit
fb089f3c
authored
May 19, 2019
by
samba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[auto] theme: twentynineteen 1.4
parent
f6fd66df
Changes
25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
693 additions
and
460 deletions
+693
-460
wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php
...ynineteen/classes/class-twentynineteen-walker-comment.php
+4
-5
wp-content/themes/twentynineteen/header.php
wp-content/themes/twentynineteen/header.php
+2
-1
wp-content/themes/twentynineteen/image.php
wp-content/themes/twentynineteen/image.php
+1
-1
wp-content/themes/twentynineteen/inc/color-patterns.php
wp-content/themes/twentynineteen/inc/color-patterns.php
+4
-10
wp-content/themes/twentynineteen/inc/template-tags.php
wp-content/themes/twentynineteen/inc/template-tags.php
+18
-0
wp-content/themes/twentynineteen/print.css
wp-content/themes/twentynineteen/print.css
+1
-2
wp-content/themes/twentynineteen/print.scss
wp-content/themes/twentynineteen/print.scss
+179
-179
wp-content/themes/twentynineteen/readme.txt
wp-content/themes/twentynineteen/readme.txt
+8
-2
wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
+35
-51
wp-content/themes/twentynineteen/sass/mixins/_mixins-master.scss
...ent/themes/twentynineteen/sass/mixins/_mixins-master.scss
+3
-3
wp-content/themes/twentynineteen/sass/navigation/_menu-main-navigation.scss
...twentynineteen/sass/navigation/_menu-main-navigation.scss
+4
-3
wp-content/themes/twentynineteen/sass/site/footer/_site-footer.scss
.../themes/twentynineteen/sass/site/footer/_site-footer.scss
+10
-0
wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss
...twentynineteen/sass/site/header/_site-featured-image.scss
+2
-2
wp-content/themes/twentynineteen/sass/site/header/_site-header.scss
.../themes/twentynineteen/sass/site/header/_site-header.scss
+5
-0
wp-content/themes/twentynineteen/sass/site/primary/_comments.scss
...nt/themes/twentynineteen/sass/site/primary/_comments.scss
+5
-0
wp-content/themes/twentynineteen/sass/typography/_headings.scss
...tent/themes/twentynineteen/sass/typography/_headings.scss
+7
-0
wp-content/themes/twentynineteen/style-editor.css
wp-content/themes/twentynineteen/style-editor.css
+2
-1
wp-content/themes/twentynineteen/style-editor.scss
wp-content/themes/twentynineteen/style-editor.scss
+2
-1
wp-content/themes/twentynineteen/style-rtl.css
wp-content/themes/twentynineteen/style-rtl.css
+312
-124
wp-content/themes/twentynineteen/style.css
wp-content/themes/twentynineteen/style.css
+83
-69
wp-content/themes/twentynineteen/style.scss
wp-content/themes/twentynineteen/style.scss
+2
-2
wp-content/themes/twentynineteen/template-parts/content/content-excerpt.php
...twentynineteen/template-parts/content/content-excerpt.php
+1
-1
wp-content/themes/twentynineteen/template-parts/content/content-single.php
.../twentynineteen/template-parts/content/content-single.php
+1
-1
wp-content/themes/twentynineteen/template-parts/content/content.php
.../themes/twentynineteen/template-parts/content/content.php
+1
-1
wp-content/themes/twentynineteen/template-parts/header/entry-header.php
...mes/twentynineteen/template-parts/header/entry-header.php
+1
-1
No files found.
wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php
View file @
fb089f3c
...
...
@@ -33,10 +33,9 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
<footer
class=
"comment-meta"
>
<div
class=
"comment-author vcard"
>
<?php
$comment_author_link
=
get_comment_author_link
(
$comment
);
$comment_author_url
=
get_comment_author_url
(
$comment
);
$comment_author
=
get_comment_author
(
$comment
);
$avatar
=
get_avatar
(
$comment
,
$args
[
'avatar_size'
]
);
$comment_author_url
=
get_comment_author_url
(
$comment
);
$comment_author
=
get_comment_author
(
$comment
);
$avatar
=
get_avatar
(
$comment
,
$args
[
'avatar_size'
]
);
if
(
0
!=
$args
[
'avatar_size'
]
)
{
if
(
empty
(
$comment_author_url
)
)
{
echo
$avatar
;
...
...
@@ -71,7 +70,7 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
),
)
),
'<b class="fn">'
.
get_comment_author_link
(
$comment
)
.
'</b>'
'<b class="fn">'
.
$comment_author
.
'</b>'
);
if
(
!
empty
(
$comment_author_url
)
)
{
...
...
wp-content/themes/twentynineteen/header.php
View file @
fb089f3c
...
...
@@ -20,6 +20,7 @@
</head>
<body
<?php
body_class
();
?>
>
<?php
wp_body_open
();
?>
<div
id=
"page"
class=
"site"
>
<a
class=
"skip-link screen-reader-text"
href=
"#content"
>
<?php
_e
(
'Skip to content'
,
'twentynineteen'
);
?>
</a>
...
...
@@ -27,7 +28,7 @@
<div
class=
"site-branding-container"
>
<?php
get_template_part
(
'template-parts/header/site'
,
'branding'
);
?>
</div>
<!-- .
layout-wrap
-->
</div>
<!-- .
site-branding-container
-->
<?php
if
(
is_singular
()
&&
twentynineteen_can_show_post_thumbnail
()
)
:
?>
<div
class=
"site-featured-image"
>
...
...
wp-content/themes/twentynineteen/image.php
View file @
fb089f3c
...
...
@@ -78,7 +78,7 @@ get_header();
<?php
twentynineteen_entry_footer
();
?>
</footer>
<!-- .entry-footer -->
</article>
<!-- #post-
##
-->
</article>
<!-- #post-
<?php
the_ID
();
?>
-->
<?php
// Parent post navigation.
...
...
wp-content/themes/twentynineteen/inc/color-patterns.php
View file @
fb089f3c
...
...
@@ -132,20 +132,14 @@ function twentynineteen_custom_colors_css() {
}
/*
* Set
left
border color for:
* Set border color for:
* wp block quote
* :focus
*/
blockquote,
.entry .entry-content blockquote,
.entry .entry-content .wp-block-quote:not(.is-large),
.entry .entry-content .wp-block-quote:not(.is-style-large) {
border-left-color: hsl( '
.
$primary_color
.
', '
.
$saturation
.
', '
.
$lightness
.
' ); /* base: #0073a8; */
}
/*
* Set border color for:
* :focus
*/
.entry .entry-content .wp-block-quote:not(.is-style-large),
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
...
...
@@ -231,7 +225,7 @@ function twentynineteen_custom_colors_css() {
.editor-block-list__layout .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large),
.editor-styles-wrapper .editor-block-list__layout .wp-block-freeform blockquote {
border-
left: 2px solid
hsl( '
.
$primary_color
.
', '
.
$saturation
.
', '
.
$lightness
.
' ); /* base: #0073a8; */
border-
color:
hsl( '
.
$primary_color
.
', '
.
$saturation
.
', '
.
$lightness
.
' ); /* base: #0073a8; */
}
.editor-block-list__layout .editor-block-list__block .wp-block-pullquote.is-style-solid-color:not(.has-background-color) {
...
...
wp-content/themes/twentynineteen/inc/template-tags.php
View file @
fb089f3c
...
...
@@ -238,3 +238,21 @@ if ( ! function_exists( 'twentynineteen_the_posts_navigation' ) ) :
);
}
endif
;
if
(
!
function_exists
(
'wp_body_open'
)
)
:
/**
* Fire the wp_body_open action.
*
* Added for backwards compatibility to support pre 5.2.0 WordPress versions.
*
* @since Twenty Nineteen 1.4
*/
function
wp_body_open
()
{
/**
* Triggered after the opening <body> tag.
*
* @since Twenty Nineteen 1.4
*/
do_action
(
'wp_body_open'
);
}
endif
;
wp-content/themes/twentynineteen/print.css
View file @
fb089f3c
@charset
"UTF-8"
;
/*
Theme Name: Twenty Nineteen
...
...
@@ -9,7 +8,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Margins
# Typography
÷
# Typography
# Page breaks
# Links
# Visibility
...
...
wp-content/themes/twentynineteen/print.scss
View file @
fb089f3c
...
...
@@ -9,7 +9,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Margins
# Typography
÷
# Typography
# Page breaks
# Links
# Visibility
...
...
@@ -17,182 +17,182 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
@media
print
{
/* Margins */
@page
{
margin
:
2cm
;
}
.entry
{
margin-top
:
1em
;
}
.entry
.entry-header
,
.site-footer
.site-info
{
margin
:
0
;
}
/* Fonts */
body
{
font
:
13pt
Georgia
,
"Times New Roman"
,
Times
,
serif
;
line-height
:
1
.3
;
background
:
#fff
!
important
;
color
:
#000
;
}
h1
{
font-size
:
24pt
;
}
h2
,
h3
,
h4
,
.has-regular-font-size
,
.has-large-font-size
,
h2
.author-title
,
p
.author-bio
,
.comments-title
,
h3
{
font-size
:
14pt
;
margin-top
:
25px
;
}
/* Page breaks */
a
{
page-break-inside
:
avoid
}
blockquote
{
page-break-inside
:
avoid
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
page-break-after
:
avoid
;
page-break-inside
:
avoid
}
img
{
page-break-inside
:
avoid
;
page-break-after
:
avoid
;
}
table
,
pre
{
page-break-inside
:
avoid
;
}
ul
,
ol
,
dl
{
page-break-before
:
avoid
;
}
/* Links */
a
:link
,
a
:visited
,
a
{
background
:
transparent
;
font-weight
:
bold
;
text-decoration
:
underline
;
text-align
:
left
;
}
a
{
page-break-inside
:
avoid
;
}
a
[
href
^=
http
]
:after
{
content
:
" < "
attr
(
href
)
"> "
;
}
a
:after
>
img
{
content
:
""
;
}
article
a
[
href
^=
"#"
]
:after
{
content
:
""
;
}
a
:not
(
:local-link
)
:after
{
content
:
" < "
attr
(
href
)
"> "
;
}
/* Visibility */
.main-navigation
,
.site-title
+
.main-navigation
,
.social-navigation
,
.site-branding-container
:before
,
.entry
.entry-title
:before
,
.entry-footer
,
.author-description
:before
,
.post-navigation
,
.widget-area
,
.comment-form-flex
,
.comment-reply
,
.comment
.comment-metadata
.edit-link
{
display
:
none
;
}
.entry
.entry-content
.wp-block-button
.wp-block-button__link
,
.entry
.entry-content
.button
{
color
:
#000
;
background
:
none
;
}
/* Site Header (With Featured Image) */
.site-header.featured-image
{
min-height
:
0
;
.main-navigation
a
,
.main-navigation
a
+
svg
,
.social-navigation
a
,
.site-title
a
,
.site-featured-image
a
,
.site-branding
.site-title
,
.site-branding
.site-description
,
.main-navigation
a
:after
,
.main-navigation
.main-menu
>
li
.menu-item-has-children
:after
,
.main-navigation
li
,
.social-navigation
li
,
.entry-meta
,
.entry-title
,
&
#masthead
.site-title
a
{
color
:
#000
;
text-shadow
:
none
;
}
.site-featured-image
.entry-header
,
.site-branding-container
{
margin-top
:
0
;
margin-bottom
:
0
;
}
.site-featured-image
.post-thumbnail
img
{
position
:
relative
;
height
:
initial
;
width
:
initial
;
object-fit
:
none
;
min-width
:
0
;
min-height
:
0
;
max-width
:
100%
;
margin-top
:
1rem
;
}
}
/* Remove image filters from featured image */
.image-filters-enabled
{
*
:after
{
display
:
none
!
important
;
}
.site-header.featured-image
.site-featured-image
:before
{
display
:
none
;
}
.site-header.featured-image
.site-featured-image
.post-thumbnail
img
{
filter
:
none
;
}
}
/* Margins */
@page
{
margin
:
2cm
;
}
.entry
{
margin-top
:
1em
;
}
.entry
.entry-header
,
.site-footer
.site-info
{
margin
:
0
;
}
/* Fonts */
body
{
font
:
13pt
Georgia
,
"Times New Roman"
,
Times
,
serif
;
line-height
:
1
.3
;
background
:
#fff
!
important
;
color
:
#000
;
}
h1
{
font-size
:
24pt
;
}
h2
,
h3
,
h4
,
.has-regular-font-size
,
.has-large-font-size
,
h2
.author-title
,
p
.author-bio
,
.comments-title
,
h3
{
font-size
:
14pt
;
margin-top
:
25px
;
}
/* Page breaks */
a
{
page-break-inside
:
avoid
}
blockquote
{
page-break-inside
:
avoid
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
page-break-after
:
avoid
;
page-break-inside
:
avoid
}
img
{
page-break-inside
:
avoid
;
page-break-after
:
avoid
;
}
table
,
pre
{
page-break-inside
:
avoid
;
}
ul
,
ol
,
dl
{
page-break-before
:
avoid
;
}
/* Links */
a
:link
,
a
:visited
,
a
{
background
:
transparent
;
font-weight
:
bold
;
text-decoration
:
underline
;
text-align
:
left
;
}
a
{
page-break-inside
:
avoid
;
}
a
[
href
^=
http
]
:after
{
content
:
" < "
attr
(
href
)
"> "
;
}
a
:after
>
img
{
content
:
""
;
}
article
a
[
href
^=
"#"
]
:after
{
content
:
""
;
}
a
:not
(
:local-link
)
:after
{
content
:
" < "
attr
(
href
)
"> "
;
}
/* Visibility */
.main-navigation
,
.site-title
+
.main-navigation
,
.social-navigation
,
.site-branding-container
:before
,
.entry
.entry-title
:before
,
.entry-footer
,
.author-description
:before
,
.post-navigation
,
.widget-area
,
.comment-form-flex
,
.comment-reply
,
.comment
.comment-metadata
.edit-link
{
display
:
none
;
}
.entry
.entry-content
.wp-block-button
.wp-block-button__link
,
.entry
.entry-content
.button
{
color
:
#000
;
background
:
none
;
}
/* Site Header (With Featured Image) */
.site-header.featured-image
{
min-height
:
0
;
.main-navigation
a
,
.main-navigation
a
+
svg
,
.social-navigation
a
,
.site-title
a
,
.site-featured-image
a
,
.site-branding
.site-title
,
.site-branding
.site-description
,
.main-navigation
a
:after
,
.main-navigation
.main-menu
>
li
.menu-item-has-children
:after
,
.main-navigation
li
,
.social-navigation
li
,
.entry-meta
,
.entry-title
,
&
#masthead
.site-title
a
{
color
:
#000
;
text-shadow
:
none
;
}
.site-featured-image
.entry-header
,
.site-branding-container
{
margin-top
:
0
;
margin-bottom
:
0
;
}
.site-featured-image
.post-thumbnail
img
{
position
:
relative
;
height
:
initial
;
width
:
initial
;
object-fit
:
none
;
min-width
:
0
;
min-height
:
0
;
max-width
:
100%
;
margin-top
:
1rem
;
}
}
/* Remove image filters from featured image */
.image-filters-enabled
{
*
:after
{
display
:
none
!
important
;
}
.site-header.featured-image
.site-featured-image
:before
{
display
:
none
;
}
.site-header.featured-image
.site-featured-image
.post-thumbnail
img
{
filter
:
none
;
}
}
}
\ No newline at end of file
wp-content/themes/twentynineteen/readme.txt
View file @
fb089f3c
=== Twenty Nineteen ===
Contributors:
the WordPress team
Contributors:
wordpressdotorg
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
Requires at least: 4.9.6
Tested up to: WordPress 5.0
Stable tag: 1.3
Requires PHP: 5.2.4
Stable tag: 1.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
...
...
@@ -14,6 +15,11 @@ Our 2019 default theme is designed to show off the power of the block editor. It
== Changelog ==
= 1.4 =
* Released: May 7, 2019
https://codex.wordpress.org/Twenty_Nineteen_Theme_Changelog#Version_1.4
= 1.3 =
* Released: February 21, 2019
...
...
wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
View file @
fb089f3c
...
...
@@ -452,7 +452,8 @@
&
:not
(
.is-large
),
&
:not
(
.is-style-large
)
{
border-left
:
2px
solid
$color__link
;
border-width
:
2px
;
border-color
:
$color__link
;
padding-top
:
0
;
padding-bottom
:
0
;
}
...
...
@@ -512,7 +513,7 @@
}
.aligncenter
{
@include
postContentMaxWidth
();
@include
media
(
tablet
)
{
...
...
@@ -733,46 +734,29 @@
code
{
font-size
:
$font__size-md
;
white-space
:
pre-wrap
;
word-break
:
break-word
;
word-break
:
break-word
;
}
}
//! Columns
.wp-block-columns
{
&
.alignfull
{
padding-left
:
$size__spacing-unit
;
padding-right
:
$size__spacing-unit
;
}
@include
media
(
mobile
)
{
flex-wrap
:
nowrap
;
}
@include
media
(
tablet
)
{
.wp-block-column
>
*
{
&
:first-child
{
margin-top
:
0
;
}
.wp-block-column
>
*
{
&
:last-child
{
margin-bottom
:
0
;
}
&
:first-child
{
margin-top
:
0
;
}
&
[
class
*=
'has-'
]
>
*
{
margin-right
:
$size__spacing-unit
;
&
:last-child
{
margin-right
:
0
;
}
&
:last-child
{
margin-bottom
:
0
;
}
}
@include
media
(
tablet
)
{
flex-wrap
:
nowrap
;
&
.alignfull
,
&
.alignfull
.wp-block-column
{
padding-left
:
calc
(
2
*
#{
$size__spacing-unit
}
);
padding-right
:
calc
(
2
*
#{
$size__spacing-unit
}
);
.wp-block-column
:not
(
:first-child
)
{
margin-left
:
32px
;
}
}
}
...
...
@@ -837,14 +821,14 @@
// Use white text against these backgrounds by default.
color
:
$color__background-body
;
p
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
a
{
>
p
,