2af8a74dd7f931799b6ade96a8a966885774a175
[mdref/mdref] / public / index.css
1 * {
2 font-size: 99.9%;
3 }
4
5 body, code {
6 font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace;
7 }
8 body {
9 font-size: 1.1em;
10 margin: 0;
11 padding: 0;
12 padding-bottom: 5em;
13 color: #3f3f3f;
14 }
15
16 body>* {
17 margin-left: 1em;
18 }
19 body>ul, body>div>ul {
20 margin-left: 2em;
21 }
22
23 .sidebar {
24 float: right;
25 background: #f0f0f0;
26 border-bottom-left-radius: 10px;
27 padding: 0;
28 width: auto;
29 min-width: 200px;
30 padding-right: 1em;
31 }
32 .sidebar>ul {
33 }
34 .sidebar ul {
35 margin-left: 1em;
36 margin-top: .5em;
37 padding: 0;
38 list-style-type: none;
39 }
40
41 .sidebar .edit {
42 display: block;
43 position: absolute;
44 top: 2em;
45 right: 0.5em;
46 -webkit-transform: rotate(45deg);
47 transform: rotate(45deg);
48 text-decoration: none;
49 font-weight: bold;
50 text-shadow: 0 0 5px red;
51 }
52
53 .sidebar .edit a {
54 color: white !important;
55 }
56 code {
57 border-radius: 2px;
58 padding: 0px 2px 2px 2px;
59 background: #f0f0f0;
60 color: #606060;
61 box-shadow: 0 0 1px #999;
62 }
63
64 code code {
65 display: inline;
66 padding: 0;
67 background: transparent;
68 border: none;
69 box-shadow: none;
70 }
71
72 pre>code {
73 display: inline-block;
74 padding: 1em;
75 min-width: 50%;
76 }
77 pre>code, pre>code code {
78 background: #333;
79 color: #eee;
80 }
81
82 p, pre, table {
83 margin: 1em 2em 2em 2em;
84 }
85
86 li>p {
87 margin: 1em 0;
88 }
89
90 blockquote {
91 border-top: 1px solid #800000;
92 border-bottom: 1px solid #800000;
93 background: #ffe4e1;
94 margin: 2em 0;
95 }
96
97 ul {
98 margin-bottom: 2em;
99 }
100 li {
101 margin-bottom: .5em;
102 }
103 a, h1 code>a {
104 color: #2f4f4f;
105 }
106 a:hover {
107 text-decoration: none;
108 }
109 a[href^="http:"]:after, a[href^="https:"]:after {
110 content: " ⬈";
111 }
112
113 .var {
114 color: #800000;
115 }
116 .constant {
117 color: #2e8b57;
118 }
119
120 h1 {
121 line-height: 1.5;
122 }
123 h1 code {
124 font-weight: normal;
125 font-size: .9em;
126 line-height: 1.33;
127 }
128
129 footer, h1, li h3, th {
130 background: #708090;
131 color: #f5f5dc;
132 }
133
134 footer, h1 {
135 margin: 0;
136 padding: 1em;
137 }
138
139 li h3 {
140 border-radius: 4px;
141 display: inline-block;
142 width: auto;
143 padding: .2em;
144 margin: .5em 0 0 0;
145 }
146
147 body>h3, body>div>h3 {
148 margin-left: 2em;
149 }
150
151 h1 .constant, pre>code .consant, li h3 .constant {
152 color: #98fb98;
153 }
154
155 h1 .var, pre>code .var, li h3 .var {
156 color: #f4a460;
157 }
158
159 footer a, h1 a, pre>code a, li h3 a {
160 color: #b0e0e6;
161 }
162
163 li h3 a {
164 text-decoration: none;
165 }
166 li h3 a:hover {
167 text-decoration: underline;
168 }
169
170 #disqus_thread {
171 margin-top: 8em;
172 margin-right: 2em;
173 }
174
175 footer {
176 font-size: smaller;
177 text-align: center;
178 clear: both;
179 position: fixed;
180 bottom: 0;
181 width: 100%;
182 padding: 0;
183 }
184
185 footer ul {
186 margin: 0;
187 padding: 1em 0;
188 }
189
190 footer li {
191 list-style-type: none;
192 display: inline-block;
193 margin: 0 1em;
194 }
195
196 footer a {
197 text-decoration: none;
198 }
199
200 footer a:hover {
201 text-decoration: underline;
202 }
203
204 table {
205 border-collapse: collapse;
206 }
207 th, td {
208 padding: .4em;
209 }
210
211 h1, footer, table, .sidebar, pre>code, li h3 {
212 box-shadow: 0 0 4px #708090;
213 }