-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.css
62 lines (50 loc) · 1.1 KB
/
defaults.css
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
/*
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.w3.org/Archives/Public/public-whatwg-archive/2014May/0001.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;
}
button{
cursor: pointer;
}
/* default iframe borders are just ugly */
iframe{
border: 0;
}
* {
border-collapse: collapse;
}