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
<div class="container"> | |
<div class="row"> | |
<div class="col-md-8">{{ content }}</div> | |
<div class="col-md-4"> | |
<div class="row"> | |
<div class="col-md-12 col-sm-4"> | |
[righttop in desktop]<br> | |
[leftbottom in tablet]<br> | |
[bottomtop in smartphone]<br> | |
</div> |
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
paginate: 5 | |
paginate_path: "page:num" |
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
<ul class="pager"> | |
{% if paginator.previous_page != nil %} | |
<li class="previous"><a href="{{ paginator.previous_page_path }}">← 新しい記事</a></li> | |
{% else %} | |
{% if paginator.next_page != 2 %} | |
<li class="previous"><a href="/">← 新しい記事</a></li> | |
{% endif %} | |
{% endif %} | |
{% if paginator.next_page != nil %} | |
<li class="next"><a href="{{ paginator.next_page_path }}">古い記事 →</a></li> |
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
#!/bin/sh | |
# アクティブなウィンドウのスクリーンショットを撮り、通知する | |
# 12 Mar 2014: dateコマンドの辺りで間抜けな間違いをしていたので修正 | |
activeWinLine=$(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)") | |
activeWinId=${activeWinLine:40} | |
exec import -window "$activeWinId" -frame $HOME/Pictures/screenshot/$(date +%y%m%d_%H%M%S).png & | |
exec notify-send 'Screenshot Taken' $HOME/Pictures/screenshot/$(date +%y%m%d_%H%M%S).png & |
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
.window-frame, .window-frame:backdrop { | |
box-shadow: 0 0 0 black; | |
border-style: none; | |
margin: 0; | |
border-radius: 0; | |
} | |
.titlebar { | |
border-radius: 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
#!/bin/sh | |
exec compton -cCzG -t-3 -l-5 -r4 \ | |
--config /dev/null --backend glx \ | |
--vsync opengl-swc \ | |
--shadow-exclude "name = 'notify-osd'" \ | |
--shadow-exclude "_GTK_FRAME_EXTENTS@:c" \ | |
--shadow-ignore-shaped & |
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
body { | |
background-color: #eee; | |
font-family: "Roboto", "Lucida Grande", "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", "IPAexGothic", sans-serif; | |
} | |
h1, h2, h3 { | |
font-family: "Roboto Condensed", "Hiragino Kaku Gothic ProN", "Meiryo", "IPAexGothic", sans-serif; | |
font-weight: 300; | |
} |
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
Section "InputClass" | |
Identifier "touchpad" | |
MatchIsTouchpad "on" | |
Driver "synaptics" | |
Option "AccelerationNumerator" "1" | |
Option "AccelerationDenominator" "2" | |
Option "AccelerationThreshold" "2" | |
Option "TapButton1" "0" | |
Option "VertEdgeScroll" "off" | |
Option "HorizEdgeScroll" "off" |
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
Section "Device" | |
Identifier "Intel IGP" | |
Driver "modesetting" | |
Option "AccelMethod" "glamor" | |
EndSection |
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
Section "InputClass" | |
Identifier "UltraNav" | |
Driver "libinput" | |
MatchIsTouchpad "on" | |
Option "ClickMethod" "clickfinger" | |
Option "NaturalScrolling" "on" | |
Option "Tapping" "off" | |
EndSection |
OlderNewer