Skip to content

Commit

Permalink
prototypeブランチからdevelopブランチに移行
Browse files Browse the repository at this point in the history
  • Loading branch information
gunyarakun committed Oct 3, 2014
1 parent 0f1c8a8 commit 76e8300
Show file tree
Hide file tree
Showing 18 changed files with 12,554 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitconfig.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[user]
name = Tasuku SUENAGA a.k.a. gunyarakun
email = [email protected]
13 changes: 13 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <[email protected]>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.
43 changes: 43 additions & 0 deletions config/nginx/virtual-religion.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
map $http_accept_language $lang {
default ja;
}

# virtual-religion.org
server {
listen 80;
server_name virtual-religion.org;
# redirect to language local subdomains
rewrite ^(.*)$ http://$lang.$host$1;
}

# ja.virtual-religion.org
server {
listen 80;

server_name ja.virtual-religion.org;

root /home/tasuku/virtual-religion.org/content/ja;
charset UTF-8;
include /etc/nginx/mime.types;

location / {
index index.html;
if (-f $request_filename) {
expires 1h;
break;
}
}
}

# *.virtual-religion.net, *.virtual-religion.com
server {
listen 80;

server_name ~^((.+)\.)?virtual-religion.(net|com);
rewrite ^/$ http://virtual-religion.org/;

location ~ /.+ {
return 410;
}
}

48 changes: 48 additions & 0 deletions content/ja/css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
RESET - ADAPTED FROM MEYER RESET
URL - http://meyerweb.com/eric/tools/css/reset/
LICENSE - PUBLIC DOMAIN
*/

/* RESET
----------------------------------------------------------------------------------------------------*/
a, abbr, acronym, address, applet, article, aside, audio,
b, big, blockquote, body, caption, canvas, center, cite, code,
dd, del, details, dfn, dialog, div, dl, dt, em, embed,
fieldset, figcaption, figure, form, footer,
header, hgroup, h1, h2, h3, h4, h5, h6, html,
i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, output, p, pre, q, ruby,
s, samp, section, main, small, span, strike, strong, sub, summary, sup,
tt, table, tbody, textarea, tfoot, thead, time, tr, th, td,
u, ul, var, video {
font-family: inherit;
font-size: 100%;
font-weight: inherit;
font-style: inherit;
vertical-align: baseline;
white-space: normal;
text-align: left;
margin: 0;
padding: 0;
border: 0;
outline: 0;
background: transparent;
}

article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section, main {
display: block;
}

ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}
114 changes: 114 additions & 0 deletions content/ja/css/responsive.gs.24col.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
/* 24 COLUMN : RESPONSIVE GRID SYSTEM
DEVELOPER : DENIS LEBLANC
URL : http://responsive.gs
VERSION : 3.0
LICENSE : GPL & MIT */


/* SET ALL ELEMENTS TO BOX-SIZING : BORDER-BOX */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
*behavior: url(/scripts/boxsizing.htc);
/* If you need support for IE7 and lower make
sure the boxsizing.htc file is linked properly.
More info here: https://github.com/Schepp/box-sizing-polyfill */
}


/* MAIN CONTAINER
Set the width to whatever you want the width of your site to be. */
.container {
margin: 0 auto;
}


/* SELF CLEARING FLOATS - CLEARFIX METHOD */
.container:after,
.row:after,
.col:after,
.clr:after,
.group:after {
content: "";
display: table;
clear: both;
}

/* DEFAULT ROW STYLES
Set bottom padding according to preference */
.row { padding-bottom: 0; }


/* DEFAULT COLUMN STYLES */
.col {
display: block;
float: left;
width: 100%;
}

@media ( min-width : 768px ) {

.gutters .col {
margin-left: 2%;
}

.gutters .col:first-child {
margin-left: 0;
}
}


/* COLUMN WIDTH ON DISPLAYS +768px
You might need to play with media queries here to suite your design. */
@media ( min-width : 768px ) {
.span_1 { width: 4.16666666667%; }
.span_2 { width: 8.33333333333%; }
.span_3 { width:12.5%; }
.span_4 { width: 16.6666666667%; }
.span_5 { width: 20.8333333333%; }
.span_6 { width: 25%; }
.span_7 { width: 29.1666666667%; }
.span_8 { width: 33.3333333333%; }
.span_9 { width: 37.5%; }
.span_10 { width: 41.6666666667%; }
.span_11 { width: 45.8333333333%; }
.span_12 { width: 50%; }
.span_13 { width: 54.1666666667%; }
.span_14 { width: 58.3333333333%; }
.span_15 { width: 62.5%; }
.span_16 { width: 66.6666666667%; }
.span_17 { width: 70.8333333333%; }
.span_18 { width: 75%; }
.span_19 { width: 79.1666666667%; }
.span_20 { width: 83.3333333333%; }
.span_21 { width: 87.5%; }
.span_22 { width: 91.6666666667%; }
.span_23 { width: 95.8333333333%; }
.span_24 { width: 100%; }

.gutters .span_1 { width: 2.25%; }
.gutters .span_2 { width: 6.5%; }
.gutters .span_3 { width: 10.75%; }
.gutters .span_4 { width: 15.0%; }
.gutters .span_5 { width: 19.25%; }
.gutters .span_6 { width: 23.5%; }
.gutters .span_7 { width: 27.75%; }
.gutters .span_8 { width: 32.0%; }
.gutters .span_9 { width: 36.25%; }
.gutters .span_10 { width: 40.5%; }
.gutters .span_11 { width: 44.75%; }
.gutters .span_12 { width: 49.0%; }
.gutters .span_13 { width: 53.25%; }
.gutters .span_14 { width: 57.5%; }
.gutters .span_15 { width: 61.75%; }
.gutters .span_16 { width: 66.0%; }
.gutters .span_17 { width: 70.25%; }
.gutters .span_18 { width: 74.5%; }
.gutters .span_19 { width: 78.75%; }
.gutters .span_20 { width: 83.0%; }
.gutters .span_21 { width: 87.25%; }
.gutters .span_22 { width: 91.5%; }
.gutters .span_23 { width: 95.75%; }
.gutters .span_24 { width: 100%; }
}
38 changes: 38 additions & 0 deletions content/ja/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/* IMPORT RESET */
@import url("reset.css");

/* IMPORT 24 COLUMN RESPONSIVE GS */
@import url("responsive.gs.24col.css");


/* EXAMPLE STYLES */
body {
font-family: sans-serif;
color: white;
}

header {
line-height: 15em;
text-align: center;
background: #333;
}

article {
line-height: 20em;
text-align: center;
background: #666;
}

aside {
line-height: 20em;
text-align: center;
background: #999;
}

footer {
line-height: 15em;
text-align: center;
background: #BBB;
}


Loading

0 comments on commit 76e8300

Please sign in to comment.