-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
152 lines (128 loc) · 5.21 KB
/
index.html
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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/*
http://www.paulirish.com/2012/box-sizing-border-box-ftw/
*/
*, *:before, *:after {
box-sizing: border-box;
/* if you really care about older browsers, add prefixed versions at your own risks */
}
/*
Repeating the background mostly makes sense in the <body>. Otherwise, people usually want the image and preferably its center (not the top-right corner)
*/
*:not(body) {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
/*
Makes the hidden attribute works even when an element is styled display: flex
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2014-May/254198.html
*/
[hidden] {
display: none !important;
}
html, body {
padding: 0;
margin: 0;
}
/*
In applications, there can be lists but HTML lists have bullet points and a bunch of useless styling attributes
*/
ul, ol, menu {
margin: 0;
padding: 0;
}
ul, menu {
list-style: none;
}
li {
margin: 0;
padding: 0;
}
/*
fairly classic thing to do
*/
.table-layout {
display: table;
}
.table-layout > * {
display: table-row;
}
.table-layout > * > *{
display: table-cell;
vertical-align: top;
}
* {
border-collapse: collapse;
}
</style>
<link href="css/normalize.css" rel="stylesheet">
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel = "stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<link href="css/application.css" rel="stylesheet">
<link href="css/tabs.css" rel="stylesheet">
<link href="css/home.css" rel="stylesheet">
<link href="css/activity.css" rel="stylesheet">
<link href="css/post-ad.css" rel="stylesheet">
<link href="css/recycling-center.css" rel="stylesheet">
<link href="css/search-results.css" rel="stylesheet">
<title>6element App - Sketch - Ants</title>
<script data-polyfill>
if (!String.prototype.startsWith) {
Object.defineProperty(String.prototype, 'startsWith', {
enumerable: false,
configurable: false,
writable: false,
value: function (searchString, position) {
position = position || 0;
return this.lastIndexOf(searchString, position) === position;
}
});
}
</script>
<script data-polyfill>
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
if (!Object.assign) {
Object.defineProperty(Object, 'assign', {
enumerable: false,
configurable: true,
writable: true,
value: function (target, firstSource) {
'use strict';
if (target === undefined || target === null) {
throw new TypeError('Cannot convert first argument to object');
}
var to = Object(target);
for (var i = 1; i < arguments.length; i++) {
var nextSource = arguments[i];
if (nextSource === undefined || nextSource === null) {
continue;
}
var keysArray = Object.keys(Object(nextSource));
for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) {
var nextKey = keysArray[nextIndex];
var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
if (desc !== undefined && desc.enumerable) {
to[nextKey] = nextSource[nextKey];
}
}
}
return to;
}
});
}
</script>
<!--
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
-->
<script defer src="app.js"></script>
</head>
<body>
</body>
</html>