Skip to content
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

人気投票セクション追加 #368

Merged
merged 1 commit into from
Feb 11, 2020
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
29 changes: 29 additions & 0 deletions assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,35 @@ a.share-button:hover {
}
}

.section.ppp,
.section.ppp.normal {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
background: url(../images/ppp_unchan.png) top center no-repeat, #404040;
background-size: cover;
padding: 100px 20px 150px 20px;
}

.section.ppp.lucky {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
background: url(../images/ppp_rario.png) top center no-repeat, #404040;
background-size: cover;
padding: 100px 20px 150px 20px;
}

@media screen and (max-width: 700px) {
.section.ppp,
.section.ppp.normal,
.section.ppp.lucky {
padding: 10px 10px 100px 10px;
}
}

/*
うんちゃん
*/
Expand Down
Binary file added assets/images/ppp_rario.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/ppp_unchan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/js/lucky_rayrio.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const luckyRayRio = () => {
for (const element of document.getElementsByClassName('c-unchan__tsuno__inner')) {
element.classList.add(toAddClass);
}
for (const element of document.getElementsByClassName('ppp')) {
element.classList.add(toAddClass);
}
};

function isLucky() {
Expand Down
62 changes: 62 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,68 @@ <h2 class="section_title" id="section_contributors">
</div>
</div>
</section>

<section class="section firstview ppp">
<h2 class="section_title" id="section_popularity_poll">
人気投票開催中
</h2>
<div class="box">
<i class="fab fa-google"></i>
<a
id="section_popularity_poll_list"
href="https://forms.gle/acSJEYgJo3JmihSy6"
target="_blank"
rel="noopener noreferrer"
>ガチのおめシス人気キャラクター投票所</a
>
</div>
<div class="video_box">
<div class="video_wrapper">
<iframe
src="https://www.youtube.com/embed/XOo6-N29i88"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
</div>
</div>
<div class="pr_announce">
<div class="pr_announce_item">
<blockquote class="twitter-tweet" data-dnt="true" data-width="100%">
<p lang="ja" dir="ltr">
レイちゃんに投票してね!!<a href="https://t.co/EqSd2UlZBB"
>https://t.co/EqSd2UlZBB</a
>
<a href="https://t.co/c7bwIc6joX">pic.twitter.com/c7bwIc6joX</a>
</p>
&mdash; おめがレイ@バーチャル双子YouTuber (@omesis_ray)
<a
href="https://twitter.com/omesis_ray/status/1226808134175342592?ref_src=twsrc%5Etfw"
>February 10, 2020</a
>
</blockquote>
</div>
<div class="pr_announce_item">
<blockquote class="twitter-tweet" data-dnt="true" data-width="100%">
<p lang="ja" dir="ltr">
なにも言わなくても分かるよなお前ら。<br /><br />↓↓動画はこちら↓↓<a
href="https://t.co/Co7eg8Usqs"
>https://t.co/Co7eg8Usqs</a
><a
href="https://twitter.com/hashtag/%E3%81%8A%E3%82%81%E3%82%B7%E3%82%B9?src=hash&amp;ref_src=twsrc%5Etfw"
>#おめシス</a
>
<a href="https://t.co/F7XTQkJ342">pic.twitter.com/F7XTQkJ342</a>
</p>
&mdash; おめがリオ@妹の方 字幕は青です (@omesis_rio)
<a
href="https://twitter.com/omesis_rio/status/1226808118320828417?ref_src=twsrc%5Etfw"
>February 10, 2020</a
>
</blockquote>
</div>
</div>
</section>
</main>

<a href="#top-anchor" class="c-unchan c-unchan--fixedBottom">
Expand Down