Skip to content

Commit 425bc73

Browse files
authored
Merge pull request #11 from coderdojo-japan/install-tailwind-css
update: Bootstrap の削除、Tailwind CSS の導入
2 parents f15cef9 + c90f765 commit 425bc73

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

_includes/head.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@
6060
<!-- CSS Framework -------------------------- -->
6161
<!-- Font Awasome https://fontawesome.com/ -->
6262
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
63-
<!-- Bootstrap https://getbootstrap.jp/ -->
64-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
65-
63+
<!-- Tailwind CSS -->
64+
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
6665

6766
<!-- CSS -------------------------- -->
6867
<!-- DojoCon CSS -->

_includes/top/sections/contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section id="contact">
2-
<div class="d-flex flex-column align-items-center text-center">
2+
<div class="flex flex-col items-center text-center">
33
<h2 class="title">お問い合わせ</h2>
44
<p class="subtitle">CONTACT</p>
55
<p class="text">DojoCon Japan {{ site.year }}についてのお問い合わせは<br>以下のリンク先(Googleフォーム)よりお願いいたします。</p>

_layouts/condition.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
22
layout: default
33
---
4-
<div class="container" style="margin-top: 140px; margin-bottom: 140px">
5-
<div class="text-center">
6-
<h1>{{ page.title }}</h1>
7-
<p>{{ page.subtitle }}</p>
4+
<div style="margin-top: 140px; margin-bottom: 140px">
5+
<div class="text-center mb-8">
6+
<h1 class="text-4xl">{{ page.title }}</h1>
7+
<p>{{ page.subtitle }}</p>
88
</div>
9-
<div class="air"></div>
109
<div id='condition'>
1110
<div class="post">
1211
<div class='post-content'>

_layouts/page.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
22
layout: default
33
---
4-
<div class="container" style="margin-top: 140px; margin-bottom: 140px">
5-
<div class="text-center mb-4">
4+
<div style="margin-top: 140px; margin-bottom: 140px">
5+
<div class="text-center mb-8">
66
<p class="my-0"><strong>{{ page.subtitle }}</strong></p>
7-
<h2 class="my-1">{{ page.title }}</h2>
7+
<h2 class="text-4xl my-1">{{ page.title }}</h2>
88
</div>
9-
<div class="air"></div>
109
<div id=''>
1110
<div class="post">
1211
<div class='post-content'>

0 commit comments

Comments
 (0)