Skip to content

Instantly share code, notes, and snippets.

@charset "utf-8";
/* CSS Document */
/* --clearfix-- */
.clearfix:after,
div:after,
ul:after,
dl:after,
form:after,
blockquote:after {
@machida
machida / gist:736135
Created December 10, 2010 12:14
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>無題ドキュメント</title>
<link href="stylesheets/reset.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/basic.css" rel="stylesheet" type="text/css" />
</head>
<body>
" swap
set directory=~/tmp
" for cron
set nowritebackup
~/.vimrc
@machida
machida / Lokkaテーマ作成用コピペコード
Created April 18, 2011 01:43
Lokkaテーマ作成用のコピペで出来るコード集
<%# bodyタグにページのスラッグをつける %>
<% if entry? %>
<body class="<%= @theme_types.join(' ') %> <%= @entry.slug %>">
<% else %>
<body class="<%= @theme_types.join(' ') %>">
<% end %>
<%# Topページにだけアイキャッチを表示 %>
<% if index? %>
@machida
machida / 今日の飲み会の会費
Created May 2, 2011 03:09
今日の飲み会の会費の内訳
ビール1ケース … 6000円
オリジン弁当 … 9060円
コンビニ … 2000円
一人 … 1700円
[Plan]
type = text
size = 35
label = Where are you going to go?
[Plan]
type = textfield
size = 35
hideKey = true
@machida
machida / sample.css
Created May 20, 2012 11:53
cssのsample
nav#global {
width: 80%;
height: 23px;
}
nav#global ul {
list-style-type: none;
}
nav#global li {
@machida
machida / sample.sass
Created May 20, 2012 12:28
sassのsample
nav#global
width: 80%
height: 23px
ul
list-style-type: none
li
float: left
a
font-weight: bold
@machida
machida / variables.css
Created May 20, 2012 13:23
variablesのsample
#main article {
color: #444;
font-size: 14px;
line-height: 1.6;
}
#side h2 {
color: #444;
font-size: 16px;
line-height: 1.4;