Skip to content

Commit 498aa6c

Browse files
authored
Merge pull request #73 from until-tsukuba/change-newcss-from-chota
chore: CSSフレームワークを`chota`から`new.css`に変更した
2 parents a4242ce + 24abd0b commit 498aa6c

File tree

6 files changed

+19
-15
lines changed

6 files changed

+19
-15
lines changed

.eleventy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default (eleventyConfig) => {
1313
}
1414
});
1515
eleventyConfig.addPassthroughCopy({
16-
"./node_modules/chota/dist/chota.min.css" : "/assets/css/chota.min.css"
16+
"./node_modules/@exampledev/new.css/new.css" : "/assets/css/new.css"
1717
})
1818
eleventyConfig.addNunjucksFilter("getNewestCollectionItemDate", pluginRss.getNewestCollectionItemDate)
1919
eleventyConfig.addNunjucksFilter("dateToRfc3339", pluginRss.dateToRfc3339)

package-lock.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"devDependencies": {
1616
"@11ty/eleventy": "^3.0.0",
1717
"@11ty/eleventy-plugin-rss": "^1.2.0",
18-
"chota": "^0.9.2"
18+
"@exampledev/new.css": "^1.1.3"
1919
}
2020
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<nav>
22
<div class="tabs">
3-
<a href='{{ "/" | htmlBaseUrl }}'>Home</a>
4-
<a href='{{ "/events" | htmlBaseUrl }}'>イベント一覧</a>
5-
<a rel="me" href="https://twitter.com/until_tsukuba">Twitter</a>
6-
<a rel="me" href="https://mi.tsukuba.dev/@until">Misskey (Fediverse)</a>
3+
<a href='{{ "/" | htmlBaseUrl }}'>Home</a> /
4+
<a href='{{ "/events" | htmlBaseUrl }}'>イベント一覧</a> /
5+
<a rel="me" href="https://twitter.com/until_tsukuba">Twitter</a> /
6+
<a rel="me" href="https://mi.tsukuba.dev/@until">Misskey (Fediverse)</a> /
77
<a rel="me" href="https://github.com/until-tsukuba">GitHub</a>
88
</div>
99
</nav>

src/_includes/page.njk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
<meta charset="UTF-8"/>
55
<link rel="icon" size="32x32" href="{{ "/assets/img/favicon.ico" | htmlBaseUrl }}"/>
66
<link rel="stylesheet" href='{{ "/assets/css/custom.css" | htmlBaseUrl }}'>
7-
<link rel="stylesheet" href='{{ "/assets/css/chota.min.css" | htmlBaseUrl }}'>
7+
<link rel="stylesheet" href='{{ "/assets/css/new.css" | htmlBaseUrl }}'>
88
<meta name="generator" content="{{ eleventy.generator }}" />
99
<title>
1010
{% block title %}{{ title }}{% endblock %} - UNTIL.
1111
</title>
1212
{% include "components/ogp.njk" %}
1313
{% block head %}
1414
{% endblock %}
15+
<link rel="alternate" type="application/atom+xml" href="{{ "/feed.xml" | htmlBaseUrl }}" title="UNTIL.イベント開催情報" />
1516
<meta name="google-site-verification" content="3H7Dhs52_3f1pJtfVa3WPn17qiPcvBhB5Mrrh5TwYFc" />
1617
</head>
1718
<body>

src/assets/css/custom.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
body{
2-
margin: 0 1em 0 !important;
2+
margin: 0 auto !important;
3+
max-width: 1200px;
4+
padding: 0 1em;
35
}

0 commit comments

Comments
 (0)