Skip to content

Commit 27b9564

Browse files
authored
Merge pull request #7 from ryamakuchi/setup-scss
SCSSでビジュアルデザインを見ながらコードを書くための環境構築
2 parents defc5f8 + 0ff2ef1 commit 27b9564

16 files changed

+2256
-1
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules/
22
.idea/
3-
yarn-error.log
3+
yarn-error.log

Diff for: my-standard-layout-scss/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/css/

Diff for: my-standard-layout-scss/MEMO.md

Whitespace-only changes.

Diff for: my-standard-layout-scss/README.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
My Standard Layout SCSS
2+
=========
3+
4+
### Setup
5+
```
6+
yarn install
7+
```
8+
9+
### Development
10+
```
11+
yarn run build:scss:watch
12+
```
13+
14+
```
15+
yarn run serve
16+
```
17+
18+
```
19+
open http://localhost:3000
20+
```

Diff for: my-standard-layout-scss/package.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "my-standard-layout-scss",
3+
"version": "1.0.0",
4+
"main": "src/index.js",
5+
"repository": "https://github.com/ryamakuchi/html5-css3-modern-coding/my-standard-layout-scss",
6+
"author": "ryamakuchi",
7+
"license": "MIT",
8+
"scripts": {
9+
"build:scss": "node-sass --recursive src/scss --output src/css",
10+
"build:scss:watch": "yarn run build:scss && yarn run build:scss --watch",
11+
"serve": "browser-sync start --server 'src' --files 'src/css/*.css', 'src/*.html'"
12+
},
13+
"devDependencies": {
14+
"browser-sync": "^2.24.6",
15+
"node-sass": "^4.9.3"
16+
}
17+
}

Diff for: my-standard-layout-scss/src/images/arrow.gif

101 Bytes
Loading

Diff for: my-standard-layout-scss/src/images/article.jpg

30.3 KB
Loading

Diff for: my-standard-layout-scss/src/images/bg-footer.gif

42 Bytes
Loading

Diff for: my-standard-layout-scss/src/images/bg-header.gif

54 Bytes
Loading

Diff for: my-standard-layout-scss/src/images/bg-slash.gif

55 Bytes
Loading

Diff for: my-standard-layout-scss/src/images/hot-topic.jpg

23.9 KB
Loading

Diff for: my-standard-layout-scss/src/images/logo.png

9.21 KB
Loading

Diff for: my-standard-layout-scss/src/images/ranking.jpg

5.29 KB
Loading

Diff for: my-standard-layout-scss/src/index.html

Whitespace-only changes.

Diff for: my-standard-layout-scss/src/scss/reset.scss

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/**
2+
* html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
3+
* Richard Clark (http://richclarkdesign.com)
4+
* http://cssreset.com
5+
*/
6+
html, body, div, span, object, iframe,
7+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8+
abbr, address, cite, code,
9+
del, dfn, em, img, ins, kbd, q, samp,
10+
small, strong, sub, sup, var,
11+
b, i,
12+
dl, dt, dd, ol, ul, li,
13+
fieldset, form, label, legend,
14+
table, caption, tbody, tfoot, thead, tr, th, td,
15+
article, aside, canvas, details, figcaption, figure,
16+
footer, header, hgroup, menu, nav, section, summary,
17+
time, mark, audio, video {
18+
margin:0;
19+
padding:0;
20+
border:0;
21+
outline:0;
22+
font-size:100%;
23+
vertical-align:baseline;
24+
background:transparent;
25+
}
26+
body {
27+
line-height:1;
28+
}
29+
article,aside,details,figcaption,figure,
30+
footer,header,hgroup,menu,nav,section {
31+
display:block;
32+
}
33+
nav ul {
34+
list-style:none;
35+
}
36+
blockquote, q {
37+
quotes:none;
38+
}
39+
blockquote:before, blockquote:after,
40+
q:before, q:after {
41+
content:'';
42+
content:none;
43+
}
44+
a {
45+
margin:0;
46+
padding:0;
47+
font-size:100%;
48+
vertical-align:baseline;
49+
background:transparent;
50+
}
51+
/* change colours to suit your needs */
52+
ins {
53+
background-color:#ff9;
54+
color:#000;
55+
text-decoration:none;
56+
}
57+
/* change colours to suit your needs */
58+
mark {
59+
background-color:#ff9;
60+
color:#000;
61+
font-style:italic;
62+
font-weight:bold;
63+
}
64+
del {
65+
text-decoration: line-through;
66+
}
67+
abbr[title], dfn[title] {
68+
border-bottom:1px dotted;
69+
cursor:help;
70+
}
71+
table {
72+
border-collapse:collapse;
73+
border-spacing:0;
74+
}
75+
/* change border colour to suit your needs */
76+
hr {
77+
display:block;
78+
height:1px;
79+
border:0;
80+
border-top:1px solid #cccccc;
81+
margin:1em 0;
82+
padding:0;
83+
}
84+
input, select {
85+
vertical-align:middle;
86+
}

0 commit comments

Comments
 (0)