tangled
alpha
login
or
join now
devins.page
/
dev.css
tiny, simple, classless CSS framework inspired by new.css
devcss.devins.page
framework
lightweight
css
classless
stylesheet
1
fork
atom
overview
issues
pulls
pipelines
feat: better sidebar mode detection
devins.page
2 years ago
a1127ec8
13d9bb8a
+6
-7
1 changed file
expand all
collapse all
unified
split
dev.css
+6
-7
dev.css
···
184
margin-bottom: 0;
185
}
186
187
-
@media (max-width: 1424px) {
188
header {
189
background: var(--dc-bg-2);
190
border-bottom: 1px solid var(--dc-bg-3);
···
240
}
241
}
242
243
-
@media (min-width: 1425px) {
244
header {
245
-
background: none;
246
-
padding: 2rem 1.5rem;
247
margin: 0;
248
position: fixed;
249
top: 0;
250
-
left: calc(50% - 700px);
251
-
width: 255px;
252
-
height: 100%;
253
}
254
255
header nav {
···
184
margin-bottom: 0;
185
}
186
187
+
@media (max-width: calc(-1px + (750px + 4rem) + ((250px + 2rem)*2))) {
188
header {
189
background: var(--dc-bg-2);
190
border-bottom: 1px solid var(--dc-bg-3);
···
240
}
241
}
242
243
+
@media (min-width: calc((750px + 4rem) + ((250px + 2rem)*2))) {
244
header {
245
+
padding: 2rem 2rem;
246
+
padding-right: 0;
247
margin: 0;
248
position: fixed;
249
top: 0;
250
+
left: calc(50% - ((750px + 4rem) / 2) - (250px + 2rem));
251
+
width: 250px;
0
252
}
253
254
header nav {