Skip to content

Commit

Permalink
Merge pull request #35 from bmf-san/feature/update-design
Browse files Browse the repository at this point in the history
Update design
  • Loading branch information
bmf-san authored May 21, 2022
2 parents 1c6a362 + 4e5705e commit 0d5cdc7
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion dist/sea.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/sea.min.css

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/top.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ <h1>Sticky footer</h1>
<div class="row text-align-center">
<div class="col">
<a class="color-text-reverse" href="#">RSS</a>
</div>
<div class="col">
<a class="color-text-reverse" href="#">Feed</a>
</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/base/_container.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
flex-grow: 1;
flex-wrap: wrap;
margin: 0 auto;
width: 80%;
width: 90%;
}

@media screen and (min-width: 770px) {
Expand Down Expand Up @@ -30,6 +30,8 @@
margin: 0 auto;
padding: 2rem 0;
width: 100%;
min-height: 280px;
display: flex;
}

.row {
Expand Down
6 changes: 3 additions & 3 deletions src/base/_element.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ b {
}

a {
color: var(--main-color);
color: var(--main-text-color);
text-decoration: none;
}

a:hover {
color: var(--main-color);
text-decoration: underline;
color: var(--main-text-hover-color);
text-decoration: none;
cursor: pointer;
}

Expand Down
6 changes: 5 additions & 1 deletion src/component/_footer.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.sticky-footer {
background: var(--main-color);
background: var(--sub-color);
color: var(--main-text-reverse-color);
display: flex;
width: 100%;
Expand All @@ -13,3 +13,7 @@
.sticky-footer a {
color: var(--main-text-reverse-color);
}

.sticky-footer a:hover {
color: var(--main-text-reverse-hover-color);
}
7 changes: 0 additions & 7 deletions src/component/_header.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,14 @@
.nav-link {
display: flex;
text-decoration: none;
color: var(--main-text-color);
font-size: 2rem;
border-bottom: solid 0.2rem var(--border-color);
margin-top: auto;
margin-right: 4rem;
}

.nav-link:hover {
border-bottom: solid 0.2rem var(--main-color);
}

.nav-link-logo {
display: flex;
text-decoration: none;
color: var(--main-text-color);
font-size: 2rem;
margin-top: auto;
margin-right: 4rem;
Expand Down
3 changes: 3 additions & 0 deletions src/sea.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
--main-hover-color: #1f8699;
--main-text-highlight-color: #d2fa92;
--main-text-color: #262424;
--main-text-hover-color: #647172;
--main-text-reverse-color: #fff;
--main-text-reverse-hover-color: #647172;
--sub-color: #044a5d;
--subpoint-color: #647172;
--border-color: #c7dadd;
--success-color: #a7f8cc;
Expand Down
8 changes: 6 additions & 2 deletions src/util/_color.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
color: var(--main-color);
}

.color-hover {
.color-main-hover {
color: var(--main-hover-color);
}

Expand All @@ -14,6 +14,10 @@
color: var(--main-text-color);
}

.color-text-hover {
color: var(--main-text-hover-color);
}

.color-text-reverse {
color: var(--main-text-reverse-color);
}
Expand Down Expand Up @@ -46,7 +50,7 @@
background-color: var(--main-color);
}

.background-color-hover {
.background-color-main-hover {
background-color: var(--main-hover-color);
}

Expand Down

0 comments on commit 0d5cdc7

Please sign in to comment.