Skip to content

Commit 7ae1f68

Browse files
Completely remove 'skeleton'
1 parent cdd7cb7 commit 7ae1f68

File tree

7 files changed

+53
-270
lines changed

7 files changed

+53
-270
lines changed

docs/main.less

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//@import 'skeleton-less/less/skeleton.less';
2-
@import 'less/skeleton.less';
31
@import 'less/mixins.less';
42
@import 'less/themes.less';
53
@import 'less/content.less';

less/base.less

+9-9
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ td:last-child {
9090
padding-right: 0;
9191
}
9292

93+
@media (min-width: @bp-larger-than-phablet) {
94+
h1 { font-size: 5.0rem; }
95+
h2 { font-size: 4.2rem; }
96+
h3 { font-size: 3.6rem; }
97+
h4 { font-size: 3.0rem; }
98+
h5 { font-size: 2.4rem; }
99+
h6 { font-size: 1.5rem; }
100+
}
101+
93102
h1, h2, h3, h4, h5, h6 {
94103
// Box Model
95104
margin-top: 0;
@@ -103,15 +112,6 @@ h4 { .h4(); }
103112
h5 { .h5(); }
104113
h6 { .h6(); }
105114

106-
@media (min-width: @bp-larger-than-phablet) {
107-
h1 { font-size: 5.0rem; }
108-
h2 { font-size: 4.2rem; }
109-
h3 { font-size: 3.6rem; }
110-
h4 { font-size: 3.0rem; }
111-
h5 { font-size: 2.4rem; }
112-
h6 { font-size: 1.5rem; }
113-
}
114-
115115
* {
116116
& > :is(h1, h2, h3, h4, h5, h6) {
117117
// Box Model

less/content.less

+32
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,38 @@
1414
margin: 0 auto;
1515
}
1616

17+
.container {
18+
// Position & Layout
19+
position: relative;
20+
// Box Model
21+
width: 100%;
22+
max-width: @container-width;
23+
margin: 0 auto;
24+
padding: 0 20px;
25+
box-sizing: border-box;
26+
}
27+
28+
@media (min-width: @bp-larger-than-mobile) {
29+
.container {
30+
// Box Model
31+
width: @container-width-larger-than-mobile;
32+
padding: 0;
33+
}
34+
}
35+
36+
@media (min-width: @bp-larger-than-phablet) {
37+
.container {
38+
width: @container-width-larger-than-phablet;
39+
}
40+
}
41+
42+
.container:after,
43+
.row:after,
44+
.u-cf {
45+
content: "";
46+
display: table;
47+
clear: both;
48+
}
1749

1850
.content .container {
1951
// Box Model

less/skeleton.less

-247
This file was deleted.

less/variables.less

+12
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,17 @@
1515

1616
// === Variables from skeleton
1717

18+
// Breakpoints
19+
@bp-larger-than-mobile : 400px;
20+
@bp-larger-than-phablet : 550px;
21+
@bp-larger-than-tablet : 750px;
22+
@bp-larger-than-desktop : 1000px;
23+
@bp-larger-than-desktophd : 1200px;
24+
25+
// Grid Variables
26+
@container-width: 960px;
27+
@container-width-larger-than-mobile: 85%;
28+
@container-width-larger-than-phablet: 80%;
29+
1830
// Misc
1931
@global-radius: 4px;

package-lock.json

-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"markdown-it-kbd": "^2.2.2",
2828
"pulsardoc": "github:confused-Techie/pulsardoc",
2929
"semver": "^7.6.0",
30-
"skeleton-less": "github:WhatsNewSaes/Skeleton-Less",
3130
"terser": "^5.28.1"
3231
},
3332
"peerDependencies": {

0 commit comments

Comments
 (0)