Skip to content

Commit

Permalink
レクタングルだけ移動
Browse files Browse the repository at this point in the history
header
レクタングルだけclass=header content wrapperから外に移動
  • Loading branch information
juliecogley committed Mar 12, 2024
1 parent 41c9246 commit 05c92cd
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 19 deletions.
11 changes: 7 additions & 4 deletions common.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,18 @@ body {
color:#000000;
}

.header-content-wrapper .contents-rectangle{
.contents-rectangle{
background-color: #d9d9d9;
height: 80px;
left: 0;
top: 0;
top: -80px;
width: 120px;
position: relative;}
position: relative;
z-index: 999;
margin: 0 auto;
}

.header-content-wrapper .contents-text{
.contents-text{
top: 38px;
width: 120px;
text-align: center;
Expand Down
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@
</p>
</div>

<div class="contents-rectangle">
<div class="contents-text">プロフィール</div>
</div>


<div class="hamburger" >
<div class="line-1"></div>
<div class="line-2"></div>
<div class="line-3"></div>
</div>
</div>

</div>
<div class="contents-rectangle">
<div class="contents-text">
プロフィール</div>
</div>

</header>
<main class="main">
Expand Down
8 changes: 5 additions & 3 deletions profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,17 @@
</p>
</div>

<div class="contents-rectangle">
<div class="contents-text">プロフィール</div>
</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>

</header>
<main class="main">
Expand Down
4 changes: 2 additions & 2 deletions top.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@charset "UTF-8";

.header-content-wrapper .contents-rectangle {
.contents-rectangle {
display: none;
}

.section-top {
margin-bottom: 80px;
margin: 20px 0 80px 0;
}

.section-top__image {
Expand Down
11 changes: 7 additions & 4 deletions works1.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,19 @@
<br/>PORTFOLIO</span>
</p>
</div>
<div class="contents-rectangle">
<div class="contents-text">作品集</div>
</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>

</header>
<main class="main">

Expand Down

0 comments on commit 05c92cd

Please sign in to comment.