3d6a8fa7c27da24c48b4492d91123dc991fc4829
[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.5em;
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 {
20 margin-left: 2em;
21 }
22
23 .sidebar {
24 font-size: .9em;
25 float: right;
26 background: #f0f0f0;
27 border-bottom-left-radius: 10px;
28 padding: 0;
29 width: auto;
30 min-width: 200px;
31 padding-right: 1em;
32 }
33 .sidebar>ul {
34 }
35 .sidebar ul {
36 margin-left: 1em;
37 margin-top: .5em;
38 padding: 0;
39 list-style-type: none;
40 }
41
42 .sidebar .edit {
43 display: block;
44 position: absolute;
45 top: 2em;
46 right: 0.5em;
47 -webkit-transform: rotate(45deg);
48 transform: rotate(45deg);
49 text-decoration: none;
50 color: white;
51 font-weight: bold;
52 text-shadow: 0 0 5px red;
53 }
54
55 code {
56 display: inline-block;
57 border-radius: 2px;
58 padding: 0px 2px 2px 2px;
59 background: #e0e0e0;
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 padding: 1em;
74 }
75 pre>code, pre>code code {
76 background: #333;
77 color: #eee;
78 }
79
80 p, pre {
81 margin: 1em 2em 2em 2em;
82 }
83
84 li>p {
85 margin: 1em 0;
86 }
87
88 blockquote {
89 border-top: 1px solid #800000;
90 border-bottom: 1px solid #800000;
91 background: #ffe4e1;
92 margin: 2em 0;
93 }
94
95 ul {
96 margin-bottom: 2em;
97 }
98 li {
99 margin-bottom: .5em;
100 }
101 a, h1 code>a {
102 color: #2f4f4f;
103 }
104 a:hover {
105 text-decoration: none;
106 }
107
108 .var {
109 color: #800000;
110 }
111 .constant {
112 color: #2e8b57;
113 }
114
115 h1 {
116 line-height: 1.5;
117 }
118 h1 code {
119 font-weight: normal;
120 font-size: .9em;
121 line-height: 1.33;
122 }
123
124 footer, h1, li h3, th {
125 background: #708090;
126 color: #f5f5dc;
127 }
128
129 footer, h1 {
130 margin: 0;
131 padding: 1em;
132 }
133
134 li h3 {
135 border-radius: 4px;
136 display: inline-block;
137 width: auto;
138 padding: .2em;
139 margin: .5em 0 0 0;
140 }
141
142 h1 .constant, pre>code .consant, li h3 .constant {
143 color: #98fb98;
144 }
145
146 h1 .var, pre>code .var, li h3 .var {
147 color: #f4a460;
148 }
149
150 footer a, h1 a, pre>code a, li h3 a {
151 color: #b0e0e6;
152 }
153
154 li h3 a {
155 text-decoration: none;
156 }
157 li h3 a:hover {
158 text-decoration: underline;
159 }
160
161 #disqus_thread {
162 margin-top: 8em;
163 margin-right: 2em;
164 }
165
166 footer {
167 font-size: smaller;
168 text-align: center;
169 clear: both;
170 position: fixed;
171 bottom: 0;
172 width: 100%;
173 padding: 0;
174 }
175
176 footer ul {
177 margin: 0;
178 padding: 1em 0;
179 }
180
181 footer li {
182 list-style-type: none;
183 display: inline-block;
184 margin: 0 1em;
185 }
186
187 footer a {
188 text-decoration: none;
189 }
190
191 footer a:hover {
192 text-decoration: underline;
193 }
194
195 table {
196 border-collapse: collapse;
197 }
198 th, td {
199 padding: .4em;
200 }
201
202 h1, footer, table, .sidebar, pre>code, li h3 {
203 box-shadow: 0 0 4px #708090;
204 }