Skip to content

Commit

Permalink
Additional changes in themes.
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Feb 16, 2025
1 parent bcdfe18 commit 0099f82
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 21 deletions.
3 changes: 1 addition & 2 deletions src/wp-content/themes/twentyeleven/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,7 @@ function twentyeleven_header_style() {
#site-title,
#site-description {
position: absolute;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
}
<?php
// If the user has set a custom color for the text, use that.
Expand Down
6 changes: 2 additions & 4 deletions src/wp-content/themes/twentyeleven/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,7 @@ a.assistive-text:focus,
border-bottom: none;
}
.blog .sticky .entry-header .entry-meta {
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
position: absolute !important;
}
.entry-title,
Expand Down Expand Up @@ -1445,8 +1444,7 @@ section.featured-post .hentry {
margin: 0;
}
section.featured-post .entry-meta {
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
position: absolute !important;
}

Expand Down
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentyfifteen/inc/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function twentyfifteen_header_style() {
?>
.site-title,
.site-description {
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
position: absolute;
}
<?php endif; ?>
Expand Down
3 changes: 1 addition & 2 deletions src/wp-content/themes/twentyfourteen/inc/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ function twentyfourteen_header_style() {
?>
.site-title,
.site-description {
clip: rect(1px 1px 1px 1px); /* IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
position: absolute;
}
<?php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function twentyseventeen_header_style() {
.site-title,
.site-description {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
}
<?php
// If the user has set a custom color for the text use that.
Expand Down
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentysixteen/inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function twentysixteen_header_style() {

.site-branding .site-title,
.site-description {
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
position: absolute;
}
</style>
Expand Down
6 changes: 2 additions & 4 deletions src/wp-content/themes/twentythirteen/inc/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ function twentythirteen_header_style() {
.site-title,
.site-description {
position: absolute;
clip: rect(1px 1px 1px 1px); /* IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
}
<?php
if ( empty( $header_image ) ) :
Expand Down Expand Up @@ -185,8 +184,7 @@ function twentythirteen_admin_header_style() {
#headimg h1,
#headimg h2 {
position: absolute !important;
clip: rect(1px 1px 1px 1px); /* IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
}
<?php endif; ?>
#headimg h1 {
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentythirteen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,6 @@ div.nav-menu > ul {
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px); /* IE6, *IE7 */
clip-path: inset(50%);
}

Expand Down Expand Up @@ -951,6 +950,7 @@ ul.nav-menu li:hover > ul,
ul.nav-menu .focus > ul,
.nav-menu .focus > ul {
clip: inherit;
clip-path: none;
overflow: inherit;
height: inherit;
width: inherit;
Expand Down Expand Up @@ -3150,7 +3150,7 @@ footer.entry-meta {
font-weight: normal;
}
.site-description {
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
position: absolute;
}
.gallery {
Expand Down
3 changes: 2 additions & 1 deletion src/wp-content/themes/twentytwelve/css/ie.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ body.full-width .site-content {
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
}
.ie7 .main-navigation li ul {
clip: inherit;
Expand All @@ -130,6 +130,7 @@ body.full-width .site-content {
.main-navigation .focus > ul {
border-left: 0;
clip: inherit;
clip-path: none;
overflow: inherit;
height: inherit;
width: inherit;
Expand Down
3 changes: 1 addition & 2 deletions src/wp-content/themes/twentytwelve/inc/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ function twentytwelve_header_style() {
.site-title,
.site-description {
position: absolute;
clip: rect(1px 1px 1px 1px); /* IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
}
<?php
// If the user has set a custom color for the text, use that.
Expand Down
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentytwelve/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,6 @@ img#wpstats {
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px); /* IE6, IE7 */
clip-path: inset(50%);
}
.main-navigation li ul ul {
Expand All @@ -1623,6 +1622,7 @@ img#wpstats {
.main-navigation .focus > ul {
border-left: 0;
clip: inherit;
clip-path: none;
overflow: inherit;
height: inherit;
width: inherit;
Expand Down

0 comments on commit 0099f82

Please sign in to comment.