Skip to content

Commit

Permalink
ウィジットとウイジェットの表記揺れの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed May 8, 2024
1 parent cc858f9 commit f46a4fd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions lib/widget-areas.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function register_sidebar_widget_area(){
array(
'name' => __( 'サイドバー', THEME_NAME ),
'id' => 'sidebar',
'description' => __( 'サイドバーのウィジットエリアです。ウィジェットを入れていない場合は1カラム表示になります。', THEME_NAME ),
'description' => __( 'サイドバーのウィジェットエリアです。ウィジェットを入れていない場合は1カラム表示になります。', THEME_NAME ),
'before_widget' => '<aside id="%1$s" class="widget widget-sidebar widget-sidebar-standard %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-sidebar-title widget-title">',
Expand Down Expand Up @@ -433,7 +433,7 @@ function register_footer_left_widget_area(){
array(
'name' => __( 'フッター左', THEME_NAME ),
'id' => 'footer-left',
'description' => __( 'フッター左側のウィジットエリアです。', THEME_NAME ),
'description' => __( 'フッター左側のウィジェットエリアです。', THEME_NAME ),
'before_widget' => '<aside id="%1$s" class="widget widget-footer-left %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-footer-left-title footer-title widget-title">',
Expand All @@ -449,7 +449,7 @@ function register_footer_center_widget_area(){
array(
'id' => 'footer-center',
'name' => __( 'フッター中', THEME_NAME ),
'description' => __( 'フッター中間のウィジットエリアです。', THEME_NAME ),
'description' => __( 'フッター中間のウィジェットエリアです。', THEME_NAME ),
'before_widget' => '<aside id="%1$s" class="widget widget-footer-center %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-footer-center-title footer-title widget-title">',
Expand All @@ -465,7 +465,7 @@ function register_footer_right_widget_area(){
array(
'name' => __( 'フッター右', THEME_NAME ),
'id' => 'footer-right',
'description' => __( 'フッター右側フッター中のウィジットエリアです。', THEME_NAME ),
'description' => __( 'フッター右側フッター中のウィジェットエリアです。', THEME_NAME ),
'before_widget' => '<aside id="%1$s" class="widget widget-footer-right %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-footer-right-title footer-title widget-title">',
Expand All @@ -482,7 +482,7 @@ function register_footer_mobile_widget_area(){
array(
'name' => __( 'フッター(モバイル用)', THEME_NAME ),
'id' => 'footer-mobile',
'description' => __( 'モバイルで表示するウィジットエリアです。834px以下で表示されます。', THEME_NAME ),
'description' => __( 'モバイルで表示するウィジェットエリアです。834px以下で表示されます。', THEME_NAME ),
'before_widget' => '<aside id="%1$s" class="widget widget-footer-mobile %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-footer-mobile-title footer-title widget-title">',
Expand All @@ -499,7 +499,7 @@ function register_404_page_widget_area(){
array(
'name' => __( '404ページ', THEME_NAME ),
'id' => '404-page',
'description' => __( '404ページをカスタマイズするためのウィジットエリアです。', THEME_NAME ),
'description' => __( '404ページをカスタマイズするためのウィジェットエリアです。', THEME_NAME ),
'before_widget' => '<div id="%1$s" class="widget widget-404-page %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="widget-404-page-title widget-title">',
Expand Down
8 changes: 4 additions & 4 deletions skins/lightning-skin/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ a.prev-post:hover::before,a.next-post:hover::before{
color: #454545;
}

/* ------- ウィジット系 ------- */
/* ------- ウィジェット系 ------- */
/* 検索欄 */
.search-edit, input[type="text"]
,input[type="password"]
Expand Down Expand Up @@ -643,7 +643,7 @@ a.popular-entry-card-link{
.widget-entry-cards.ranking-visible .widget-entry-card-thumb::before{
background-color: #94e7a5;
}
/* コメント欄(ウィジット) */
/* コメント欄(ウィジェット) */
.widget_recent_comments .a-wrap{
margin-bottom: 0;
padding-top: 5px;
Expand All @@ -662,7 +662,7 @@ a.popular-entry-card-link{
.recent-comment-content{
font-size: .8em;
}
/* ランキング(ウィジット) */
/* ランキング(ウィジェット) */
#sidebar .ranking-item-link-buttons a,
#sidebar-menu-content .ranking-item-link-buttons a{
padding: 5px 0;
Expand Down Expand Up @@ -700,7 +700,7 @@ a.popular-entry-card-link{
background-color: #85c6f4;
}

/* メニューウィジット */
/* メニューウィジェット */
#sidebar ul.menu li a, #sidebar-menu-content ul.menu li a{
background-color: #faf7ef;
margin-bottom: 8px;
Expand Down
20 changes: 10 additions & 10 deletions skins/skin-grayish-topfull/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ dialog[open] .searchMenuDialog_close.grayish-btn {
padding-bottom: 0;
}

/* インデックスミドルウィジット対策 */
/* インデックスミドルウィジェット対策 */
.skin-grayish .ect-vertical-card .widget-index-middle {
width: 100%;
}
Expand Down Expand Up @@ -1614,7 +1614,7 @@ dialog[open] .searchMenuDialog_close.grayish-btn {
flex-direction: column;
}

/* skin独自の並び替え ウィジット設置 & 広告 & ステマ規制などを考慮する */
/* skin独自の並び替え ウィジェット設置 & 広告 & ステマ規制などを考慮する */
.skin-grayish .article-header .entry-title {
order: 1;
margin: 16px 0;
Expand Down Expand Up @@ -3405,7 +3405,7 @@ blockquote cite {
height: 1.85em;
}

/* サイドバースクロールに設置した最初のウィジット */
/* サイドバースクロールに設置した最初のウィジェット */
/* Admin bar考慮 */
.skin-grayish .widget-sidebar-scroll:first-child {
padding-top: var(--ohterHeaderLogosize);
Expand Down Expand Up @@ -3784,7 +3784,7 @@ blockquote cite {
color: var(--skin-grayish-site-main-hover);
}

/* タグウィジット */
/* タグウィジェット */
.skin-grayish .widget_tag_cloud .tagcloud a {
border: 0;
}
Expand All @@ -3794,12 +3794,12 @@ blockquote cite {
background-color: var(--skin-grayish-site-main-thin);
}

/* タグウィジット アイコンカラー */
/* タグウィジェット アイコンカラー */
.skin-grayish .widget_tag_cloud .tag-caption>span::before {
color: var(--skin-grayish-site-sub-color);
}

/* SNSfollowウィジット */
/* SNSfollowウィジェット */
.skin-grayish .widget_sns_follow_buttons .sns-follow-buttons a {
font-size: 24px;
width: 40px;
Expand Down Expand Up @@ -4441,7 +4441,7 @@ blockquote cite {
font-size: 12px;
}

/* ウィジット等の横並び Swiperのボタン */
/* ウィジェット等の横並び Swiperのボタン */
.is-list-horizontal .swiper-button-next, .is-list-horizontal .swiper-button-prev {
background-color: var(--skin-grayish-site-main-hover);
opacity: 0.8;
Expand All @@ -4455,7 +4455,7 @@ blockquote cite {


/*============== Widget Contents Bottom : LargeSize ==============*/
/* フッター上のコンテンツ下ウィジット */
/* フッター上のコンテンツ下ウィジェット */
/*-------------- Front --------------*/
.skin-grayish .content-bottom {
margin: 0;
Expand Down Expand Up @@ -5052,7 +5052,7 @@ body:has(#spotlight.show) .header {
font-size: 16px;
}

/* サイドバースクロールに設置した最初のウィジット */
/* サイドバースクロールに設置した最初のウィジェット */
.skin-grayish .widget-sidebar-scroll:first-child,
.skin-grayish.admin-bar .widget-sidebar-scroll:first-child {
padding-top: 0px;
Expand Down Expand Up @@ -5865,7 +5865,7 @@ body:has(#spotlight.show) .header {
width: 38.5%;
}

/* コンテンツ下に人気記事ウィジットで横並びしたときに必要っぽい */
/* コンテンツ下に人気記事ウィジェットで横並びしたときに必要っぽい */
.skin-grayish .content-bottom .swiper {
width: 100%;
}
Expand Down

0 comments on commit f46a4fd

Please sign in to comment.