Skip to content

Commit c4deebd

Browse files
committed
chore: add css and favicon.png
1 parent 1178145 commit c4deebd

File tree

2 files changed

+203
-0
lines changed

2 files changed

+203
-0
lines changed
Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
body,
2+
html {
3+
font-family: Verdana;
4+
font-size: 13px;
5+
height: 100%
6+
}
7+
ul {
8+
list-style-type: none;
9+
padding: 0;
10+
margin: 0
11+
}
12+
a {
13+
color: #000;
14+
cursor: pointer;
15+
text-decoration: none
16+
}
17+
#wrapper {
18+
background-color: #f6f6ef;
19+
width: 85%;
20+
min-height: 80px;
21+
margin: 0 auto
22+
}
23+
#header,
24+
#wrapper {
25+
position: relative
26+
}
27+
#header {
28+
background-color: #f60;
29+
height: 24px
30+
}
31+
#header h1 {
32+
font-weight: 700;
33+
font-size: 13px;
34+
display: inline-block;
35+
vertical-align: middle;
36+
margin: 0
37+
}
38+
#header .source {
39+
color: #fff;
40+
font-size: 11px;
41+
position: absolute;
42+
top: 4px;
43+
right: 4px
44+
}
45+
#header .source a {
46+
color: #fff
47+
}
48+
#header .source a:hover {
49+
text-decoration: underline
50+
}
51+
#yc {
52+
border: 1px solid #fff;
53+
margin: 2px;
54+
display: inline-block
55+
}
56+
#yc,
57+
#yc img {
58+
vertical-align: middle
59+
}
60+
.view {
61+
position: absolute;
62+
background-color: #f6f6ef;
63+
width: 100%;
64+
-webkit-transition: opacity .2s ease;
65+
transition: opacity .2s ease;
66+
box-sizing: border-box;
67+
padding: 8px 20px
68+
}
69+
.view.v-enter,
70+
.view.v-leave {
71+
opacity: 0
72+
}
73+
@media screen and (max-width: 700px) {
74+
body,
75+
html {
76+
margin: 0
77+
}
78+
#wrapper {
79+
width: 100%
80+
}
81+
}
82+
.news-view {
83+
padding-left: 5px;
84+
padding-right: 15px
85+
}
86+
.news-view.loading:before {
87+
content: "Loading...";
88+
position: absolute;
89+
top: 16px;
90+
left: 20px
91+
}
92+
.news-view .nav {
93+
padding: 10px 10px 10px 40px;
94+
margin-top: 10px;
95+
border-top: 2px solid #f60
96+
}
97+
.news-view .nav a {
98+
margin-right: 10px
99+
}
100+
.news-view .nav a:hover {
101+
text-decoration: underline
102+
}
103+
.item {
104+
padding: 2px 0 2px 40px;
105+
position: relative;
106+
-webkit-transition: background-color .2s ease;
107+
transition: background-color .2s ease
108+
}
109+
.item p {
110+
margin: 2px 0
111+
}
112+
.item .index,
113+
.item .title:visited {
114+
color: #828282
115+
}
116+
.item .index {
117+
position: absolute;
118+
width: 30px;
119+
text-align: right;
120+
left: 0;
121+
top: 4px
122+
}
123+
.item .domain,
124+
.item .subtext {
125+
font-size: 11px;
126+
color: #828282
127+
}
128+
.item .domain a,
129+
.item .subtext a {
130+
color: #828282
131+
}
132+
.item .subtext a:hover {
133+
text-decoration: underline
134+
}
135+
.item-view .item {
136+
padding-left: 0;
137+
margin-bottom: 30px
138+
}
139+
.item-view .item .index {
140+
display: none
141+
}
142+
.item-view .poll-options {
143+
margin-left: 30px;
144+
margin-bottom: 40px
145+
}
146+
.item-view .poll-options li {
147+
margin: 12px 0
148+
}
149+
.item-view .poll-options p {
150+
margin: 8px 0
151+
}
152+
.item-view .poll-options .subtext {
153+
color: #828282;
154+
font-size: 11px
155+
}
156+
.item-view .itemtext {
157+
color: #828282;
158+
margin-top: 0;
159+
margin-bottom: 30px
160+
}
161+
.item-view .itemtext p {
162+
margin: 10px 0
163+
}
164+
.comhead {
165+
font-size: 11px;
166+
margin-bottom: 8px
167+
}
168+
.comhead,
169+
.comhead a {
170+
color: #828282
171+
}
172+
.comhead a:hover {
173+
text-decoration: underline
174+
}
175+
.comhead .toggle {
176+
margin-right: 4px
177+
}
178+
.comment-content {
179+
margin: 0 0 16px 24px;
180+
word-wrap: break-word
181+
}
182+
.comment-content code {
183+
white-space: pre-wrap
184+
}
185+
.child-comments {
186+
margin: 8px 0 8px 22px
187+
}
188+
.user-view {
189+
color: #828282
190+
}
191+
.user-view li {
192+
margin: 5px 0
193+
}
194+
.user-view .label {
195+
display: inline-block;
196+
min-width: 60px
197+
}
198+
.user-view .about {
199+
margin-top: 1em
200+
}
201+
.user-view .links a {
202+
text-decoration: underline
203+
}
3.04 KB
Loading

0 commit comments

Comments
 (0)