-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathhelpers.styl
More file actions
71 lines (57 loc) · 938 Bytes
/
helpers.styl
File metadata and controls
71 lines (57 loc) · 938 Bytes
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
//
// Helpers
// =================================================
// Alignment
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.text-justify {
text-align: justify;
}
.text-nowrap {
white-space: nowrap;
}
// Transformation
.text-lowercase {
text-transform: lowercase;
}
.text-uppercase {
text-transform: uppercase;
}
.text-capitalize {
text-transform: capitalize;
}
// Center-align a block level element.
.center-block {
display: block;
margin-left: auto;
margin-right: auto;
}
// Clearfix. http://nicolasgallagher.com/micro-clearfix-hack/
.clearfix {
clearfix();
}
.pullquote {
width: 45%;
&.left {
float: left;
margin-left: 5px;
margin-right: 10px;
}
&.right {
float: right;
margin-left: 10px;
margin-right: 5px;
}
}
.translation {
color: $grey-dark;
font-size: $font-size-small;
margin-top: -20px;
}