@andreyshpigunov/x 0.5.10 → 0.5.12
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/assets/css/app.css +1 -1
- package/cheatsheet.html +1 -1
- package/dist/x.css +1 -1
- package/index.html +1 -1
- package/package.json +2 -2
- package/src/components/x/helpers.css +9 -10
package/index.html
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"functionName": "headerAnimation"
|
|
20
20
|
}'>
|
|
21
21
|
<header class="header flex aic sticky t0 px5 m:px6 l:px8 unselectable">
|
|
22
|
-
<div class="header-version nowrap">0.5.
|
|
22
|
+
<div class="header-version nowrap">0.5.12</div>
|
|
23
23
|
<div class="header-logo mxa">
|
|
24
24
|
<a role="button" x-scrollto="#top">
|
|
25
25
|
<img src="assets/img/logo.png" alt="x" />
|
package/package.json
CHANGED
|
@@ -105,7 +105,7 @@ All right reserved.
|
|
|
105
105
|
.italic
|
|
106
106
|
.strike
|
|
107
107
|
.fs[10-19] step 1 (m,l,xl) - size in rem - 1.0, 1.1, 1.2, ..., 1.9
|
|
108
|
-
.fs[20-
|
|
108
|
+
.fs[20-100] step 2 (m,l,xl) - size in rem - 2.0, 2.2, 2.4, ..., 6.4
|
|
109
109
|
.fw[100-900] step 100 (m,l,xl)
|
|
110
110
|
.ls[0-4] (m,l,xl)
|
|
111
111
|
.lh[0-9] (m,l,xl) - values: 1.0-1.9
|
|
@@ -1094,7 +1094,7 @@ html.touch .touch-hide { display: none }
|
|
|
1094
1094
|
@for $i from 10 to 19 {
|
|
1095
1095
|
.fs$(i) { font-size: calc($(i)rem / 10) }
|
|
1096
1096
|
}
|
|
1097
|
-
@for $i from 20 to
|
|
1097
|
+
@for $i from 20 to 100 by 2 {
|
|
1098
1098
|
.fs$(i) { font-size: calc($(i)rem / 10) }
|
|
1099
1099
|
}
|
|
1100
1100
|
@for $i from 100 to 900 by 100 {
|
|
@@ -1105,7 +1105,7 @@ html.touch .touch-hide { display: none }
|
|
|
1105
1105
|
@for $i from 10 to 19 {
|
|
1106
1106
|
.m\:fs$(i) { font-size: calc($(i)rem / 10) }
|
|
1107
1107
|
}
|
|
1108
|
-
@for $i from 20 to
|
|
1108
|
+
@for $i from 20 to 100 by 2 {
|
|
1109
1109
|
.m\:fs$(i) { font-size: calc($(i)rem / 10) }
|
|
1110
1110
|
}
|
|
1111
1111
|
@for $i from 100 to 900 by 100 {
|
|
@@ -1117,7 +1117,7 @@ html.touch .touch-hide { display: none }
|
|
|
1117
1117
|
@for $i from 10 to 19 {
|
|
1118
1118
|
.l\:fs$(i) { font-size: calc($(i)rem / 10) }
|
|
1119
1119
|
}
|
|
1120
|
-
@for $i from 20 to
|
|
1120
|
+
@for $i from 20 to 100 by 2 {
|
|
1121
1121
|
.l\:fs$(i) { font-size: calc($(i)rem / 10) }
|
|
1122
1122
|
}
|
|
1123
1123
|
@for $i from 100 to 900 by 100 {
|
|
@@ -1129,7 +1129,7 @@ html.touch .touch-hide { display: none }
|
|
|
1129
1129
|
@for $i from 10 to 19 {
|
|
1130
1130
|
.xl\:fs$(i) { font-size: calc($(i)rem / 10) }
|
|
1131
1131
|
}
|
|
1132
|
-
@for $i from 20 to
|
|
1132
|
+
@for $i from 20 to 100 by 2 {
|
|
1133
1133
|
.xl\:fs$(i) { font-size: calc($(i)rem / 10) }
|
|
1134
1134
|
}
|
|
1135
1135
|
@for $i from 100 to 900 by 100 {
|
|
@@ -1140,22 +1140,21 @@ html.touch .touch-hide { display: none }
|
|
|
1140
1140
|
|
|
1141
1141
|
/* !- Letter spacing */
|
|
1142
1142
|
@for $i from 0 to 4 {
|
|
1143
|
-
.ls$(i) { letter-spacing: calc($(i)
|
|
1143
|
+
.ls$(i) { letter-spacing: calc(.1em * $(i)) }
|
|
1144
1144
|
}
|
|
1145
|
-
|
|
1146
1145
|
@media (min-width: 768px) {
|
|
1147
1146
|
@for $i from 0 to 4 {
|
|
1148
|
-
.m\:ls$(i) { letter-spacing: calc($(i)
|
|
1147
|
+
.m\:ls$(i) { letter-spacing: calc(.1em * $(i)) }
|
|
1149
1148
|
}
|
|
1150
1149
|
}
|
|
1151
1150
|
@media (min-width: 1024px) {
|
|
1152
1151
|
@for $i from 0 to 4 {
|
|
1153
|
-
.l\:ls$(i) { letter-spacing: calc($(i)
|
|
1152
|
+
.l\:ls$(i) { letter-spacing: calc(.1em * $(i)) }
|
|
1154
1153
|
}
|
|
1155
1154
|
}
|
|
1156
1155
|
@media (min-width: 1280px) {
|
|
1157
1156
|
@for $i from 0 to 4 {
|
|
1158
|
-
.xl\:ls$(i) { letter-spacing: calc($(i)
|
|
1157
|
+
.xl\:ls$(i) { letter-spacing: calc(.1em * $(i)) }
|
|
1159
1158
|
}
|
|
1160
1159
|
}
|
|
1161
1160
|
|