mirror of
https://github.com/sstent/node.git
synced 2026-01-26 07:02:31 +00:00
updated app
This commit is contained in:
1
first-project/styles/404.styl
Normal file
1
first-project/styles/404.styl
Normal file
@@ -0,0 +1 @@
|
||||
@import "./base";
|
||||
20
first-project/styles/app/index.styl
Normal file
20
first-project/styles/app/index.styl
Normal file
@@ -0,0 +1,20 @@
|
||||
@import "../base";
|
||||
|
||||
#alert {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
z-index: 99;
|
||||
}
|
||||
#alert > p {
|
||||
background: #fff1a8;
|
||||
border: 1px solid #999;
|
||||
border-top: 0;
|
||||
border-radius: 0 0 3px 3px;
|
||||
display: inline-block;
|
||||
line-height: 21px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
13
first-project/styles/base.styl
Normal file
13
first-project/styles/base.styl
Normal file
@@ -0,0 +1,13 @@
|
||||
@import "./reset";
|
||||
@import "nib/vendor";
|
||||
|
||||
body {
|
||||
padding: 2em;
|
||||
}
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
p {
|
||||
line-height: 2em;
|
||||
}
|
||||
21
first-project/styles/reset.styl
Normal file
21
first-project/styles/reset.styl
Normal file
@@ -0,0 +1,21 @@
|
||||
body,h1,h2,h3,h4,th {
|
||||
font: 13px/normal Arial,sans-serif;
|
||||
}
|
||||
body {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
body,fieldset,form,h1,h2,h3,h4,li,ol,p,td,th,ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
ul {
|
||||
margin: 0 normal;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
fieldset,img {
|
||||
border: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user