Skip to content

Commit e503f87

Browse files
committed
more css
1 parent 6888322 commit e503f87

File tree

5 files changed

+770
-0
lines changed

5 files changed

+770
-0
lines changed

markdown1.css

Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
1+
body{
2+
background: #000;
3+
font-family: Georgia, Palatino, serif;
4+
color: #EEE;
5+
line-height: 1;
6+
padding: 30px;
7+
margin:auto;
8+
max-width:42em;
9+
}
10+
h1, h2, h3, h4 {
11+
font-weight: 400;
12+
}
13+
h1, h2, h3, h4, h5, p {
14+
margin-bottom: 24px;
15+
padding: 0;
16+
}
17+
h1 {
18+
font-size: 48px;
19+
}
20+
h2 {
21+
font-size: 36px;
22+
margin: 24px 0 6px;
23+
}
24+
h3 {
25+
font-size: 24px;
26+
}
27+
h4 {
28+
font-size: 21px;
29+
}
30+
h5 {
31+
font-size: 18px;
32+
}
33+
a {
34+
color: #61BFC1;
35+
margin: 0;
36+
padding: 0;
37+
text-decoration: none;
38+
vertical-align: baseline;
39+
}
40+
a:hover {
41+
text-decoration: underline;
42+
}
43+
a:visited {
44+
color: #466B6C;
45+
}
46+
ul, ol {
47+
padding: 0;
48+
margin: 0;
49+
}
50+
li {
51+
line-height: 24px;
52+
}
53+
li ul, li ul {
54+
margin-left: 24px;
55+
}
56+
p, ul, ol {
57+
font-size: 16px;
58+
line-height: 24px;
59+
max-width: 540px;
60+
}
61+
pre {
62+
padding: 0px 24px;
63+
max-width: 800px;
64+
white-space: pre-wrap;
65+
}
66+
code {
67+
font-family: Consolas, Monaco, Andale Mono, monospace;
68+
line-height: 1.5;
69+
font-size: 13px;
70+
}
71+
aside {
72+
display: block;
73+
float: right;
74+
width: 390px;
75+
}
76+
blockquote {
77+
border-left:.5em solid #eee;
78+
padding: 0 2em;
79+
margin-left:0;
80+
max-width: 476px;
81+
}
82+
blockquote cite {
83+
font-size:14px;
84+
line-height:20px;
85+
color:#bfbfbf;
86+
}
87+
blockquote cite:before {
88+
content: '\2014 \00A0';
89+
}
90+
91+
blockquote p {
92+
color: #666;
93+
max-width: 460px;
94+
}
95+
hr {
96+
width: 540px;
97+
text-align: left;
98+
margin: 0 auto 0 0;
99+
color: #999;
100+
}
101+
102+
/* Code below this line is copyright Twitter Inc. */
103+
104+
button,
105+
input,
106+
select,
107+
textarea {
108+
font-size: 100%;
109+
margin: 0;
110+
vertical-align: baseline;
111+
*vertical-align: middle;
112+
}
113+
button, input {
114+
line-height: normal;
115+
*overflow: visible;
116+
}
117+
button::-moz-focus-inner, input::-moz-focus-inner {
118+
border: 0;
119+
padding: 0;
120+
}
121+
button,
122+
input[type="button"],
123+
input[type="reset"],
124+
input[type="submit"] {
125+
cursor: pointer;
126+
-webkit-appearance: button;
127+
}
128+
input[type=checkbox], input[type=radio] {
129+
cursor: pointer;
130+
}
131+
/* override default chrome & firefox settings */
132+
input:not([type="image"]), textarea {
133+
-webkit-box-sizing: content-box;
134+
-moz-box-sizing: content-box;
135+
box-sizing: content-box;
136+
}
137+
138+
input[type="search"] {
139+
-webkit-appearance: textfield;
140+
-webkit-box-sizing: content-box;
141+
-moz-box-sizing: content-box;
142+
box-sizing: content-box;
143+
}
144+
input[type="search"]::-webkit-search-decoration {
145+
-webkit-appearance: none;
146+
}
147+
label,
148+
input,
149+
select,
150+
textarea {
151+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
152+
font-size: 13px;
153+
font-weight: normal;
154+
line-height: normal;
155+
margin-bottom: 18px;
156+
}
157+
input[type=checkbox], input[type=radio] {
158+
cursor: pointer;
159+
margin-bottom: 0;
160+
}
161+
input[type=text],
162+
input[type=password],
163+
textarea,
164+
select {
165+
display: inline-block;
166+
width: 210px;
167+
padding: 4px;
168+
font-size: 13px;
169+
font-weight: normal;
170+
line-height: 18px;
171+
height: 18px;
172+
color: #808080;
173+
border: 1px solid #ccc;
174+
-webkit-border-radius: 3px;
175+
-moz-border-radius: 3px;
176+
border-radius: 3px;
177+
}
178+
select, input[type=file] {
179+
height: 27px;
180+
line-height: 27px;
181+
}
182+
textarea {
183+
height: auto;
184+
}
185+
186+
/* grey out placeholders */
187+
:-moz-placeholder {
188+
color: #bfbfbf;
189+
}
190+
::-webkit-input-placeholder {
191+
color: #bfbfbf;
192+
}
193+
194+
input[type=text],
195+
input[type=password],
196+
select,
197+
textarea {
198+
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
199+
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
200+
transition: border linear 0.2s, box-shadow linear 0.2s;
201+
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
202+
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
203+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
204+
}
205+
input[type=text]:focus, input[type=password]:focus, textarea:focus {
206+
outline: none;
207+
border-color: rgba(82, 168, 236, 0.8);
208+
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
209+
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
210+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
211+
}
212+
213+
/* buttons */
214+
button {
215+
display: inline-block;
216+
padding: 4px 14px;
217+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
218+
font-size: 13px;
219+
line-height: 18px;
220+
-webkit-border-radius: 4px;
221+
-moz-border-radius: 4px;
222+
border-radius: 4px;
223+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
224+
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
225+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
226+
background-color: #0064cd;
227+
background-repeat: repeat-x;
228+
background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
229+
background-image: -moz-linear-gradient(top, #049cdb, #0064cd);
230+
background-image: -ms-linear-gradient(top, #049cdb, #0064cd);
231+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
232+
background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);
233+
background-image: -o-linear-gradient(top, #049cdb, #0064cd);
234+
background-image: linear-gradient(top, #049cdb, #0064cd);
235+
color: #fff;
236+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
237+
border: 1px solid #004b9a;
238+
border-bottom-color: #003f81;
239+
-webkit-transition: 0.1s linear all;
240+
-moz-transition: 0.1s linear all;
241+
transition: 0.1s linear all;
242+
border-color: #0064cd #0064cd #003f81;
243+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
244+
}
245+
button:hover {
246+
color: #fff;
247+
background-position: 0 -15px;
248+
text-decoration: none;
249+
}
250+
button:active {
251+
-webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
252+
-moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
253+
box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
254+
}
255+
button::-moz-focus-inner {
256+
padding: 0;
257+
border: 0;
258+
}
259+

0 commit comments

Comments
 (0)