-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
304 lines (298 loc) · 16.9 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
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Browser Default Styles</title>
<meta name="description" content="Search against any element for standardized and default styles from all major rendering engines (WebKit, Blink, Gecko, Trident).">
<meta name="robots" content="index, follow">
<meta name="author" content="N. G. J. Shepherd">
<!-- Fetches -->
<link rel="preload" href="styles/global.css" as="style" crossorigin="anonymous">
<link rel="preload" href="styles/theme/darkmode.css" as="style" crossorigin="anonymous">
<link rel="preload" href="styles/theme/lightmode.css" as="style" crossorigin="anonymous">
<link rel="preload" href="scripts/css-defaults.js" as="script" crossorigin="anonymous">
<link rel="preload" href="scripts/main.js" as="script" crossorigin="anonymous">
<link rel="prefetch" href="scripts/behaviour.js" as="script" crossorigin="anonymous">
<!-- Open Graph -->
<meta property="og:title" content="Browser Default Styles">
<meta property="og:site_name" content="Browser Default Styles">
<meta property="og:url" content="https://browserdefaultstyles.com/">
<meta property="og:description" content="Search against any element for standardized and default styles from all major rendering engines (WebKit, Blink, Gecko, Trident).">
<meta property="og:type" content="website">
<meta property="og:image" content="https://browserdefaultstyles.com/icons/twitter-image-card-600x314.jpg">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@browserdefaultstyles">
<meta name="twitter:title" content="Browser Default Styles">
<meta name="twitter:image" content="https://browserdefaultstyles.com/icons/twitter-image-card-600x314.jpg" />
<meta name="twitter:description" content="Search against any element for standardized and default styles from all major rendering engines (WebKit, Blink, Gecko, Trident).">
<!-- Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
<link rel="mask-icon" href="icons/safari-pinned-tab.svg" color="#45ecb6">
<meta name="msapplication-TileColor" content="#292929">
<meta name="theme-color" content="#292929">
<link rel="manifest" href="/manifest.json">
<script src="service-worker/serviceWorker.js" async></script>
<link rel="stylesheet" href="styles/global.css" />
<link rel="stylesheet" href="styles/theme/darkmode.css" />
<link rel="stylesheet" href="styles/theme/lightmode.css" />
<script type="module" src="scripts/main.js" defer></script>
<script src="https://kit.fontawesome.com/d7c692687b.js" crossorigin="anonymous" async></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js" defer></script>
<script src="scripts/behaviour.js" defer></script>
<script src="scripts/browser-compatibility.js" defer></script>
</head>
<body>
<div class="content-wrapper">
<div class="header-wrapper">
<header class="header">
<hgroup class="u-center">
<h1><span class="u-accentColor">{</span> Browser Default Styles <span class="u-accentColor">}</span></h1>
<h4>/* Search elements, filter engines, find browser default styles */</h4>
<noscript>To use Browser Default Styles, please enable JavaScript</noscript>
</hgroup>
</header>
</div>
<div class="actions-wrapper">
<div class="actions">
<div class="logo">
<span class="u-accentColor">{</span> Browser Default Styles <span class="u-accentColor">}</span>
</div>
<div class="search u-hide">
<label for="search" class="search__label u-hide">Element search</label>
<input type="search" id="search" name="search" class="search__field" placeholder="Search for an element..." aria-label="Search for an element..." autocomplete="off"/>
<span></span>
</div>
<div class="filter u-hide">
<div class="filter__buttongroup u-tooltip-parent">
<button class="filter__button u-button" data-engine="blink">Blink</button>
<div class="filter__tooltip u-tooltip u-center">
<span><i class="fab fa-chrome"></i><small>Chrome</small></span>
<span><i class="fab fa-opera"></i><small>Opera</small></span>
<span><i class="fab fa-edge"></i><small>Edge</small></span>
<div class="u-tooltip__arrow u-tooltip__arrow--center u-tooltip__arrow--top"></div>
</div>
</div>
<div class="filter__buttongroup u-tooltip-parent">
<button class="filter__button u-button" data-engine="webkit">Webkit</button>
<div class="filter__tooltip u-tooltip u-center">
<span><i class="fab fa-safari"></i><small>Safari</small></span>
<div class="u-tooltip__arrow u-tooltip__arrow--center u-tooltip__arrow--top"></div>
</div>
</div>
<div class="filter__buttongroup u-tooltip-parent">
<button class="filter__button u-button" data-engine="gecko">Gecko</button>
<div class="filter__tooltip u-tooltip u-center">
<span><i class="fab fa-firefox"></i><small>Firefox</small></span>
<div class="u-tooltip__arrow u-tooltip__arrow--center u-tooltip__arrow--top"></div>
</div>
</div>
<div class="filter__buttongroup u-tooltip-parent">
<button class="filter__button u-button" data-engine="trident">Trident</button>
<div class="filter__tooltip u-tooltip u-center">
<span><i class="fab fa-internet-explorer"></i><small>Internet Explorer</small></span>
<div class="u-tooltip__arrow u-tooltip__arrow--center u-tooltip__arrow--top"></div>
</div>
</div>
</div>
</div>
</div>
<div class="results-wrapper">
<div class="results-meta">
<div class="filter-results-label">
<span></span>
<i class="fab fa-chrome"></i>
<i class="fab fa-firefox"></i>
<i class="fab fa-safari"></i>
<i class="fab fa-edge"></i>
<i class="fab fa-internet-explorer"></i>
<i class="fab fa-opera"></i>
</div>
<div class="filter-engine-styles u-hide">
<span class="blink-styles">
<input type="checkbox" id="blinkStyles" name="blink-styles" checked>
<label for="blinkStyles"><i class="fas fa-check-square"></i>Blink</label>
</span>
<span class="webkit-styles">
<input type="checkbox" id="webkitStyles" name="webkit-styles" checked>
<label for="webkitStyles"><i class="fas fa-check-square"></i>WebKit</label>
</span>
<span class="gecko-styles">
<input type="checkbox" id="geckoStyles" name="gecko-styles" checked>
<label for="geckoStyles"><i class="fas fa-check-square"></i>Gecko</label>
</span>
<span class="trident-styles">
<input type="checkbox" id="tridentStyles" name="trident-styles" checked>
<label for="tridentStyles"><i class="fas fa-check-square"></i>Trident</label>
</span>
</div>
</div>
<ul class="results"></ul>
<div class="results-share">
<div class="u-tooltip-parent">
<div class="results-share__tooltip u-tooltip--ghost u-tooltip--transition u-center">/* Copy */</div>
<span class="results-share__target results-share__wrapper u-hide" data-onclick="rippleEffect"></span>
</div>
</div>
</div>
<div class="ads-wrapper">
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CE7IK2QE&placement=browserdefaultstylescom" id="_carbonads_js"></script>
<style>
body {
padding-bottom: 300px;
}
.ads-wrapper {
position: absolute;
bottom: 80px;
left: 0;
right: 0;
}
#carbonads {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#carbonads {
margin: 20px auto;
display: flex;
max-width: 330px;
background-color: inherit;
box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1);
}
#carbonads a {
color: inherit;
text-decoration: none;
}
#carbonads a:hover {
color: inherit;
}
#carbonads span {
position: relative;
display: block;
overflow: hidden;
}
#carbonads .carbon-wrap {
display: flex;
}
.carbon-img {
display: block;
margin: 0;
line-height: 1;
}
.carbon-img img {
display: block;
}
.carbon-text {
font-size: 13px;
padding: 10px;
line-height: 1.5;
text-align: left;
}
.carbon-poweredby {
display: block;
padding: 8px 10px;
background: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, .025) 5px, hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 95%, .4);
text-align: center;
text-transform: uppercase;
letter-spacing: .5px;
font-weight: 600;
font-size: 9px;
line-height: 1;
}
@media(max-width : 768px) {
body {
padding-bottom: 215px;
}
.ads-wrapper {
bottom: 40px;
}
}
</style>
</div>
<div class="footer-wrapper">
<footer class="footer">
<div class="footer__left to-top"><i class="fas fa-chevron-up"></i></div>
<div class="footer__mid info">
<div class="u-center"><span class="u-accentColor">{</span> Browser Default Styles <span class="u-accentColor">}</span></div>
<div class="u-center">
<ul>
<li>Source code on <i class="fab fa-github"></i> <a href="https://github.com/UncaughtTypeError/Browser-Default-Styles" target="_blank" rel="noopener" title="Github">Github</a></li>
<li>Hosted on, and deployed by
<a href="https://netlify.com/" target="_blank" rel="noopener" title="Netlify">Netlify
<img class="u-light--hide" width="80" height="35" loading="lazy" alt="Netlify" src="https://www.netlify.com/img/global/badges/netlify-dark.svg"/>
<img class="u-dark--hide" width="80" height="35" loading="lazy" alt="Netlify" src="https://www.netlify.com/img/global/badges/netlify-light.svg"/>
</a>
</li>
</ul>
<p><small>• Browser Default Styles ver 1.6.0 •</small></p>
<p><small>• <a href="https://what-the-spec.com/" target="_blank" rel="noopener" title="What The Spec? Definitions on proposal stages for CSS, HTML & Javascript specifications">what-the-spec.com</a> •</small></p>
</div>
</div>
<div class="footer__right sources u-tooltip-parent">
Sources
<div class="sources__tooltip u-tooltip">
<strong>.sources</strong> {
<ul>
<li>blink: <a href="https://chromium.googlesource.com/chromium/blink/+/master/Source/core/css/html.css"
target="_blank"
rel="nofollow noreferrer noopener"
title="Source/core/css/html.css - chromium/blink - Git at Google">chromium.googlesource.com</a>;</li>
<li>webkit: <a href="https://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css"
target="_blank"
rel="nofollow noreferrer noopener"
title="html.css in webkit/trunk/Source/WebCore/css – WebKit">trac.webkit.org</a>;</li>
<li>firefox: <a href="https://dxr.mozilla.org/mozilla-central/source/layout/style/res/html.css"
target="_blank"
rel="nofollow noreferrer noopener"
title="html.css - DXR">dxr.mozilla.org</a>;</li>
<li>trident: <a href="https://web.archive.org/web/20170122223926/http://www.iecss.com/"
target="_blank"
rel="nofollow noreferrer noopener"
title="Internet Explorer UA Style Sheets">www.iecss.com</a>;</li>
<li>standards: <a href="https://html.spec.whatwg.org/multipage/rendering.html"
target="_blank"
rel="nofollow noreferrer noopener"
title="HTML Standard">html.spec.whatwg.org</a>;</li>
<li>elements: <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element"
target="_blank"
rel="nofollow noreferrer noopener"
title="HTML elements reference - HTML: Hypertext Markup Language | MDN">developer.mozilla.org</a>;</li>
<li>-browser-compatibility-data: <a href="https://github.com/mdn/browser-compat-data"
target="_blank"
rel="nofollow noreferrer noopener"
title="mdn/browser-compat-data: This repository contains compatibility data for Web technologies as displayed on MDN">github.com/mdn/browser-compat-data</a>;</li>
</ul>
}
<div class="u-tooltip__arrow u-tooltip__arrow--right u-tooltip__arrow--bottom"></div>
</div>
</div>
</footer>
</div>
</div>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebApplication",
"name": "Browser Default Styles",
"url": "https://browserdefaultstyles.com",
"description": "Search against any element for standardized and default styles from all major rendering engines (WebKit, Blink, Gecko, Trident).",
"applicationCategory": "Tool",
"genre": "tool",
"about": {
"@type": "Thing",
"description": "browser default styles, vendor default styles, user-agent default styles"
},
"browserRequirements": "Requires JavaScript. Requires HTML5.",
"softwareVersion": "1.0.0",
"softwareHelp": {
"@type": "CreativeWork",
"url": "https://browserdefaultstyles.com"
},
"operatingSystem": "All"
}
</script>
</body>
</html>