Skip to content
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# **[今すぐ採用エントリー](https://ncdc.co.jp/recruit/entry/)**
**[今すぐ採用エントリー](https://ncdc.co.jp/recruit/entry/)**

↑ 採用エントリーはこちら

Expand Down
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ title: NCDC recruitment
remote_theme: pages-themes/cayman@v0.2.0
plugins:
- jekyll-remote-theme

# GitHub Pages 既定の jekyll-titles-from-headings は各ページの最初の見出しを
# ページタイトルに採用する。cayman はそれを上部の帯に表示するため、
# 本文にも同じ見出しが残ると二重に出る。strip_title で本文側から取り除く
titles_from_headings:
strip_title: true
11 changes: 7 additions & 4 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,11 @@ samp {
}
}

// 冒頭の「今すぐ採用エントリー」の見出しリンクをボタンとして見せる。
// Markdown は変更していない。他ページの先頭見出しにはリンクが無いので影響しない
.main-content > h1:first-of-type a {
// 冒頭の「今すぐ採用エントリー」のリンクをボタンとして見せる。
// GitHub Pages の jekyll-titles-from-headings が最初の見出しをページタイトルに
// 採用するため、このリンクは見出しにできない(見出しにするとタイトルが
// 「今すぐ採用エントリー」になる)。先頭の段落として置き、ここで装飾する
.main-content > p:first-of-type a {
display: inline-block;
padding: 0.9rem 2.4rem;
font-size: 1.15rem;
Expand All @@ -151,7 +153,8 @@ samp {
border-radius: 999px;
box-shadow: 0 4px 14px rgba($ncdc-navy, 0.25);

&:hover {
&:hover,
&:focus-visible {
color: #fff;
opacity: 0.9;
}
Expand Down