Skip to content

Commit

Permalink
ラインハイトの再設定
Browse files Browse the repository at this point in the history
  • Loading branch information
juliecogley committed Mar 20, 2024
1 parent da781d8 commit 40fbc20
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 45 deletions.
1 change: 1 addition & 0 deletions common.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ body {
text-align: center;
position: absolute;
font-weight: 600;
line-height: 1.5em;
}


Expand Down
3 changes: 2 additions & 1 deletion contact.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

.section-contact__name p {
padding: 20px 0 20px 0;
line-height: 1.5em;
}


Expand All @@ -51,8 +52,8 @@
}

.section-contact__name p {

font-size: 2.0rem;
line-height: 1.8em;
margin: 0 auto;
padding:0 0 80px 0;
}
Expand Down
4 changes: 2 additions & 2 deletions kotobagaki.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
text-align: center;
color: rgba(0, 0, 0, 0.60);
width: 80%;
line-height: 2;
line-height: 2em;
}

.section-kotobagaki__name p {
Expand Down Expand Up @@ -112,7 +112,7 @@
}

.section-kotobagaki1__poem p {
line-height: 2.4rem;
line-height: 2em;
}

/*画面サイズ1060以上での指定*/
Expand Down
3 changes: 3 additions & 0 deletions works.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,18 @@ position: relative;
}
.section-works__wrapper h2{
font-size: 2.0rem;
line-height: 2em;
}

.section-works__wrapper h3{
font-size: 1.6rem;
line-height: 1.8em;
}

.section-works__index p{
color: #777;
margin: 16px 0;
line-height: 1.5em;
}
.arrow{
width: 10px;
Expand Down
14 changes: 9 additions & 5 deletions works1.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@

.section-works1__title h1 {
font-size: 2.4rem;
line-height: 2.0rem;
line-height: 2em;

}

.section-works1__title h2 {
font-size: 1.8rem;
line-height: 2.0rem;
line-height: 1.8em;
/* 100% */
padding-top: 10px;
}

.section-works1__title p {
padding-top: 20px;
line-height: 2.0rem;
line-height: 1.5em;
}

.section-works1__image-body {
Expand All @@ -54,6 +54,8 @@
height: 100%;
object-fit: cover;
object-position: 0% 0%;
max-width: 500px;
margin: 0 auto;
}


Expand Down Expand Up @@ -104,7 +106,7 @@
}

.section-works1__poem p {
line-height: 2.4rem;
line-height: 1.5em;
}

/*画面サイズ1060以上での指定*/
Expand All @@ -119,7 +121,9 @@
padding: 40px 0;
width: auto;
}

.section-works1__poem p {
line-height: 1.8em;
}
}

/*
Expand Down
21 changes: 9 additions & 12 deletions works2.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,13 @@

.section-works1__title h1 {
font-size: 2.4rem;
line-height: 2.0rem;

line-height: 2em;
}

.section-works1__title h2 {
font-size: 1.8rem;
line-height: 2.0rem;
/* 100% */
padding-top: 10px;
}

.section-works1__title p {
padding-top: 20px;
line-height: 2.0rem;
line-height: 1.5em;
}

.section-works1__image-body {
Expand Down Expand Up @@ -77,7 +70,9 @@
display: block;

}

.section-works1__title p {
line-height: 1.8em;
}
.section-works1__image-body {
width: 50%;
height: 100%;
Expand Down Expand Up @@ -106,7 +101,7 @@
}

.section-works1__poem p {
line-height: 2.4rem;
line-height: 1.5em;
}

/*画面サイズ1060以上での指定*/
Expand All @@ -121,7 +116,9 @@
padding: 40px 0;
width: auto;
}

.section-works1__poem p {
line-height: 1.8em;
}
}

/*
Expand Down
1 change: 0 additions & 1 deletion works2.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@

<div class="section-works1__title">
<h1>Imaginary melancholy</h1>
<h2>watering flowers,is it love or not?</h2>
<p>石膏, 水彩<br>
H210×W150×D100(mm)<br>
2022</p>
Expand Down
24 changes: 12 additions & 12 deletions works3.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,15 @@

.section-works1__title h1 {
font-size: 2.4rem;
line-height: 2.0rem;
line-height: 2.0em;

}

.section-works1__title h2 {
font-size: 1.8rem;
line-height: 2.0rem;
/* 100% */
padding-top: 10px;
}


.section-works1__title p {
padding-top: 20px;
line-height: 2.0rem;
line-height: 1.5em;
}

.section-works1__image-body {
Expand Down Expand Up @@ -67,8 +62,6 @@
justify-content: center;
padding: 0 150px;
align-items: center;


}

.section-works1__title {
Expand All @@ -78,6 +71,11 @@

}


.section-works1__title p {
line-height: 1.8em;
}

.section-works1__image-body {
width: 50%;
height: 100%;
Expand Down Expand Up @@ -106,7 +104,7 @@
}

.section-works1__poem p {
line-height: 2.4rem;
line-height: 1.5em;
}

/*画面サイズ1060以上での指定*/
Expand All @@ -121,7 +119,9 @@
padding: 40px 0;
width: auto;
}

.section-works1__poem p {
line-height: 1.8em;
}
}

/*
Expand Down
22 changes: 10 additions & 12 deletions works4.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,13 @@

.section-works1__title h1 {
font-size: 2.2rem;
line-height: 1.5;
line-height: 2em;

}

.section-works1__title h2 {
font-size: 1.8rem;
line-height: 2.0rem;
/* 100% */
padding-top: 10px;
}

.section-works1__title p {
padding-top: 20px;
line-height: 2.0rem;
line-height: 1.5em;
}

.section-works1__image-body {
Expand Down Expand Up @@ -77,7 +70,10 @@
display: block;

}

.section-works1__title p {
padding-top: 20px;
line-height: 1.8em;
}
.section-works1__image-body {
width: 50%;
height: 100%;
Expand Down Expand Up @@ -106,7 +102,7 @@
}

.section-works1__poem p {
line-height: 2.4rem;
line-height: 1.5em;
}

/*画面サイズ1060以上での指定*/
Expand All @@ -121,7 +117,9 @@
padding: 40px 0;
width: auto;
}

.section-works1__poem p {
line-height: 1.8em;
}
}

/*
Expand Down

0 comments on commit 40fbc20

Please sign in to comment.