forked from basscss/basscss
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbasscss.css
224 lines (162 loc) · 3.4 KB
/
basscss.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
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
/*
BASSCSS
Part reset, part boilerplate, part framework, all minimal.
BASSCSS is a small reset and collection of simple type and layout
classes that can be used as the basis for any web project.
Use it out of the box or as a base for a larger SASS project.
Contents:
1. Reset
2. Typography
a. Default Font Stack
b. Base Type Scale
c. Responsive Type Scale
d. Utilities
3. Layout
a. Margins
b. Padding
c. Display
d. Utilities
Made with love by Jxnblk
*/
body, h1, h2, h3, h4, h5, h6, dl, ol, ul, p,
button, input, select, textarea {
margin: 0; }
button, input, select, textarea {
font-family: inherit;
font-size: 100%; }
article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
display: block; }
body {
font-family: "Helvetica Neue", Helvetica, sans-serif;
line-height: 1.5;
font-weight: 400; }
h1, .h1 {
font-size: 2rem;
line-height: 1.25; }
h2, .h2 {
font-size: 1.5rem;
line-height: 1.25; }
h3, h4, h5, h6, dl, ol, ul, p, .p {
font-size: 1.125rem; }
small, .small {
font-size: .875rem; }
@media (min-width: 768px) {
.responsive .h1, .responsive.h1 {
font-size: 4rem; }
.responsive .h2, .responsive.h2 {
font-size: 2rem; }
.responsive .p, .responsive.p {
font-size: 1.25rem; }
.responsive .small, .responsive.small {
font-size: 1rem; } }
@media (min-width: 1024px) {
.responsive .h1, .responsive.h1 {
font-size: 6rem; }
.responsive .h2, .responsive.h2 {
font-size: 3rem; } }
strong, .bold {
font-weight: bold; }
.regular {
font-weight: normal; }
.caps {
text-transform: uppercase;
letter-spacing: .2em; }
.center {
text-align: center; }
.right-align {
text-align: right; }
.type-margins h1, .type-margins .h1 {
margin-bottom: 1rem; }
.type-margins h2, .type-margins .h2 {
margin-bottom: 1rem; }
.type-margins h3, .type-margins h4, .type-margins h5, .type-margins h6, .type-margins p, .type-margins dl, .type-margins ol, .type-margins ul {
margin-bottom: 1rem; }
.m1 {
margin: 1rem; }
.mt1 {
margin-top: 1rem; }
.mr1 {
margin-right: 1rem; }
.mb1 {
margin-bottom: 1rem; }
.ml1 {
margin-left: 1rem; }
.m2 {
margin: 2rem; }
.mt2 {
margin-top: 2rem; }
.mr2 {
margin-right: 2rem; }
.mb2 {
margin-bottom: 2rem; }
.ml2 {
margin-left: 2rem; }
.m3 {
margin: 3rem; }
.mt3 {
margin-top: 3rem; }
.mr3 {
margin-right: 3rem; }
.mb3 {
margin-bottom: 3rem; }
.ml3 {
margin-left: 3rem; }
.m4 {
margin: 4rem; }
.mt4 {
margin-top: 4rem; }
.mr4 {
margin-right: 4rem; }
.mb4 {
margin-bottom: 4rem; }
.ml4 {
margin-left: 4rem; }
.mxa {
margin-right: auto;
margin-left: auto; }
.p1 {
padding: 1rem; }
.px1 {
padding-right: 1rem;
padding-left: 1rem; }
.py1 {
padding-top: 1rem;
padding-bottom: 1rem; }
.p2 {
padding: 2rem; }
.px2 {
padding-right: 2rem;
padding-left: 2rem; }
.py2 {
padding-top: 2rem;
padding-bottom: 2rem; }
.p3 {
padding: 3rem; }
.px3 {
padding-right: 3rem;
padding-left: 3rem; }
.py3 {
padding-top: 3rem;
padding-bottom: 3rem; }
.p4 {
padding: 4rem; }
.px4 {
padding-right: 4rem;
padding-left: 4rem; }
.py4 {
padding-top: 4rem;
padding-bottom: 4rem; }
.inline {
display: inline; }
.block {
display: block; }
.inline-block {
display: inline-block; }
.clearfix {
overflow: hidden; }
.left {
float: left; }
.right {
float: right; }
.fit {
max-width: 100%; }