Skip to content

Commit ba7d4cd

Browse files
committedOct 19, 2015
Re-arranged file structure.
chapter2-3
1 parent 8432a1d commit ba7d4cd

File tree

5 files changed

+160
-33
lines changed

5 files changed

+160
-33
lines changed
 

‎client/main.html

Whitespace-only changes.

‎client/stylesheets/style.css

+160
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
.grid-block, .main, .post, .comments li, .comment-form {
2+
background: #fff;
3+
border-radius: 3px;
4+
padding: 10px;
5+
margin-bottom: 10px;
6+
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
7+
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
8+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); }
9+
10+
body {
11+
background: #eee;
12+
color: #666666; }
13+
14+
#main {
15+
position: relative;
16+
}
17+
.page {
18+
position: absolute;
19+
top: 0px;
20+
width: 100%;
21+
}
22+
23+
.navbar {
24+
margin-bottom: 10px; }
25+
/* line 32, ../sass/style.scss */
26+
.navbar .navbar-inner {
27+
border-radius: 0px 0px 3px 3px; }
28+
29+
#spinner {
30+
height: 300px; }
31+
32+
.post {
33+
/* For modern browsers */
34+
/* For IE 6/7 (trigger hasLayout) */
35+
*zoom: 1;
36+
position: relative;
37+
opacity: 1; }
38+
.post:before, .post:after {
39+
content: "";
40+
display: table; }
41+
.post:after {
42+
clear: both; }
43+
.post.invisible {
44+
opacity: 0; }
45+
.post.instant {
46+
-webkit-transition: none;
47+
-moz-transition: none;
48+
-o-transition: none;
49+
transition: none; }
50+
.post.animate{
51+
-webkit-transition: all 300ms 0ms;
52+
-moz-transition: all 300ms 0ms ease-in;
53+
-o-transition: all 300ms 0ms ease-in;
54+
transition: all 300ms 0ms ease-in; }
55+
.post .upvote {
56+
display: block;
57+
margin: 7px 12px 0 0;
58+
float: left; }
59+
.post .post-content {
60+
float: left; }
61+
.post .post-content h3 {
62+
margin: 0;
63+
line-height: 1.4;
64+
font-size: 18px; }
65+
.post .post-content h3 a {
66+
display: inline-block;
67+
margin-right: 5px; }
68+
.post .post-content h3 span {
69+
font-weight: normal;
70+
font-size: 14px;
71+
display: inline-block;
72+
color: #aaaaaa; }
73+
.post .post-content p {
74+
margin: 0; }
75+
.post .discuss {
76+
display: block;
77+
float: right;
78+
margin-top: 7px; }
79+
80+
.comments {
81+
list-style-type: none;
82+
margin: 0; }
83+
.comments li h4 {
84+
font-size: 16px;
85+
margin: 0; }
86+
.comments li h4 .date {
87+
font-size: 12px;
88+
font-weight: normal; }
89+
.comments li h4 a {
90+
font-size: 12px; }
91+
.comments li p:last-child {
92+
margin-bottom: 0; }
93+
94+
.dropdown-menu span {
95+
display: block;
96+
padding: 3px 20px;
97+
clear: both;
98+
line-height: 20px;
99+
color: #bbb;
100+
white-space: nowrap; }
101+
102+
.load-more {
103+
display: block;
104+
border-radius: 3px;
105+
background: rgba(0, 0, 0, 0.05);
106+
text-align: center;
107+
height: 60px;
108+
line-height: 60px;
109+
margin-bottom: 10px; }
110+
.load-more:hover {
111+
text-decoration: none;
112+
background: rgba(0, 0, 0, 0.1); }
113+
114+
.posts .spinner-container{
115+
position: relative;
116+
height: 100px;
117+
}
118+
119+
.jumbotron{
120+
text-align: center;
121+
}
122+
.jumbotron h2{
123+
font-size: 60px;
124+
font-weight: 100;
125+
}
126+
127+
@-webkit-keyframes fadeOut {
128+
0% {opacity: 0;}
129+
10% {opacity: 1;}
130+
90% {opacity: 1;}
131+
100% {opacity: 0;}
132+
}
133+
134+
@keyframes fadeOut {
135+
0% {opacity: 0;}
136+
10% {opacity: 1;}
137+
90% {opacity: 1;}
138+
100% {opacity: 0;}
139+
}
140+
141+
.errors{
142+
position: fixed;
143+
z-index: 10000;
144+
padding: 10px;
145+
top: 0px;
146+
left: 0px;
147+
right: 0px;
148+
bottom: 0px;
149+
pointer-events: none;
150+
}
151+
.alert {
152+
animation: fadeOut 2700ms ease-in 0s 1 forwards;
153+
-webkit-animation: fadeOut 2700ms ease-in 0s 1 forwards;
154+
-moz-animation: fadeOut 2700ms ease-in 0s 1 forwards;
155+
width: 250px;
156+
float: right;
157+
clear: both;
158+
margin-bottom: 5px;
159+
pointer-events: auto;
160+
}

‎microscope.css

-1
This file was deleted.

‎microscope.html

-13
This file was deleted.

‎microscope.js

-19
This file was deleted.

0 commit comments

Comments
 (0)