Skip to content
Open
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
72 changes: 72 additions & 0 deletions workshops/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
.workshops {
display: flex;
flex-wrap: wrap;
flex-direction: column;
}
.workshops-row {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}

.workshop {
flex: 1 1;
margin: 0 20px 80px;
}
.workshop-inner {
width: 260px;
}
.workshop .workshop-title {
margin: 0 0 10px;
font-size: 20px;
font-weight: bold;
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}
.workshop .workshop-description {
position: relative;
height: 260px;
overflow: hidden;
box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}
.workshop .workshop-description .workshop-image {
width: 260px;
height: 260px;
background: #eee;
border: 0;
}
.workshop .workshop-description .workshop-description-text {
position: absolute;
bottom: -80px;
transition: bottom 0.1s linear;
left: 0;
right: 0;
height: 80px;
background: rgba(255,255,255,0.8);
padding: 5px 10px;
margin: 0;
font-size: 14px;
box-sizing: border-box;
}
.workshop .workshop-description:hover .workshop-description-text {
bottom: 0;
}
.workshop .workshop-navs {
margin: 20px 0 0;
}
.workshop .workshop-navs button {
background: #8C6450;
box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
outline: 0;
border: 0;
color: white;
padding: 5px 10px;
font-size: 14px;
}
.workshop .workshop-navs button:first-child {
background: #00A5BF;
float: left;
}
.workshop .workshop-navs button:last-child {
float: right;
}
Binary file added workshops/images/01.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 workshops/images/02.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 workshops/images/03.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 workshops/images/04.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 workshops/images/05.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 workshops/images/06.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 workshops/images/07.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 workshops/images/08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 123 additions & 0 deletions workshops/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
---
layout: default
title: Workshops
---

<link rel="stylesheet" href="./app.css">

<h1>きょーくりっの教材</h1>

<div class="workshops">
<div class="workshops-row">
<div class="workshop">
<div class="workshop-inner">
<p class="workshop-title">インベーダーゲーム</p>
<div class="workshop-description">
<img src="./images/01.png" alt="" class="workshop-image">
<p class="workshop-description-text">ここに内容紹介が入ります。</p>
</div>
<nav class="workshop-navs">
<button>詳しく知りたい</button>
<button>サンプルを見る</button>
</nav>
</div>
</div>
<div class="workshop">
<div class="workshop-inner">
<p class="workshop-title">ブロック崩し</p>
<div class="workshop-description">
<img src="./images/02.png" alt="" class="workshop-image">
<p class="workshop-description-text">ここに内容紹介が入ります。</p>
</div>
<nav class="workshop-navs">
<button>詳しく知りたい</button>
<button>サンプルを見る</button>
</nav>
</div>
</div>
<div class="workshop">
<div class="workshop-inner">
<p class="workshop-title">くるくる迷路</p>
<div class="workshop-description">
<img src="./images/03.png" alt="" class="workshop-image">
<p class="workshop-description-text">ここに内容紹介が入ります。</p>
</div>
<nav class="workshop-navs">
<button>詳しく知りたい</button>
<button>サンプルを見る</button>
</nav>
</div>
</div>
</div>
<div class="workshops-row">
<div class="workshop">
<div class="workshop-inner">
<p class="workshop-title">猫逃げ</p>
<div class="workshop-description">
<img src="./images/04.png" alt="" class="workshop-image">
<p class="workshop-description-text">ここに内容紹介が入ります。</p>
</div>
<nav class="workshop-navs">
<button>詳しく知りたい</button>
<button>サンプルを見る</button>
</nav>
</div>
</div>
<div class="workshop">
<div class="workshop-inner">
<p class="workshop-title">カメ踏み</p>
<div class="workshop-description">
<img src="./images/05.png" alt="" class="workshop-image">
<p class="workshop-description-text">ここに内容紹介が入ります。</p>
</div>
<nav class="workshop-navs">
<button>詳しく知りたい</button>
<button>サンプルを見る</button>
</nav>
</div>
</div>
<div class="workshop">
<div class="workshop-inner">
<p class="workshop-title">ハエ叩き</p>
<div class="workshop-description">
<img src="./images/06.png" alt="" class="workshop-image">
<p class="workshop-description-text">ここに内容紹介が入ります。</p>
</div>
<nav class="workshop-navs">
<button>詳しく知りたい</button>
<button>サンプルを見る</button>
</nav>
</div>
</div>
</div>
<div class="workshops-row">
<div class="workshop">
<div class="workshop-inner">
<p class="workshop-title">床塗りゲーム</p>
<div class="workshop-description">
<img src="./images/07.png" alt="" class="workshop-image">
<p class="workshop-description-text">ここに内容紹介が入ります。</p>
</div>
<nav class="workshop-navs">
<button>詳しく知りたい</button>
<button>サンプルを見る</button>
</nav>
</div>
</div>
<div class="workshop">
<div class="workshop-inner">
<p class="workshop-title">落下物拾いゲーム</p>
<div class="workshop-description">
<img src="./images/08.png" alt="" class="workshop-image">
<p class="workshop-description-text">ここに内容紹介が入ります。</p>
</div>
<nav class="workshop-navs">
<button>詳しく知りたい</button>
<button>サンプルを見る</button>
</nav>
</div>
</div>
<div class="workshop">
</div>
</div>
</div>