@intergrav/dev.css 2.0.5 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dev.css +16 -18
  2. package/package.json +1 -1
package/dev.css CHANGED
@@ -238,35 +238,43 @@ blockquote *:last-child {
238
238
  margin-top: 0rem;
239
239
  margin-bottom: 0rem;
240
240
  }
241
+
242
+ header > *:first-child {
243
+ margin-top: 0;
244
+ padding-top: 0;
245
+ }
246
+
247
+ header > *:last-child {
248
+ margin-bottom: 0;
249
+ padding-bottom: 0;
250
+ }
241
251
  }
242
252
 
243
253
  @media (min-width: calc((750px + 4rem) + ((250px + 2rem)*2))) {
244
254
  header {
245
- padding: 2rem 2rem;
255
+ padding: 2rem;
246
256
  padding-right: 0;
247
257
  margin: 0;
248
258
  position: fixed;
249
259
  top: 0;
250
260
  left: calc(50% - ((750px + 4rem) / 2) - (250px + 2rem));
251
261
  width: 250px;
262
+ height: 100%;
263
+ overflow-y: auto;
252
264
  }
253
265
 
254
266
  header nav {
255
267
  display: flex;
256
268
  flex-direction: column;
269
+ border-top: 1px solid var(--dc-bg-3);
270
+ padding-top: 1rem;
271
+ margin-top: 0.5rem;
257
272
  }
258
273
 
259
274
  header nav a::before {
260
275
  content: "• ";
261
276
  color: var(--dc-tx-2);
262
277
  }
263
-
264
- header * {
265
- padding-top: 0.25rem;
266
- padding-bottom: 0.25rem;
267
- margin-top: 0rem;
268
- margin-bottom: 0rem;
269
- }
270
278
  }
271
279
 
272
280
  header h1,
@@ -278,16 +286,6 @@ header h6 {
278
286
  border-bottom: 0;
279
287
  }
280
288
 
281
- header > *:first-child {
282
- margin-top: 0;
283
- padding-top: 0;
284
- }
285
-
286
- header > *:last-child {
287
- margin-bottom: 0;
288
- padding-bottom: 0;
289
- }
290
-
291
289
  a button,
292
290
  button,
293
291
  input[type="submit"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intergrav/dev.css",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Extremely simple, small, classless CSS framework in the style of Vercel's Geist design system. Fork of xz/new.css.",
5
5
  "main": "dev.css",
6
6
  "repository": {