minima-rock 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,262 +1,262 @@
1
- /**
2
- * Reset some basic elements
3
- */
4
- body, h1, h2, h3, h4, h5, h6,
5
- p, blockquote, pre, hr,
6
- dl, dd, ol, ul, figure {
7
- margin: 0;
8
- padding: 0;
9
-
10
- }
11
-
12
-
13
-
14
- /**
15
- * Basic styling
16
- */
17
- body {
18
- font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
19
- color: $text-color;
20
- background-color: $background-color;
21
- -webkit-text-size-adjust: 100%;
22
- -webkit-font-feature-settings: "kern" 1;
23
- -moz-font-feature-settings: "kern" 1;
24
- -o-font-feature-settings: "kern" 1;
25
- font-feature-settings: "kern" 1;
26
- font-kerning: normal;
27
- display: flex;
28
- min-height: 100vh;
29
- flex-direction: column;
30
- }
31
-
32
-
33
-
34
- /**
35
- * Set `margin-bottom` to maintain vertical rhythm
36
- */
37
- h1, h2, h3, h4, h5, h6,
38
- p, blockquote, pre,
39
- ul, ol, dl, figure,
40
- %vertical-rhythm {
41
- margin-bottom: $spacing-unit / 2;
42
- }
43
-
44
- strong {
45
- color: white;
46
- }
47
-
48
- /**
49
- * `main` element
50
- */
51
- main {
52
- display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
53
- }
54
-
55
-
56
-
57
- /**
58
- * Images
59
- */
60
- img {
61
- max-width: 100%;
62
- vertical-align: middle;
63
- }
64
-
65
-
66
-
67
- /**
68
- * Figures
69
- */
70
- figure > img {
71
- display: block;
72
- }
73
-
74
- figcaption {
75
- font-size: $small-font-size;
76
- }
77
-
78
-
79
-
80
- /**
81
- * Lists
82
- */
83
- ul, ol {
84
- margin-left: $spacing-unit;
85
- }
86
-
87
- li {
88
- > ul,
89
- > ol {
90
- margin-bottom: 0;
91
- }
92
- }
93
-
94
-
95
-
96
- /**
97
- * Headings
98
- */
99
- h1, h2, h3, h4, h5, h6 {
100
- color: gold;
101
- font-weight: $base-font-weight;
102
- }
103
-
104
-
105
-
106
- /**
107
- * Links
108
- */
109
- a {
110
- color: $brand-color;
111
- text-decoration: none;
112
-
113
- &:visited {
114
- color: darken($brand-color, 10%);
115
- }
116
-
117
- &:hover {
118
- color: $text-color;
119
- text-decoration: underline;
120
- }
121
-
122
- .social-media-list &:hover {
123
- text-decoration: none;
124
-
125
- .username {
126
- text-decoration: underline;
127
- }
128
- }
129
- }
130
-
131
-
132
- /**
133
- * Blockquotes
134
- */
135
- blockquote {
136
- color: $grey-color;
137
- border-left: 4px solid $grey-color-light;
138
- padding-left: $spacing-unit / 2;
139
- @include relative-font-size(1.125);
140
- letter-spacing: -1px;
141
- font-style: italic;
142
-
143
- > :last-child {
144
- margin-bottom: 0;
145
- }
146
- }
147
-
148
-
149
-
150
- /**
151
- * Code formatting
152
- */
153
- pre,
154
- code {
155
- font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
156
- @include relative-font-size(0.9375);
157
- background-color: darken($background-color, 6%);
158
- }
159
-
160
- code {
161
- padding: 1px 5px;
162
- color: tomato;
163
- }
164
-
165
- pre {
166
- border: 2px solid $grey-color-dark;
167
- border-radius: 3px;
168
- padding: 8px 12px;
169
- overflow-x: auto;
170
-
171
- > code {
172
- color: $text-color;
173
- border: 0;
174
- padding-right: 0;
175
- padding-left: 0;
176
- }
177
- }
178
-
179
-
180
-
181
- /**
182
- * Wrapper
183
- */
184
- .wrapper {
185
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
186
- max-width: calc(#{$content-width} - (#{$spacing-unit}));
187
- margin-right: auto;
188
- margin-left: auto;
189
- padding-right: $spacing-unit / 2;
190
- padding-left: $spacing-unit / 2;
191
- @extend %clearfix;
192
-
193
- @media screen and (min-width: $on-large) {
194
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
195
- max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
196
- padding-right: $spacing-unit;
197
- padding-left: $spacing-unit;
198
- }
199
- }
200
-
201
-
202
-
203
- /**
204
- * Clearfix
205
- */
206
- %clearfix:after {
207
- content: "";
208
- display: table;
209
- clear: both;
210
- }
211
-
212
-
213
-
214
- /**
215
- * Icons
216
- */
217
-
218
- .orange {
219
- color: $orange-color;
220
- }
221
-
222
- .grey {
223
- color: $grey-color;
224
- }
225
-
226
- .svg-icon {
227
- width: 16px;
228
- height: 16px;
229
- display: inline-block;
230
- fill: currentColor;
231
- padding: 5px 3px 2px 5px;
232
- vertical-align: text-bottom;
233
- }
234
-
235
-
236
- /**
237
- * Tables
238
- */
239
- table {
240
- margin-bottom: $spacing-unit;
241
- width: 100%;
242
- text-align: $table-text-align;
243
- color: lighten($text-color, 18%);
244
- border-collapse: collapse;
245
- border: 1px solid $grey-color-light;
246
- tr {
247
- &:nth-child(even) {
248
- background-color: lighten($background-color, 6%);
249
- }
250
- }
251
- th, td {
252
- padding: ($spacing-unit / 3) ($spacing-unit / 2);
253
- }
254
- th {
255
- background-color: lighten($background-color, 3%);
256
- border: 1px solid darken($grey-color-light, 4%);
257
- border-bottom-color: darken($grey-color-light, 12%);
258
- }
259
- td {
260
- border: 1px solid $grey-color-light;
261
- }
262
- }
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+
10
+ }
11
+
12
+
13
+
14
+ /**
15
+ * Basic styling
16
+ */
17
+ body {
18
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
19
+ color: $text-color;
20
+ background-color: $background-color;
21
+ -webkit-text-size-adjust: 100%;
22
+ -webkit-font-feature-settings: "kern" 1;
23
+ -moz-font-feature-settings: "kern" 1;
24
+ -o-font-feature-settings: "kern" 1;
25
+ font-feature-settings: "kern" 1;
26
+ font-kerning: normal;
27
+ display: flex;
28
+ min-height: 100vh;
29
+ flex-direction: column;
30
+ }
31
+
32
+
33
+
34
+ /**
35
+ * Set `margin-bottom` to maintain vertical rhythm
36
+ */
37
+ h1, h2, h3, h4, h5, h6,
38
+ p, blockquote, pre,
39
+ ul, ol, dl, figure,
40
+ %vertical-rhythm {
41
+ margin-bottom: $spacing-unit / 2;
42
+ }
43
+
44
+ strong {
45
+ color: white;
46
+ }
47
+
48
+ /**
49
+ * `main` element
50
+ */
51
+ main {
52
+ display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
53
+ }
54
+
55
+
56
+
57
+ /**
58
+ * Images
59
+ */
60
+ img {
61
+ max-width: 100%;
62
+ vertical-align: middle;
63
+ }
64
+
65
+
66
+
67
+ /**
68
+ * Figures
69
+ */
70
+ figure > img {
71
+ display: block;
72
+ }
73
+
74
+ figcaption {
75
+ font-size: $small-font-size;
76
+ }
77
+
78
+
79
+
80
+ /**
81
+ * Lists
82
+ */
83
+ ul, ol {
84
+ margin-left: $spacing-unit;
85
+ }
86
+
87
+ li {
88
+ > ul,
89
+ > ol {
90
+ margin-bottom: 0;
91
+ }
92
+ }
93
+
94
+
95
+
96
+ /**
97
+ * Headings
98
+ */
99
+ h1, h2, h3, h4, h5, h6 {
100
+ color: gold;
101
+ font-weight: $base-font-weight;
102
+ }
103
+
104
+
105
+
106
+ /**
107
+ * Links
108
+ */
109
+ a {
110
+ color: $brand-color;
111
+ text-decoration: none;
112
+
113
+ &:visited {
114
+ color: darken($brand-color, 10%);
115
+ }
116
+
117
+ &:hover {
118
+ color: $text-color;
119
+ text-decoration: underline;
120
+ }
121
+
122
+ .social-media-list &:hover {
123
+ text-decoration: none;
124
+
125
+ .username {
126
+ text-decoration: underline;
127
+ }
128
+ }
129
+ }
130
+
131
+
132
+ /**
133
+ * Blockquotes
134
+ */
135
+ blockquote {
136
+ color: $grey-color;
137
+ border-left: 4px solid $grey-color-light;
138
+ padding-left: $spacing-unit / 2;
139
+ @include relative-font-size(1.125);
140
+ letter-spacing: -1px;
141
+ font-style: italic;
142
+
143
+ > :last-child {
144
+ margin-bottom: 0;
145
+ }
146
+ }
147
+
148
+
149
+
150
+ /**
151
+ * Code formatting
152
+ */
153
+ pre,
154
+ code {
155
+ font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
156
+ @include relative-font-size(0.9375);
157
+ background-color: darken($background-color, 6%);
158
+ }
159
+
160
+ code {
161
+ padding: 1px 5px;
162
+ color: tomato;
163
+ }
164
+
165
+ pre {
166
+ border: 2px solid $grey-color-dark;
167
+ border-radius: 3px;
168
+ padding: 8px 12px;
169
+ overflow-x: auto;
170
+
171
+ > code {
172
+ color: $text-color;
173
+ border: 0;
174
+ padding-right: 0;
175
+ padding-left: 0;
176
+ }
177
+ }
178
+
179
+
180
+
181
+ /**
182
+ * Wrapper
183
+ */
184
+ .wrapper {
185
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
186
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
187
+ margin-right: auto;
188
+ margin-left: auto;
189
+ padding-right: $spacing-unit / 2;
190
+ padding-left: $spacing-unit / 2;
191
+ @extend %clearfix;
192
+
193
+ @media screen and (min-width: $on-large) {
194
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
195
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
196
+ padding-right: $spacing-unit;
197
+ padding-left: $spacing-unit;
198
+ }
199
+ }
200
+
201
+
202
+
203
+ /**
204
+ * Clearfix
205
+ */
206
+ %clearfix:after {
207
+ content: "";
208
+ display: table;
209
+ clear: both;
210
+ }
211
+
212
+
213
+
214
+ /**
215
+ * Icons
216
+ */
217
+
218
+ .orange {
219
+ color: $orange-color;
220
+ }
221
+
222
+ .grey {
223
+ color: $grey-color;
224
+ }
225
+
226
+ .svg-icon {
227
+ width: 16px;
228
+ height: 16px;
229
+ display: inline-block;
230
+ fill: currentColor;
231
+ padding: 5px 3px 2px 5px;
232
+ vertical-align: text-bottom;
233
+ }
234
+
235
+
236
+ /**
237
+ * Tables
238
+ */
239
+ table {
240
+ margin-bottom: $spacing-unit;
241
+ width: 100%;
242
+ text-align: $table-text-align;
243
+ color: lighten($text-color, 18%);
244
+ border-collapse: collapse;
245
+ border: 1px solid $grey-color-light;
246
+ tr {
247
+ &:nth-child(even) {
248
+ background-color: lighten($background-color, 6%);
249
+ }
250
+ }
251
+ th, td {
252
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
253
+ }
254
+ th {
255
+ background-color: lighten($background-color, 3%);
256
+ border: 1px solid darken($grey-color-light, 4%);
257
+ border-bottom-color: darken($grey-color-light, 12%);
258
+ }
259
+ td {
260
+ border: 1px solid $grey-color-light;
261
+ }
262
+ }