dorian-tailwind 0.2.0 → 0.3.0

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 (113) hide show
  1. checksums.yaml +4 -4
  2. data/{vendor → app}/assets/stylesheets/dorian-tailwind/align-content.css +0 -0
  3. data/{vendor → app}/assets/stylesheets/dorian-tailwind/align-items.css +0 -0
  4. data/{vendor → app}/assets/stylesheets/dorian-tailwind/align-self.css +0 -0
  5. data/{vendor → app}/assets/stylesheets/dorian-tailwind/animation.css +0 -0
  6. data/{vendor → app}/assets/stylesheets/dorian-tailwind/appearance.css +0 -0
  7. data/{vendor → app}/assets/stylesheets/dorian-tailwind/backdrop-filter.css +0 -0
  8. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-attachment.css +0 -0
  9. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-blend-mode.css +0 -0
  10. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-clip.css +0 -0
  11. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-color.css +0 -0
  12. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-image.css +0 -0
  13. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-origin.css +0 -0
  14. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-position.css +0 -0
  15. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-repeat.css +0 -0
  16. data/{vendor → app}/assets/stylesheets/dorian-tailwind/background-size.css +0 -0
  17. data/{vendor → app}/assets/stylesheets/dorian-tailwind/border-collapse.css +0 -0
  18. data/{vendor → app}/assets/stylesheets/dorian-tailwind/border-color.css +0 -0
  19. data/{vendor → app}/assets/stylesheets/dorian-tailwind/border-radius.css +0 -0
  20. data/{vendor → app}/assets/stylesheets/dorian-tailwind/border-style.css +0 -0
  21. data/{vendor → app}/assets/stylesheets/dorian-tailwind/border-width.css +0 -0
  22. data/{vendor → app}/assets/stylesheets/dorian-tailwind/box-decoration-break.css +0 -0
  23. data/{vendor → app}/assets/stylesheets/dorian-tailwind/box-shadow.css +0 -0
  24. data/{vendor → app}/assets/stylesheets/dorian-tailwind/box-sizing.css +0 -0
  25. data/{vendor → app}/assets/stylesheets/dorian-tailwind/clear.css +0 -0
  26. data/{vendor → app}/assets/stylesheets/dorian-tailwind/cursor.css +0 -0
  27. data/{vendor → app}/assets/stylesheets/dorian-tailwind/display.css +0 -0
  28. data/{vendor → app}/assets/stylesheets/dorian-tailwind/divide-color.css +0 -0
  29. data/{vendor → app}/assets/stylesheets/dorian-tailwind/divide-style.css +0 -0
  30. data/{vendor → app}/assets/stylesheets/dorian-tailwind/divide-width.css +0 -0
  31. data/{vendor → app}/assets/stylesheets/dorian-tailwind/fill.css +0 -0
  32. data/{vendor → app}/assets/stylesheets/dorian-tailwind/filter.css +0 -0
  33. data/{vendor → app}/assets/stylesheets/dorian-tailwind/flex-direction.css +0 -0
  34. data/{vendor → app}/assets/stylesheets/dorian-tailwind/flex-grow.css +0 -0
  35. data/{vendor → app}/assets/stylesheets/dorian-tailwind/flex-shrink.css +0 -0
  36. data/{vendor → app}/assets/stylesheets/dorian-tailwind/flex-wrap.css +0 -0
  37. data/{vendor → app}/assets/stylesheets/dorian-tailwind/flex.css +0 -0
  38. data/{vendor → app}/assets/stylesheets/dorian-tailwind/float.css +0 -0
  39. data/{vendor → app}/assets/stylesheets/dorian-tailwind/font-family.css +0 -0
  40. data/{vendor → app}/assets/stylesheets/dorian-tailwind/font-size.css +0 -0
  41. data/{vendor → app}/assets/stylesheets/dorian-tailwind/font-smoothing.css +0 -0
  42. data/{vendor → app}/assets/stylesheets/dorian-tailwind/font-style.css +0 -0
  43. data/{vendor → app}/assets/stylesheets/dorian-tailwind/font-variant-numeric.css +0 -0
  44. data/{vendor → app}/assets/stylesheets/dorian-tailwind/font-weight.css +0 -0
  45. data/{vendor → app}/assets/stylesheets/dorian-tailwind/gap.css +12 -12
  46. data/{vendor → app}/assets/stylesheets/dorian-tailwind/grid-auto-columns.css +0 -0
  47. data/{vendor → app}/assets/stylesheets/dorian-tailwind/grid-auto-flow.css +0 -0
  48. data/{vendor → app}/assets/stylesheets/dorian-tailwind/grid-auto-rows.css +0 -0
  49. data/{vendor → app}/assets/stylesheets/dorian-tailwind/grid-column.css +0 -0
  50. data/{vendor → app}/assets/stylesheets/dorian-tailwind/grid-row.css +0 -0
  51. data/{vendor → app}/assets/stylesheets/dorian-tailwind/grid-template-columns.css +0 -0
  52. data/{vendor → app}/assets/stylesheets/dorian-tailwind/grid-template-rows.css +0 -0
  53. data/{vendor → app}/assets/stylesheets/dorian-tailwind/height.css +19 -19
  54. data/{vendor → app}/assets/stylesheets/dorian-tailwind/isolation.css +0 -0
  55. data/{vendor → app}/assets/stylesheets/dorian-tailwind/justify-content.css +0 -0
  56. data/{vendor → app}/assets/stylesheets/dorian-tailwind/justify-items.css +0 -0
  57. data/{vendor → app}/assets/stylesheets/dorian-tailwind/justify-self.css +0 -0
  58. data/{vendor → app}/assets/stylesheets/dorian-tailwind/letter-spacing.css +0 -0
  59. data/{vendor → app}/assets/stylesheets/dorian-tailwind/line-height.css +0 -0
  60. data/{vendor → app}/assets/stylesheets/dorian-tailwind/list-style-position.css +0 -0
  61. data/{vendor → app}/assets/stylesheets/dorian-tailwind/list-style-type.css +0 -0
  62. data/{vendor → app}/assets/stylesheets/dorian-tailwind/margin.css +56 -56
  63. data/{vendor → app}/assets/stylesheets/dorian-tailwind/max-height.css +4 -4
  64. data/{vendor → app}/assets/stylesheets/dorian-tailwind/max-width.css +0 -0
  65. data/{vendor → app}/assets/stylesheets/dorian-tailwind/min-height.css +0 -0
  66. data/{vendor → app}/assets/stylesheets/dorian-tailwind/min-width.css +0 -0
  67. data/{vendor → app}/assets/stylesheets/dorian-tailwind/mix-blend-mode.css +0 -0
  68. data/{vendor → app}/assets/stylesheets/dorian-tailwind/object-fit.css +0 -0
  69. data/{vendor → app}/assets/stylesheets/dorian-tailwind/object-position.css +0 -0
  70. data/{vendor → app}/assets/stylesheets/dorian-tailwind/opacity.css +0 -0
  71. data/{vendor → app}/assets/stylesheets/dorian-tailwind/order.css +0 -0
  72. data/{vendor → app}/assets/stylesheets/dorian-tailwind/outline.css +0 -0
  73. data/{vendor → app}/assets/stylesheets/dorian-tailwind/overflow.css +0 -0
  74. data/{vendor → app}/assets/stylesheets/dorian-tailwind/overscroll-behavior.css +0 -0
  75. data/{vendor → app}/assets/stylesheets/dorian-tailwind/padding.css +28 -28
  76. data/{vendor → app}/assets/stylesheets/dorian-tailwind/place-content.css +0 -0
  77. data/{vendor → app}/assets/stylesheets/dorian-tailwind/place-items.css +0 -0
  78. data/{vendor → app}/assets/stylesheets/dorian-tailwind/place-self.css +0 -0
  79. data/{vendor → app}/assets/stylesheets/dorian-tailwind/placeholder-color.css +0 -0
  80. data/{vendor → app}/assets/stylesheets/dorian-tailwind/pointer-events.css +0 -0
  81. data/{vendor → app}/assets/stylesheets/dorian-tailwind/position.css +0 -0
  82. data/app/assets/stylesheets/dorian-tailwind/preflight.css +392 -0
  83. data/{vendor → app}/assets/stylesheets/dorian-tailwind/resize.css +0 -0
  84. data/{vendor → app}/assets/stylesheets/dorian-tailwind/ring-offset-color.css +0 -0
  85. data/{vendor → app}/assets/stylesheets/dorian-tailwind/ring-offset-width.css +0 -0
  86. data/{vendor → app}/assets/stylesheets/dorian-tailwind/ring-width.css +0 -0
  87. data/{vendor → app}/assets/stylesheets/dorian-tailwind/screen-readers.css +0 -0
  88. data/{vendor → app}/assets/stylesheets/dorian-tailwind/space.css +16 -16
  89. data/{vendor → app}/assets/stylesheets/dorian-tailwind/stroke-width.css +0 -0
  90. data/{vendor → app}/assets/stylesheets/dorian-tailwind/stroke.css +0 -0
  91. data/{vendor → app}/assets/stylesheets/dorian-tailwind/table-layout.css +0 -0
  92. data/{vendor → app}/assets/stylesheets/dorian-tailwind/text-align.css +0 -0
  93. data/{vendor → app}/assets/stylesheets/dorian-tailwind/text-color.css +0 -0
  94. data/{vendor → app}/assets/stylesheets/dorian-tailwind/text-decoration.css +0 -0
  95. data/{vendor → app}/assets/stylesheets/dorian-tailwind/text-overflow.css +0 -0
  96. data/{vendor → app}/assets/stylesheets/dorian-tailwind/text-transform.css +0 -0
  97. data/{vendor → app}/assets/stylesheets/dorian-tailwind/top-right-bottom-left.css +140 -140
  98. data/{vendor → app}/assets/stylesheets/dorian-tailwind/transform-origin.css +0 -0
  99. data/{vendor → app}/assets/stylesheets/dorian-tailwind/transform.css +0 -0
  100. data/{vendor → app}/assets/stylesheets/dorian-tailwind/transition-delay.css +0 -0
  101. data/{vendor → app}/assets/stylesheets/dorian-tailwind/transition-duration.css +0 -0
  102. data/{vendor → app}/assets/stylesheets/dorian-tailwind/transition-property.css +0 -0
  103. data/{vendor → app}/assets/stylesheets/dorian-tailwind/transition-timing-function.css +0 -0
  104. data/{vendor → app}/assets/stylesheets/dorian-tailwind/user-select.css +0 -0
  105. data/{vendor → app}/assets/stylesheets/dorian-tailwind/vertical-align.css +0 -0
  106. data/{vendor → app}/assets/stylesheets/dorian-tailwind/visibility.css +0 -0
  107. data/{vendor → app}/assets/stylesheets/dorian-tailwind/whitespace.css +0 -0
  108. data/{vendor → app}/assets/stylesheets/dorian-tailwind/width.css +30 -30
  109. data/{vendor → app}/assets/stylesheets/dorian-tailwind/word-break.css +0 -0
  110. data/{vendor → app}/assets/stylesheets/dorian-tailwind/z-index.css +0 -0
  111. data/{vendor → app}/assets/stylesheets/dorian-tailwind.css.scss +1 -0
  112. data/lib/dorian/tailwind.rb +9 -0
  113. metadata +127 -111
@@ -6,7 +6,7 @@
6
6
  padding: 1px;
7
7
  }
8
8
 
9
- .p-0.5 {
9
+ .p-0\.5 {
10
10
  padding: 0.125rem;
11
11
  }
12
12
 
@@ -14,7 +14,7 @@
14
14
  padding: 0.25rem;
15
15
  }
16
16
 
17
- .p-1.5 {
17
+ .p-1\.5 {
18
18
  padding: 0.375rem;
19
19
  }
20
20
 
@@ -22,7 +22,7 @@
22
22
  padding: 0.5rem;
23
23
  }
24
24
 
25
- .p-2.5 {
25
+ .p-2\.5 {
26
26
  padding: 0.625rem;
27
27
  }
28
28
 
@@ -30,7 +30,7 @@
30
30
  padding: 0.75rem;
31
31
  }
32
32
 
33
- .p-3.5 {
33
+ .p-3\.5 {
34
34
  padding: 0.875rem;
35
35
  }
36
36
 
@@ -148,7 +148,7 @@
148
148
  padding-right: 1px;
149
149
  }
150
150
 
151
- .px-0.5 {
151
+ .px-0\.5 {
152
152
  padding-left: 0.125rem;
153
153
  padding-right: 0.125rem;
154
154
  }
@@ -158,7 +158,7 @@
158
158
  padding-right: 0.25rem;
159
159
  }
160
160
 
161
- .px-1.5 {
161
+ .px-1\.5 {
162
162
  padding-left: 0.375rem;
163
163
  padding-right: 0.375rem;
164
164
  }
@@ -168,7 +168,7 @@
168
168
  padding-right: 0.5rem;
169
169
  }
170
170
 
171
- .px-2.5 {
171
+ .px-2\.5 {
172
172
  padding-left: 0.625rem;
173
173
  padding-right: 0.625rem;
174
174
  }
@@ -178,7 +178,7 @@
178
178
  padding-right: 0.75rem;
179
179
  }
180
180
 
181
- .px-3.5 {
181
+ .px-3\.5 {
182
182
  padding-left: 0.875rem;
183
183
  padding-right: 0.875rem;
184
184
  }
@@ -323,7 +323,7 @@
323
323
  padding-bottom: 1px;
324
324
  }
325
325
 
326
- .py-0.5 {
326
+ .py-0\.5 {
327
327
  padding-top: 0.125rem;
328
328
  padding-bottom: 0.125rem;
329
329
  }
@@ -333,7 +333,7 @@
333
333
  padding-bottom: 0.25rem;
334
334
  }
335
335
 
336
- .py-1.5 {
336
+ .py-1\.5 {
337
337
  padding-top: 0.375rem;
338
338
  padding-bottom: 0.375rem;
339
339
  }
@@ -343,7 +343,7 @@
343
343
  padding-bottom: 0.5rem;
344
344
  }
345
345
 
346
- .py-2.5 {
346
+ .py-2\.5 {
347
347
  padding-top: 0.625rem;
348
348
  padding-bottom: 0.625rem;
349
349
  }
@@ -353,7 +353,7 @@
353
353
  padding-bottom: 0.75rem;
354
354
  }
355
355
 
356
- .py-3.5 {
356
+ .py-3\.5 {
357
357
  padding-top: 0.875rem;
358
358
  padding-bottom: 0.875rem;
359
359
  }
@@ -496,7 +496,7 @@
496
496
  padding-top: 1px;
497
497
  }
498
498
 
499
- .pt-0.5 {
499
+ .pt-0\.5 {
500
500
  padding-top: 0.125rem;
501
501
  }
502
502
 
@@ -504,7 +504,7 @@
504
504
  padding-top: 0.25rem;
505
505
  }
506
506
 
507
- .pt-1.5 {
507
+ .pt-1\.5 {
508
508
  padding-top: 0.375rem;
509
509
  }
510
510
 
@@ -512,7 +512,7 @@
512
512
  padding-top: 0.5rem;
513
513
  }
514
514
 
515
- .pt-2.5 {
515
+ .pt-2\.5 {
516
516
  padding-top: 0.625rem;
517
517
  }
518
518
 
@@ -520,7 +520,7 @@
520
520
  padding-top: 0.75rem;
521
521
  }
522
522
 
523
- .pt-3.5 {
523
+ .pt-3\.5 {
524
524
  padding-top: 0.875rem;
525
525
  }
526
526
 
@@ -636,7 +636,7 @@
636
636
  padding-right: 1px;
637
637
  }
638
638
 
639
- .pr-0.5 {
639
+ .pr-0\.5 {
640
640
  padding-right: 0.125rem;
641
641
  }
642
642
 
@@ -644,7 +644,7 @@
644
644
  padding-right: 0.25rem;
645
645
  }
646
646
 
647
- .pr-1.5 {
647
+ .pr-1\.5 {
648
648
  padding-right: 0.375rem;
649
649
  }
650
650
 
@@ -652,7 +652,7 @@
652
652
  padding-right: 0.5rem;
653
653
  }
654
654
 
655
- .pr-2.5 {
655
+ .pr-2\.5 {
656
656
  padding-right: 0.625rem;
657
657
  }
658
658
 
@@ -660,7 +660,7 @@
660
660
  padding-right: 0.75rem;
661
661
  }
662
662
 
663
- .pr-3.5 {
663
+ .pr-3\.5 {
664
664
  padding-right: 0.875rem;
665
665
  }
666
666
 
@@ -776,7 +776,7 @@
776
776
  padding-bottom: 1px;
777
777
  }
778
778
 
779
- .pb-0.5 {
779
+ .pb-0\.5 {
780
780
  padding-bottom: 0.125rem;
781
781
  }
782
782
 
@@ -784,7 +784,7 @@
784
784
  padding-bottom: 0.25rem;
785
785
  }
786
786
 
787
- .pb-1.5 {
787
+ .pb-1\.5 {
788
788
  padding-bottom: 0.375rem;
789
789
  }
790
790
 
@@ -792,7 +792,7 @@
792
792
  padding-bottom: 0.5rem;
793
793
  }
794
794
 
795
- .pb-2.5 {
795
+ .pb-2\.5 {
796
796
  padding-bottom: 0.625rem;
797
797
  }
798
798
 
@@ -800,7 +800,7 @@
800
800
  padding-bottom: 0.75rem;
801
801
  }
802
802
 
803
- .pb-3.5 {
803
+ .pb-3\.5 {
804
804
  padding-bottom: 0.875rem;
805
805
  }
806
806
 
@@ -916,7 +916,7 @@
916
916
  padding-left: 1px;
917
917
  }
918
918
 
919
- .pl-0.5 {
919
+ .pl-0\.5 {
920
920
  padding-left: 0.125rem;
921
921
  }
922
922
 
@@ -924,7 +924,7 @@
924
924
  padding-left: 0.25rem;
925
925
  }
926
926
 
927
- .pl-1.5 {
927
+ .pl-1\.5 {
928
928
  padding-left: 0.375rem;
929
929
  }
930
930
 
@@ -932,7 +932,7 @@
932
932
  padding-left: 0.5rem;
933
933
  }
934
934
 
935
- .pl-2.5 {
935
+ .pl-2\.5 {
936
936
  padding-left: 0.625rem;
937
937
  }
938
938
 
@@ -940,7 +940,7 @@
940
940
  padding-left: 0.75rem;
941
941
  }
942
942
 
943
- .pl-3.5 {
943
+ .pl-3\.5 {
944
944
  padding-left: 0.875rem;
945
945
  }
946
946
 
@@ -0,0 +1,392 @@
1
+ /*
2
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
3
+ 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
4
+ */
5
+
6
+ *,
7
+ ::before,
8
+ ::after {
9
+ box-sizing: border-box; /* 1 */
10
+ border-width: 0; /* 2 */
11
+ border-style: solid; /* 2 */
12
+ border-color: currentColor; /* 2 */
13
+ }
14
+
15
+ ::before,
16
+ ::after {
17
+ --tw-content: "";
18
+ }
19
+
20
+ /*
21
+ 1. Use a consistent sensible line-height in all browsers.
22
+ 2. Prevent adjustments of font size after orientation changes in iOS.
23
+ 3. Use a more readable tab size.
24
+ 4. Use the user's configured `sans` font-family by default.
25
+ */
26
+
27
+ html {
28
+ line-height: 1.5; /* 1 */
29
+ -webkit-text-size-adjust: 100%; /* 2 */
30
+ -moz-tab-size: 4; /* 3 */
31
+ tab-size: 4; /* 3 */
32
+ font-family: theme(
33
+ "fontFamily.sans",
34
+ ui-sans-serif,
35
+ system-ui,
36
+ -apple-system,
37
+ BlinkMacSystemFont,
38
+ "Segoe UI",
39
+ Roboto,
40
+ "Helvetica Neue",
41
+ Arial,
42
+ "Noto Sans",
43
+ sans-serif,
44
+ "Apple Color Emoji",
45
+ "Segoe UI Emoji",
46
+ "Segoe UI Symbol",
47
+ "Noto Color Emoji"
48
+ ); /* 4 */
49
+ }
50
+
51
+ /*
52
+ 1. Remove the margin in all browsers.
53
+ 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
54
+ */
55
+
56
+ body {
57
+ margin: 0; /* 1 */
58
+ line-height: inherit; /* 2 */
59
+ }
60
+
61
+ /*
62
+ 1. Add the correct height in Firefox.
63
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
64
+ 3. Ensure horizontal rules are visible by default.
65
+ */
66
+
67
+ hr {
68
+ height: 0; /* 1 */
69
+ color: inherit; /* 2 */
70
+ border-top-width: 1px; /* 3 */
71
+ }
72
+
73
+ /*
74
+ Add the correct text decoration in Chrome, Edge, and Safari.
75
+ */
76
+
77
+ abbr[title] {
78
+ text-decoration: underline dotted;
79
+ }
80
+
81
+ /*
82
+ Remove the default font size and weight for headings.
83
+ */
84
+
85
+ h1,
86
+ h2,
87
+ h3,
88
+ h4,
89
+ h5,
90
+ h6 {
91
+ font-size: inherit;
92
+ font-weight: inherit;
93
+ }
94
+
95
+ /*
96
+ Reset links to optimize for opt-in styling instead of opt-out.
97
+ */
98
+
99
+ a {
100
+ color: inherit;
101
+ text-decoration: inherit;
102
+ }
103
+
104
+ /*
105
+ Add the correct font weight in Edge and Safari.
106
+ */
107
+
108
+ b,
109
+ strong {
110
+ font-weight: bolder;
111
+ }
112
+
113
+ /*
114
+ 1. Use the user's configured `mono` font family by default.
115
+ 2. Correct the odd `em` font sizing in all browsers.
116
+ */
117
+
118
+ code,
119
+ kbd,
120
+ samp,
121
+ pre {
122
+ font-family: theme(
123
+ "fontFamily.mono",
124
+ ui-monospace,
125
+ SFMono-Regular,
126
+ Menlo,
127
+ Monaco,
128
+ Consolas,
129
+ "Liberation Mono",
130
+ "Courier New",
131
+ monospace
132
+ ); /* 1 */
133
+ font-size: 1em; /* 2 */
134
+ }
135
+
136
+ /*
137
+ Add the correct font size in all browsers.
138
+ */
139
+
140
+ small {
141
+ font-size: 80%;
142
+ }
143
+
144
+ /*
145
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
146
+ */
147
+
148
+ sub,
149
+ sup {
150
+ font-size: 75%;
151
+ line-height: 0;
152
+ position: relative;
153
+ vertical-align: baseline;
154
+ }
155
+
156
+ sub {
157
+ bottom: -0.25em;
158
+ }
159
+
160
+ sup {
161
+ top: -0.5em;
162
+ }
163
+
164
+ /*
165
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
166
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
167
+ 3. Remove gaps between table borders by default.
168
+ */
169
+
170
+ table {
171
+ text-indent: 0; /* 1 */
172
+ border-color: inherit; /* 2 */
173
+ border-collapse: collapse; /* 3 */
174
+ }
175
+
176
+ /*
177
+ 1. Change the font styles in all browsers.
178
+ 2. Remove the margin in Firefox and Safari.
179
+ 3. Remove default padding in all browsers.
180
+ */
181
+
182
+ button,
183
+ input,
184
+ optgroup,
185
+ select,
186
+ textarea {
187
+ font-family: inherit; /* 1 */
188
+ font-size: 100%; /* 1 */
189
+ line-height: inherit; /* 1 */
190
+ color: inherit; /* 1 */
191
+ margin: 0; /* 2 */
192
+ padding: 0; /* 3 */
193
+ }
194
+
195
+ /*
196
+ Remove the inheritance of text transform in Edge and Firefox.
197
+ */
198
+
199
+ button,
200
+ select {
201
+ text-transform: none;
202
+ }
203
+
204
+ /*
205
+ 1. Correct the inability to style clickable types in iOS and Safari.
206
+ 2. Remove default button styles.
207
+ */
208
+
209
+ button,
210
+ [type="button"],
211
+ [type="reset"],
212
+ [type="submit"] {
213
+ -webkit-appearance: button; /* 1 */
214
+ background-color: transparent; /* 2 */
215
+ background-image: none; /* 2 */
216
+ }
217
+
218
+ /*
219
+ Use the modern Firefox focus style for all focusable elements.
220
+ */
221
+
222
+ :-moz-focusring {
223
+ outline: auto;
224
+ }
225
+
226
+ /*
227
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
228
+ */
229
+
230
+ :-moz-ui-invalid {
231
+ box-shadow: none;
232
+ }
233
+
234
+ /*
235
+ Add the correct vertical alignment in Chrome and Firefox.
236
+ */
237
+
238
+ progress {
239
+ vertical-align: baseline;
240
+ }
241
+
242
+ /*
243
+ Correct the cursor style of increment and decrement buttons in Safari.
244
+ */
245
+
246
+ ::-webkit-inner-spin-button,
247
+ ::-webkit-outer-spin-button {
248
+ height: auto;
249
+ }
250
+
251
+ /*
252
+ 1. Correct the odd appearance in Chrome and Safari.
253
+ 2. Correct the outline style in Safari.
254
+ */
255
+
256
+ [type="search"] {
257
+ -webkit-appearance: textfield; /* 1 */
258
+ outline-offset: -2px; /* 2 */
259
+ }
260
+
261
+ /*
262
+ Remove the inner padding in Chrome and Safari on macOS.
263
+ */
264
+
265
+ ::-webkit-search-decoration {
266
+ -webkit-appearance: none;
267
+ }
268
+
269
+ /*
270
+ 1. Correct the inability to style clickable types in iOS and Safari.
271
+ 2. Change font properties to `inherit` in Safari.
272
+ */
273
+
274
+ ::-webkit-file-upload-button {
275
+ -webkit-appearance: button; /* 1 */
276
+ font: inherit; /* 2 */
277
+ }
278
+
279
+ /*
280
+ Add the correct display in Chrome and Safari.
281
+ */
282
+
283
+ summary {
284
+ display: list-item;
285
+ }
286
+
287
+ /*
288
+ Removes the default spacing and border for appropriate elements.
289
+ */
290
+
291
+ blockquote,
292
+ dl,
293
+ dd,
294
+ h1,
295
+ h2,
296
+ h3,
297
+ h4,
298
+ h5,
299
+ h6,
300
+ hr,
301
+ figure,
302
+ p,
303
+ pre {
304
+ margin: 0;
305
+ }
306
+
307
+ fieldset {
308
+ margin: 0;
309
+ padding: 0;
310
+ }
311
+
312
+ legend {
313
+ padding: 0;
314
+ }
315
+
316
+ ol,
317
+ ul {
318
+ list-style: none;
319
+ margin: 0;
320
+ padding: 0;
321
+ }
322
+
323
+ /*
324
+ Prevent resizing textareas horizontally by default.
325
+ */
326
+
327
+ textarea {
328
+ resize: vertical;
329
+ }
330
+
331
+ /*
332
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
333
+ 2. Set the default placeholder color to the user's configured gray 400 color.
334
+ */
335
+
336
+ input::placeholder,
337
+ textarea::placeholder {
338
+ opacity: 1; /* 1 */
339
+ color: theme("colors.gray.400", #9ca3af); /* 2 */
340
+ }
341
+
342
+ /*
343
+ Set the default cursor for buttons.
344
+ */
345
+
346
+ button,
347
+ [role="button"] {
348
+ cursor: pointer;
349
+ }
350
+
351
+ /*
352
+ Make sure disabled buttons don't get the pointer cursor.
353
+ */
354
+ :disabled {
355
+ cursor: default;
356
+ }
357
+
358
+ /*
359
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
360
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
361
+ This can trigger a poorly considered lint error in some tools but is included by design.
362
+ */
363
+
364
+ img,
365
+ svg,
366
+ video,
367
+ canvas,
368
+ audio,
369
+ iframe,
370
+ embed,
371
+ object {
372
+ display: block; /* 1 */
373
+ vertical-align: middle; /* 2 */
374
+ }
375
+
376
+ /*
377
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
378
+ */
379
+
380
+ img,
381
+ video {
382
+ max-width: 100%;
383
+ height: auto;
384
+ }
385
+
386
+ /*
387
+ Ensure the default browser behavior of the `hidden` attribute.
388
+ */
389
+
390
+ [hidden] {
391
+ display: none;
392
+ }