forked from adam-p/markdown-here
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
222 lines (184 loc) · 3.63 KB
/
main.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
/* apply a natural box layout model to all elements */
/* From: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
body {
background-image: url('../img/background.png');
background-repeat: repeat;
}
/* Set a max-width for horizontal fluid layout and make it centered */
/* This is overriding Bootstrap styles */
.container-fluid {
margin-right: auto;
margin-left: auto;
max-width: 950px;
}
.navbar img {
height: 24px;
vertical-align: bottom;
margin-right: 5px;
}
footer {
margin: 3em 1em 1em 1em;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto Slab', serif;
}
.browser-logo {
height: 1em;
vertical-align: text-top;
}
.quote-carousel .carousel {
margin-bottom: 0;
height: 5em;
overflow-y: auto;
}
.big-quote-mark {
font-size: 6em;
padding-top: 0.3em;
font-family: serif;
}
a.anchor {
text-decoration: none;
}
.donation-widgets > * {
vertical-align: middle;
margin: 1em 1em 1em 1em;
}
.donation-disclosure {
font-size: 0.6em;
}
.donation-cryptocoin-address {
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}
/*
* Live demo styles
*/
.livedemo-elem-title {
white-space: nowrap;
margin-right: 1em;
margin-left: 1em;
}
.livedemo textarea {
font-size: 0.8em;
line-height: 1.3em;
resize: vertical;
width: 100%;
height: 100%;
padding: 0.3em;
min-height: 25em;
margin: 0;
}
.livedemo-elem {
box-shadow: 2px 2px 3px rgba(0, 0, 0, .2);
margin: 0.3em;
border: thin solid lightGray;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.livedemo-raw {
width: 100%;
padding: 0;
}
.livedemo-rendered {
font-size: 0.8em;
background-color: white;
overflow-y: scroll;
padding: 0.3em;
}
.livedemo, .livedemo-rendered h1, .livedemo-rendered h2, .livedemo-rendered h3,
.livedemo-rendered h4, .livedemo-rendered h5, .livedemo-rendered h6,
.livedemo textarea {
font-family: Arial, sans-serif;
}
.livedemo-rendered h1 {
font-size: 1.6em;
}
.livedemo-rendered h2 {
font-size: 1.4em;
border-bottom: 1px solid #CCC;
}
.livedemo-rendered h3 {
font-size: 1.3em;
}
.livedemo-rendered h4 {
font-size: 1.2em;
}
.livedemo-rendered h5 {
font-size: 1em;
}
.livedemo-rendered h6 {
font-size: 1em;
color: #777;
}
pre, code {
font-size: 0.85em;
font-family: Consolas, Inconsolata, Courier, monospace;
}
code {
margin: 0 0.15em;
padding: 0 0.3em;
white-space: nowrap;
border: 1px solid #EAEAEA;
background-color: #F8F8F8;
border-radius: 3px;
display: inline; /* adam-p: added to fix Yahoo block display */
}
pre {
margin: 1.2em 0;
font-size: 1em;
line-height: 1.2em;
overflow: auto;
/* added to overcome Bootstrap styling */
padding: 0;
border: 0;
}
pre code {
white-space: pre;
border-radius: 3px;
border: 1px solid #CCC;
padding: 0.5em 0.7em;
}
.livedemo table {
margin: 1.2em 0;
padding: 0;
border-collapse: collapse;
border-spacing: 0;
font-size: 1em;
font: inherit;
border: 0;
}
.livedemo tbody {
margin: 0;
padding: 0;
border: 0;
}
.livedemo table tr {
border: 0;
border-top: 1px solid #CCC;
background-color: white;
margin: 0;
padding: 0;
}
.livedemo table tr:nth-child(2n) {
background-color: #F8F8F8;
}
.livedemo table tr th, .livedemo table tr td {
font-size: 1em;
border: 1px solid #CCC;
margin: 0;
padding: 0.5em 1em;
}
.livedemo table tr th {
font-weight: bold;
background-color: #F0F0F0;
}
.livedemo table tr td[align="right"] {
text-align: right;
}
.livedemo table tr td[align="left"] {
text-align: left;
}
.livedemo table tr td[align="center"] {
text-align: center;
}