@intergrav/dev.css 2.0.3 → 2.0.5
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.
- package/demo.html +4 -2
- package/dev.css +6 -7
- package/package.json +1 -1
package/demo.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>dev.css
|
|
6
|
+
<title>Home · intergrav/dev.css</title>
|
|
7
7
|
<link
|
|
8
8
|
rel="stylesheet"
|
|
9
9
|
href="https://cdn.jsdelivr.net/npm/@intergrav/dev.css@2"
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
|
|
21
21
|
<body>
|
|
22
22
|
<header>
|
|
23
|
-
<
|
|
23
|
+
<h4>intergrav/dev.css</h4>
|
|
24
|
+
<h1>Home</h1>
|
|
25
|
+
<p>This is the demo page for dev.css.</p>
|
|
24
26
|
<nav>
|
|
25
27
|
<a href="">Home</a>
|
|
26
28
|
<a href="">About</a>
|
package/dev.css
CHANGED
|
@@ -184,7 +184,7 @@ blockquote *:last-child {
|
|
|
184
184
|
margin-bottom: 0;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
@media (max-width:
|
|
187
|
+
@media (max-width: calc(-1px + (750px + 4rem) + ((250px + 2rem)*2))) {
|
|
188
188
|
header {
|
|
189
189
|
background: var(--dc-bg-2);
|
|
190
190
|
border-bottom: 1px solid var(--dc-bg-3);
|
|
@@ -240,16 +240,15 @@ blockquote *:last-child {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
@media (min-width:
|
|
243
|
+
@media (min-width: calc((750px + 4rem) + ((250px + 2rem)*2))) {
|
|
244
244
|
header {
|
|
245
|
-
|
|
246
|
-
padding:
|
|
245
|
+
padding: 2rem 2rem;
|
|
246
|
+
padding-right: 0;
|
|
247
247
|
margin: 0;
|
|
248
248
|
position: fixed;
|
|
249
249
|
top: 0;
|
|
250
|
-
left: calc(50% -
|
|
251
|
-
width:
|
|
252
|
-
height: 100%;
|
|
250
|
+
left: calc(50% - ((750px + 4rem) / 2) - (250px + 2rem));
|
|
251
|
+
width: 250px;
|
|
253
252
|
}
|
|
254
253
|
|
|
255
254
|
header nav {
|
package/package.json
CHANGED