Elgg  Version 3.0
reset.css.php
Go to the documentation of this file.
1 <?php
6 // https://necolas.github.io/normalize.css/
7 echo elgg_view('normalize.css');
8 
9 ?>
10 /* <style> /**/
11 
12 /* Some of the reset concepts borrowed from https://bulma.io/ */
13 html,
14 body,
15 p,
16 ol,
17 ul,
18 li,
19 dl,
20 dt,
21 dd,
22 blockquote,
23 figure,
24 fieldset,
25 legend,
26 textarea,
27 pre,
28 iframe,
29 hr,
30 h1,
31 h2,
32 h3,
33 h4,
34 h5,
35 h6 {
36  margin: 0;
37  padding: 0;
38 }
39 
40 h1,
41 h2,
42 h3,
43 h4,
44 h5,
45 h6 {
46  font-size: 100%;
47  font-weight: normal;
48 }
49 
50 html {
51  -webkit-box-sizing: border-box;
52  box-sizing: border-box;
53 }
54 
55 * {
56  -webkit-box-sizing: inherit;
57  box-sizing: inherit;
58 }
59 
60 *:before, *:after {
61  -webkit-box-sizing: inherit;
62  box-sizing: inherit;
63 }
64 
65 img,
66 embed,
67 object,
68 audio,
69 video {
70  max-width: 100%;
71 }
72 
73 iframe {
74  border: 0;
75 }
76 
77 table {
78  border-collapse: collapse;
79  border-spacing: 0;
80 }
81 
82 td,
83 th {
84  padding: 0;
85  text-align: left;
86 }
87 
88 html {
89  background-color: white;
90  font-size: $(font-size);
91  -moz-osx-font-smoothing: grayscale;
92  -webkit-font-smoothing: antialiased;
93  min-width: 300px;
94  overflow-x: hidden;
95  overflow-y: scroll;
96  text-rendering: optimizeLegibility;
97  -webkit-text-size-adjust: 100%;
98  -moz-text-size-adjust: 100%;
99  -ms-text-size-adjust: 100%;
100  text-size-adjust: 100%;
101 }
102 
103 article,
104 aside,
105 figure,
106 footer,
107 header,
108 hgroup,
109 section {
110  display: block;
111 }
112 
113 body,
114 button,
115 input,
116 select,
117 textarea {
118  font-family: $(font-family);
119 
120 }
121 
122 code,
123 pre {
124  -moz-osx-font-smoothing: auto;
125  -webkit-font-smoothing: auto;
126  font-family: monospace;
127 }
128 
129 body {
130  color: $(text-color-strong);
131  background: $(body-background-color);
132  font-size: 1rem;
133  font-weight: 400;
134  line-height: 1.5;
135 }
136 
137 a {
138  cursor: pointer;
139  text-decoration: none;
140 }
141 
142 a strong {
143  color: currentColor;
144 }
145 
146 code {
147  background-color: $(background-color-soft);
148  color: #ff3860;
149  font-size: 0.875em;
150  font-weight: normal;
151  padding: 0.25em 0.5em 0.25em;
152 }
153 
154 hr {
155  background-color: $(border-color-mild);
156  border: none;
157  display: block;
158  height: 1px;
159  margin: 1.5rem 0;
160 }
161 
162 img {
163  height: auto;
164  max-width: 100%;
165 }
166 
167 input[type="checkbox"],
168 input[type="radio"] {
169  vertical-align: baseline;
170 }
171 
172 small {
173  font-size: 0.875em;
174 }
175 
176 span {
177  font-style: inherit;
178  font-weight: inherit;
179 }
180 
181 pre {
182  -webkit-overflow-scrolling: touch;
183  background-color: $(background-color-soft);
184  color: $(text-color-strong);
185  font-size: 0.875em;
186  overflow-x: auto;
187  padding: 1.25rem 1.5rem;
188  white-space: pre;
189  word-wrap: normal;
190 }
191 
192 pre code {
193  background-color: transparent;
194  color: currentColor;
195  font-size: 1em;
196  padding: 0;
197 }
198 
199 table td,
200 table th {
201  text-align: left;
202  vertical-align: top;
203 }
204 
205 table th {
206  color: #363636;
207 }
208 
209 /* Elgg Reset /**/
210 ol, ul {
211  list-style: none;
212 }
213 
214 em, i {
215  font-style: italic;
216 }
217 
218 ins {
219  text-decoration: none;
220 }
221 
222 strike, del {
223  text-decoration: line-through;
224 }
225 
226 strong, b {
227  font-weight: $(font-bold-weight);
228 }
229 
230 table {
231  border-collapse: collapse;
232  border-spacing: 0;
233 }
234 
235 caption, th, td {
236  text-align: left;
237  font-weight: normal;
238  vertical-align: top;
239 }
240 
241 blockquote:before, blockquote:after,
242 q:before, q:after {
243  content: "";
244 }
245 
246 blockquote, q {
247  quotes: "" "";
248 }
249 
250 a {
251  text-decoration: none;
252 }
253 
254 button::-moz-focus-inner,
255 input::-moz-focus-inner {
256  border: 0;
257  padding: 0;
258 }
259 
260 [hidden] {
261  display: none !important;
262 }
263 
264 fieldset {
265  border: none;
266  min-width: 0; /* override -webkit-min-content */
267 }
b Accompany it with a written valid for at least three to give any third for a charge no more than your cost of physically performing source a complete machine readable copy of the corresponding source code
Definition: LICENSE.txt:193
elgg inherit
Definition: elgglib.js:254
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246