-
Notifications
You must be signed in to change notification settings - Fork 403
Expand file tree
/
Copy path_reset.scss
More file actions
81 lines (74 loc) · 1.32 KB
/
_reset.scss
File metadata and controls
81 lines (74 loc) · 1.32 KB
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
/*------------------------------------*\
$RESET
\*------------------------------------*/
/**
* A more considered reset; more of a restart...
* As per: csswizardry.com/2011/10/reset-restarted
*/
@if $global-border-box == true{
/**
* Let’s make the box model all nice, shall we...?
*/
*{
&,
&:before,
&:after{
@include vendor(box-sizing, border-box);
}
}
}
/**
* The usual...
*/
h1,h2,h3,h4,h5,h6,
p,blockquote,pre,
dl,dd,ol,ul,
form,fieldset,legend,
table,th,td,caption,
hr{
margin:0;
padding:0;
}
/**
* Give a help cursor to elements that give extra info on `:hover`.
*/
abbr[title],dfn[title]{
cursor:help;
}
/**
* Remove underlines from potentially troublesome elements.
*/
u,ins{
text-decoration:none;
}
/**
* Apply faux underline via `border-bottom`.
*/
ins{
border-bottom:1px solid;
}
/**
* So that `alt` text is visually offset if images don’t load.
*/
img{
font-style:italic;
}
/**
* Give form elements some cursor interactions...
* Use outline-none() a11y mixin on active, focus states of form elems.
*/
label,
input,
textarea,
button,
select,
option{
cursor:pointer;
}
.text-input:active,
.text-input:focus,
textarea:active,
textarea:focus{
cursor:text;
@include outline-none();
}