Skip to content

Revert "Haskell Day 2021のバナーを追加" #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 0 additions & 97 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,103 +24,6 @@ body {
color: #d66c79;
}

.ribbon > a {
display: inline-block;
position: absolute;
top: 3em;
right: -0em;
transform: rotate(30deg);
-webkit-transform: rotate(30deg);
-moz-transform: rotate(30deg);
-ms-transform: rotate(30deg);
-o-transform: rotate(30deg);
text-align: center;
box-shadow: 0 0.15em 0.25em 0 rgb(0 0 0 / 50%);
}

.ribbon > a:before {
content: '';
position: absolute;
width: 3em;
bottom: -0.5em;
left: -2em;
z-index: -2;
border: 1.5em solid #4490d0;
border-left-color: transparent;
}

.ribbon > a:after {
content: '';
position: absolute;
width: 3em;
bottom: -0.5em;
right: -2em;
z-index: -2;
border: 1.5em solid #4490d0;
border-right-color: transparent;
}

.ribbon > a > div {
display: inline-block;
position: relative;
margin: 0;
padding: 0 1em;
line-height: 3em;
color: #FFF;
font-weight: bold;
background: #337ab7;
text-shadow: 0 -0.08em rgb(0 0 0 / 50%);
}

.ribbon > a > div:before {
position: absolute;
content: '';
top: 100%;
left: 0;
border: none;
border-bottom: solid 0.5em transparent;
border-right: solid 1em #225099;
}

.ribbon > a > div:after {
position: absolute;
content: '';
top: 100%;
right: 0;
border: none;
border-bottom: solid 0.5em transparent;
border-left: solid 1em #225099;
}

.ribbon > a:hover:before,
.ribbon > a:focus:before {
border-color: #f0778a;
border-left-color: transparent;
}

.ribbon > a:hover:after,
.ribbon > a:focus:after {
border-color: #f0778a;
border-right-color: transparent;
}

.ribbon > a:hover > div,
.ribbon > a:focus > div {
color: #FFF;
background: #d66c79;
text-decoration: none;
}

.ribbon > a:hover > div:before,
.ribbon > a:focus > div:before {
border-right-color: #c0626c;
}

.ribbon > a:hover > div:after,
.ribbon > a:focus > div:after {
border-left-color: #c0626c;
}

footer .copyright {
text-align: center;
}
Expand Down
5 changes: 0 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@
</div>
<!-- /.navbar-collapse -->
</div>
<div class="ribbon">
<a href="haskell-day-2021/">
<div>Haskell Day 2021 開催決定!</div>
</a>
</div>
<!-- /.container -->
</nav>
<!-- Page Content -->
Expand Down