Skip to content

Commit

Permalink
全ページに追従するバナー作成
Browse files Browse the repository at this point in the history
  • Loading branch information
juliecogley committed Mar 23, 2024
1 parent 033d8b1 commit 396a9d9
Show file tree
Hide file tree
Showing 24 changed files with 77 additions and 211 deletions.
3 changes: 2 additions & 1 deletion common.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ body {
.contents-text {
font-size: 2.0rem;
top: 38px;
width: 240px;
width: 100%;
height: auto;
writing-mode: horizontal-tb;
margin: 0 auto;
}
Expand Down
5 changes: 0 additions & 5 deletions contact.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
/*1160+pad24+24*/
margin: 0 auto;
}

#nav-open {
top: -144px;
}

.section-contact__name {
padding: 0 24px;
margin: 80px auto;
Expand Down
38 changes: 15 additions & 23 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,20 @@
<div class="header-content-wrapper">
<div class="label">
<a class="go-to-top" href="index.html">
<p class="nakahara-nami">
<span class="n">N</span>
<span class="another">akahara
<br>
</span>
<span class="n">N</span>
<span class="another">ami
<br>PORTFOLIO</span>
</p>
</a>
<p class="nakahara-nami">
<span class="n">N</span>
<span class="another">akahara
<br>
</span>
<span class="n">N</span>
<span class="another">ami
<br>PORTFOLIO</span>
</p>
</a>
</div>
<!-- ハンバーガーアイコン(旧式)
<div class="hamburger">
<div class="line-1"></div>
<div class="line-2"></div>
<div class="line-3"></div>
</div>
-->
</div>
<div class="contents-rectangle">
<div class="contents-text">
お問い合わせ</div>
<div class="contents-text">お問い合わせ</div>
</div>
<div id="nav-drawer">
<input id="nav-input" class="none" type="checkbox">
Expand All @@ -59,16 +51,16 @@
<nav id="nav-content" class="header__navigation">
<div class="nav-drawer__title none"></div>
<ul>
<li class="nav-drawer__link-top none" >目 次</li>
<li class="nav-drawer__link-top none">目 次</li>
<li><a href="index.html">トップページ</a></li>
<li><a href="profile.html">プロフィール</a></li>
<li><a href="works.html">作品集</a></li>
<li><a href="contact.html">ことばがき</a></li>
<li><a href="kotobagaki.html">ことばがき</a></li>
<li><a href="contact.html">お問い合わせ</a></li>
</ul>
</nav>
</div>
</header>
</div>
</header>
<main class="main">
<section class="section-contact__name">
<div class="section-contact__name-text">
Expand Down
3 changes: 0 additions & 3 deletions kotobagaki.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
margin: 0 auto;
}

#nav-open {
top: -144px;
}

.section-kotobagaki__name {
padding: 0 24px;
Expand Down
36 changes: 14 additions & 22 deletions kotobagaki.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,20 @@
<div class="header-content-wrapper">
<div class="label">
<a class="go-to-top" href="index.html">
<p class="nakahara-nami">
<span class="n">N</span>
<span class="another">akahara
<br>
</span>
<span class="n">N</span>
<span class="another">ami
<br>PORTFOLIO</span>
</p>
</a>
<p class="nakahara-nami">
<span class="n">N</span>
<span class="another">akahara
<br>
</span>
<span class="n">N</span>
<span class="another">ami
<br>PORTFOLIO</span>
</p>
</a>
</div>
<!-- ハンバーガーアイコン(旧式)
<div class="hamburger">
<div class="line-1"></div>
<div class="line-2"></div>
<div class="line-3"></div>
</div>
-->
</div>
<div class="contents-rectangle">
<div class="contents-text">
ことばがき</div>
<div class="contents-text">ことばがき</div>
</div>
<div id="nav-drawer">
<input id="nav-input" class="none" type="checkbox">
Expand All @@ -59,16 +51,16 @@
<nav id="nav-content" class="header__navigation">
<div class="nav-drawer__title none"></div>
<ul>
<li class="nav-drawer__link-top none" >目 次</li>
<li class="nav-drawer__link-top none">目 次</li>
<li><a href="index.html">トップページ</a></li>
<li><a href="profile.html">プロフィール</a></li>
<li><a href="works.html">作品集</a></li>
<li><a href="kotobagaki.html">ことばがき</a></li>
<li><a href="contact.html">お問い合わせ</a></li>
</ul>
</nav>
</div>
</header>
</div>
</header>
<main class="main">
<section class="section-kotobagaki__name">

Expand Down
3 changes: 0 additions & 3 deletions profile.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
margin: 0 auto;
}

#nav-open{
top: -144px;
}
.section-works1__title {
max-width: 327px;
/*327px+24+24=375px*/
Expand Down
28 changes: 13 additions & 15 deletions profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,20 @@
<div class="header-content-wrapper">
<div class="label">
<a class="go-to-top" href="index.html">
<p class="nakahara-nami">
<span class="n">N</span>
<span class="another">akahara
<br>
</span>
<span class="n">N</span>
<span class="another">ami
<br>PORTFOLIO</span>
</p>
</a>
<p class="nakahara-nami">
<span class="n">N</span>
<span class="another">akahara
<br>
</span>
<span class="n">N</span>
<span class="another">ami
<br>PORTFOLIO</span>
</p>
</a>
</div>

</div>
<div class="contents-rectangle">
<div class="contents-text">
プロフィール</div>
<div class="contents-text">プロフィール</div>
</div>
<div id="nav-drawer">
<input id="nav-input" class="none" type="checkbox">
Expand All @@ -62,8 +60,8 @@
<li><a href="contact.html">お問い合わせ</a></li>
</ul>
</nav>
</div>
</header>
</div>
</header>
<main class="main">

<section class="section-profile__name">
Expand Down
3 changes: 0 additions & 3 deletions works.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
@charset "UTF-8";

#nav-open{
top: -144px;
}
.section-works__top{
width: 100%;
height: 375px;
Expand Down
8 changes: 2 additions & 6 deletions works.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<header class="header">
<div class="header-content-wrapper">
<div class="label">


<a class="go-to-top" href="index.html">
<p class="nakahara-nami">
<span class="n">N</span>
Expand All @@ -42,11 +40,9 @@
</p>
</a>
</div>

</div>
<div class="contents-rectangle">
<div class="contents-text">
作品集</div>
<div class="contents-text">作品集</div>
</div>
<div id="nav-drawer">
<input id="nav-input" class="none" type="checkbox">
Expand Down Expand Up @@ -232,7 +228,7 @@ <h2>よるの森</h2>
</svg>
</div>
</a>
<a class="go-to-works" href="works7.html">
<a class="go-to-works" href="works8.html">
<div class="section-works__index">
<h2>目が眩む</h2>
<p>「それは木であり、人であり、<br>
Expand Down
53 changes: 23 additions & 30 deletions works1.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,32 +41,25 @@
</a>
</div>
</div>
<div class="contents-rectangle">
<div class="contents-text">作品集</div>
</div>
<div id="nav-drawer">
<input id="nav-input" class="none" type="checkbox">
<label id="nav-open" for="nav-input"><span></span></label>
<label id="nav-close" class="none" for="nav-input"></label>
<nav id="nav-content" class="header__navigation">
<div class="nav-drawer__title none"></div>
<ul>
<li class="nav-drawer__link-top none">目 次</li>
<li><a href="index.html">トップページ</a></li>
<li><a href="profile.html">プロフィール</a></li>
<li><a href="works.html">作品集</a></li>
<li><a href="kotobagaki.html">ことばがき</a></li>
<li><a href="contact.html">お問い合わせ</a></li>
</ul>
</nav>
</div>







<div class="contents-rectangle">
<div class="contents-text">作品集</div>
</div>
<div id="nav-drawer">
<input id="nav-input" class="none" type="checkbox">
<label id="nav-open" for="nav-input"><span></span></label>
<label id="nav-close" class="none" for="nav-input"></label>
<nav id="nav-content" class="header__navigation">
<div class="nav-drawer__title none"></div>
<ul>
<li class="nav-drawer__link-top none">目 次</li>
<li><a href="index.html">トップページ</a></li>
<li><a href="profile.html">プロフィール</a></li>
<li><a href="works.html">作品集</a></li>
<li><a href="kotobagaki.html">ことばがき</a></li>
<li><a href="contact.html">お問い合わせ</a></li>
</ul>
</nav>
</div>
</header>
<main class="main">

Expand Down Expand Up @@ -111,14 +104,14 @@ <h2>watering flowers,is it love or not?</h2>
<div class="img-09"></div>
<div class="img-10"></div>
<div class="img-11"></div>
<div class="img-12"></div>
<div class="img-12"></div>
<div class="img-13"></div>
<div class="img-14"></div>
<div class="img-14"></div>
</div>

<div class="back-to-works">
<img class="back-to-works__line" src="photo/line.svg" alt="line">
<a class="back-to-works__text" href="works.html">作品集へ戻る</a>
<a class="back-to-works__text" href="works.html">作品集へ戻る</a>
</div>
</main>

Expand All @@ -134,7 +127,7 @@ <h2>目次</h2>
<li><a class="links" href="contact.html">お問い合わせ</a></li>
</ul>
<h2>SNS</h2>
<ul class="site-map__links">
<ul class="site-map__links">
<li><a class="links" href="">instagram</a></li>
</ul>
</nav>
Expand Down
4 changes: 0 additions & 4 deletions works2.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
margin: 0 auto;
}

#nav-open {
top: -144px;
}

.section-works1__top {
padding: 0 24px;
margin: 80px auto 120px auto;
Expand Down
12 changes: 1 addition & 11 deletions works2.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
<header class="header">
<div class="header-content-wrapper">
<div class="label">

<a class="go-to-top" href="index.html">
<p class="nakahara-nami">
<span class="n">N</span>
Expand All @@ -40,19 +39,10 @@
<br>PORTFOLIO</span>
</p>
</a>

</div>
<!-- ハンバーガーアイコン(旧式)
<div class="hamburger">
<div class="line-1"></div>
<div class="line-2"></div>
<div class="line-3"></div>
</div>
-->
</div>
<div class="contents-rectangle">
<div class="contents-text">
作品集</div>
<div class="contents-text">作品集</div>
</div>
<div id="nav-drawer">
<input id="nav-input" class="none" type="checkbox">
Expand Down
4 changes: 0 additions & 4 deletions works3.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
margin: 0 auto;
}

#nav-open {
top: -144px;
}

.section-works1__top {
padding: 0 24px;
margin: 80px auto 120px auto;
Expand Down
Loading

0 comments on commit 396a9d9

Please sign in to comment.