Skip to content

Commit

Permalink
ランキングとCTAのスタイル調整
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Mar 30, 2024
1 parent e0afc07 commit 920566d
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 39 deletions.
18 changes: 9 additions & 9 deletions amp.css
Expand Up @@ -2447,8 +2447,9 @@ img.blogcard-favicon-image {
font-size: 20px;
}

.nwa .ranking-item-description p {
font-size: 0.9em;
.nwa .ranking-item-description {
margin-top: 1em;
font-size: 0.8em;
}

.nwa .blogcard-wrap {
Expand Down Expand Up @@ -6777,9 +6778,6 @@ canvas, iframe, video,
--cocoon-custom-border-color: transparent;
}

.nwa .cta-box {
font-size: 0.8em;
}
.nwa .cta-heading {
font-size: 20px;
padding: 8px;
Expand All @@ -6799,6 +6797,9 @@ canvas, iframe, video,
padding: 1em;
font-size: 16px;
}
.nwa .cta-box {
font-size: 0.8em;
}

.speech-wrap {
--cocoon-custom-background-color: var(--cocoon-white-color);
Expand Down Expand Up @@ -7974,7 +7975,6 @@ div.fb-like-mobile {
line-height: 1.4;
}
.ranking-items p {
font-size: 18px;
margin-top: 0;
}

Expand Down Expand Up @@ -10370,9 +10370,6 @@ pre {
max-width: none;
flex-direction: column;
}
.cta-box {
font-size: 0.8em;
}
.cta-heading {
font-size: 20px;
padding: 8px;
Expand Down Expand Up @@ -10801,6 +10798,9 @@ pre {
.menu-content {
max-width: 84%;
}
.ranking-item-description {
margin-top: 1em;
}
.ranking-item-img-desc,
.ranking-item-link-buttons {
display: block;
Expand Down
30 changes: 15 additions & 15 deletions css/admin.css
Expand Up @@ -2718,8 +2718,9 @@ body.wp-admin {
.admin-settings .demo .nwa .ranking-item-name-text {
font-size: 20px;
}
.admin-settings .demo .nwa .ranking-item-description p {
font-size: 0.9em;
.admin-settings .demo .nwa .ranking-item-description {
margin-top: 1em;
font-size: 0.8em;
}
.admin-settings .demo .nwa .blogcard-wrap {
width: auto;
Expand Down Expand Up @@ -6437,9 +6438,6 @@ body.wp-admin {
margin-top: 1em;
--cocoon-custom-border-color: transparent;
}
.admin-settings .demo .nwa .cta-box {
font-size: 0.8em;
}
.admin-settings .demo .nwa .cta-heading {
font-size: 20px;
padding: 8px;
Expand All @@ -6459,6 +6457,9 @@ body.wp-admin {
padding: 1em;
font-size: 16px;
}
.admin-settings .demo .nwa .cta-box {
font-size: 0.8em;
}
.admin-settings .demo .speech-wrap {
--cocoon-custom-background-color: var(--cocoon-white-color);
--cocoon-custom-text-color: var(--cocoon-text-color);
Expand Down Expand Up @@ -7516,7 +7517,6 @@ body.wp-admin {
line-height: 1.4;
}
.admin-settings .demo .ranking-items p {
font-size: 18px;
margin-top: 0;
}
.admin-settings .demo .ranking-item, .admin-settings .demo .timeline-box {
Expand Down Expand Up @@ -11146,8 +11146,9 @@ body.wp-admin {
.admin-settings .demo .nwa .ranking-item-name-text {
font-size: 20px;
}
.admin-settings .demo .nwa .ranking-item-description p {
font-size: 0.9em;
.admin-settings .demo .nwa .ranking-item-description {
margin-top: 1em;
font-size: 0.8em;
}
.admin-settings .demo .nwa .blogcard-wrap {
width: auto;
Expand Down Expand Up @@ -14865,9 +14866,6 @@ body.wp-admin {
margin-top: 1em;
--cocoon-custom-border-color: transparent;
}
.admin-settings .demo .nwa .cta-box {
font-size: 0.8em;
}
.admin-settings .demo .nwa .cta-heading {
font-size: 20px;
padding: 8px;
Expand All @@ -14887,6 +14885,9 @@ body.wp-admin {
padding: 1em;
font-size: 16px;
}
.admin-settings .demo .nwa .cta-box {
font-size: 0.8em;
}
.admin-settings .demo .speech-wrap {
--cocoon-custom-background-color: var(--cocoon-white-color);
--cocoon-custom-text-color: var(--cocoon-text-color);
Expand Down Expand Up @@ -15944,7 +15945,6 @@ body.wp-admin {
line-height: 1.4;
}
.admin-settings .demo .ranking-items p {
font-size: 18px;
margin-top: 0;
}
.admin-settings .demo .ranking-item, .admin-settings .demo .timeline-box {
Expand Down Expand Up @@ -18924,9 +18924,6 @@ body.wp-admin {
max-width: none;
flex-direction: column;
}
.admin-settings .demo .cta-box {
font-size: 0.8em;
}
.admin-settings .demo .cta-heading {
font-size: 20px;
padding: 8px;
Expand Down Expand Up @@ -19354,6 +19351,9 @@ body.wp-admin {
.admin-settings .demo .menu-content {
max-width: 84%;
}
.admin-settings .demo .ranking-item-description {
margin-top: 1em;
}
.admin-settings .demo .ranking-item-img-desc,
.admin-settings .demo .ranking-item-link-buttons {
display: block;
Expand Down
3 changes: 3 additions & 0 deletions scss/_cta-box.scss
Expand Up @@ -66,4 +66,7 @@
///////////////////////////////////////
.nwa{
@include cta_box_nallow;
.cta-box{
font-size: 0.8em;
}
}
3 changes: 0 additions & 3 deletions scss/_defins.scss
Expand Up @@ -251,9 +251,6 @@ $bgc_hover_anime: all .3s ease-in-out;
// CTAボックス
///////////////////////////////////////
@mixin cta_box_nallow{
.cta-box{
font-size: 0.8em;
}
.cta-heading{
font-size: 20px;
padding: 8px;
Expand Down
1 change: 0 additions & 1 deletion scss/_item-ranking.scss
@@ -1,7 +1,6 @@
.ranking-items{
line-height: 1.4;
p{
font-size: 18px;
margin-top: 0;
}
}
Expand Down
5 changes: 3 additions & 2 deletions scss/_sidebar.scss
Expand Up @@ -76,8 +76,9 @@
font-size: 20px;
}

.nwa .ranking-item-description p{
font-size: 0.9em;
.nwa .ranking-item-description{
margin-top: 1em;
font-size: 0.8em;
}

///////////////////////////////////////
Expand Down
4 changes: 4 additions & 0 deletions scss/breakpoints/_max-width-480.scss
Expand Up @@ -330,6 +330,10 @@ body{
}

//ランキングウィジェット
.ranking-item-description{
margin-top: 1em;
}

.ranking-item-img-desc,
.ranking-item-link-buttons{
display: block;
Expand Down
18 changes: 9 additions & 9 deletions style.css
Expand Up @@ -2472,8 +2472,9 @@ img.blogcard-favicon-image {
font-size: 20px;
}

.nwa .ranking-item-description p {
font-size: 0.9em;
.nwa .ranking-item-description {
margin-top: 1em;
font-size: 0.8em;
}

.nwa .blogcard-wrap {
Expand Down Expand Up @@ -6802,9 +6803,6 @@ canvas, iframe, video,
--cocoon-custom-border-color: transparent;
}

.nwa .cta-box {
font-size: 0.8em;
}
.nwa .cta-heading {
font-size: 20px;
padding: 8px;
Expand All @@ -6824,6 +6822,9 @@ canvas, iframe, video,
padding: 1em;
font-size: 16px;
}
.nwa .cta-box {
font-size: 0.8em;
}

.speech-wrap {
--cocoon-custom-background-color: var(--cocoon-white-color);
Expand Down Expand Up @@ -7999,7 +8000,6 @@ div.fb-like-mobile {
line-height: 1.4;
}
.ranking-items p {
font-size: 18px;
margin-top: 0;
}

Expand Down Expand Up @@ -11503,9 +11503,6 @@ _:-ms-lang(x), .mc-circle {
max-width: none;
flex-direction: column;
}
.cta-box {
font-size: 0.8em;
}
.cta-heading {
font-size: 20px;
padding: 8px;
Expand Down Expand Up @@ -11934,6 +11931,9 @@ _:-ms-lang(x), .mc-circle {
.menu-content {
max-width: 84%;
}
.ranking-item-description {
margin-top: 1em;
}
.ranking-item-img-desc,
.ranking-item-link-buttons {
display: block;
Expand Down

0 comments on commit 920566d

Please sign in to comment.