This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function hello_dolly_get_lyric() { | |
/** These are the lyrics to Hello Dolly */ | |
$lyrics = "Hello, Dolly | |
Well, hello, Dolly | |
It's so nice to have you back where you belong | |
You're lookin' swell, Dolly | |
I can tell, Dolly | |
You're still glowin', you're still crowin' | |
You're still goin' strong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*gistの行番号表示調整*/ | |
.gist-file table { table-layout: auto; } | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function hello_dolly_get_lyric() { | |
/** These are the lyrics to Hello Dolly */ | |
$lyrics = "息を切らしてさ 駆け抜けた道を振り返りはしないのさ | |
ただ未来だけを見据えながら放つ願い | |
カンナみたいにね 命を削ってさ 情熱を灯しては | |
また光と影を連れて進むんだ | |
大きな声で声を枯らして愛されたいと歌っているんだよ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.table-of-contents{ | |
display: none; | |
} | |
.show-area{ | |
display: inline-block; | |
padding: 10px; | |
border-radius: 5px; | |
cursor: pointer; | |
margin-bottom: 0; | |
color: blue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/* 記事一覧本文、更新時間非表示 */ | |
.entry-list .entry-content p, .entry-list .entry-footer { | |
display: none; | |
} | |
/* 日付とタイトルを右に */ | |
.list-entry-header { | |
float: right; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ### 記事更新何日前非表示 ### */ | |
「デザイン」→「スマホ」→「ヘッダ」→「タイトル下」 | |
span.entry-footer-time { | |
display: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*### ここから記事タイトル文字の装飾 ###*/ | |
.entry-title { | |
position: relative; | |
padding-left: 25px; | |
} | |
.entry-title:before { | |
position: absolute; | |
content: ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
「デザイン」→「スマホ」→「記事」→「上」 | |
<style type="text/css"> | |
/* 見出し各種 */ | |
.entry-content h3 { | |
padding: 4px 10px; | |
color: #3D3F44; | |
background: #f3f3f3; | |
border-left: 8px solid #3f3f3f; | |
margin:60px 0 15px 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
/*### 記事ページの文字の大きさや余白など細かい設定 ###*/ | |
.entry-title { | |
margin: 0.3em 0 0.1em; /* タイトル周りの余白 */ | |
font-size: 17px; /* 記事タイトルの文字の大きさ */ | |
} | |
.entry-header { | |
position: relative; | |
margin-top: 0.7em; /* タイトル上の余白 */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
/* ### 日付(〇日前)の囲みとアイコンの追加 ### */ | |
.list-entry-article .entry-footer-time { | |
position: relative; | |
color: #ffffff; /*文字色*/ | |
background: #41AC88; /*日付の背景色*/ | |
font-weight:700; /*文字の太さ*/ | |
padding: 3px 10px 3px 23px;/*日付の文字まわりのスペース*/ | |
} | |
.list-entry-article .entry-footer-time:before{ |