real-world-css-libraries 1.0.2 → 1.0.3

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.
@@ -0,0 +1,232 @@
1
+ /* https://github.com/LukyVj/colofilter.css/blob/master/styles/colofilter.css */
2
+ [class^="blend"] img {
3
+ mix-blend-mode: luminosity;
4
+ }
5
+ [class^="blend"]:before {
6
+ position: absolute;
7
+ z-index: 3;
8
+ background: rgba(0, 0, 0, 0.4);
9
+ color: #fff;
10
+ padding: 0.2em;
11
+ font-size: 14px;
12
+ }
13
+ [class^="blend"]:after {
14
+ display: block;
15
+ content: '';
16
+ position: absolute;
17
+ width: 100%;
18
+ height: 100%;
19
+ top: 0;
20
+ left: 0;
21
+ -webkit-filter: contrast(1.3);
22
+ filter: contrast(1.3);
23
+ mix-blend-mode: hue;
24
+ }
25
+ [class^="blend"][class*="-dark"] img {
26
+ mix-blend-mode: darken;
27
+ }
28
+ [class^="blend"][class*="-dark"]:after {
29
+ mix-blend-mode: lighten !important;
30
+ }
31
+ [class^="blend"][class*="-light"] img {
32
+ mix-blend-mode: lighten;
33
+ }
34
+ [class^="blend"][class*="-light"]:after {
35
+ mix-blend-mode: darken !important;
36
+ }
37
+ [class^="blend"][class*="-red"] {
38
+ background: #E50914;
39
+ }
40
+ [class^="blend"][class*="-red"]:after {
41
+ mix-blend-mode: hard-light;
42
+ -webkit-filter: contrast(0.6) saturate(120%) brightness(1.2);
43
+ filter: contrast(0.6) saturate(120%) brightness(1.2);
44
+ }
45
+ [class^="blend"][class*="-red"][class*="-dark"]:after {
46
+ mix-blend-mode: lighten !important;
47
+ -webkit-filter: contrast(1.1) !important;
48
+ filter: contrast(1.1) !important;
49
+ }
50
+ [class^="blend"][class*="-red"][class*="-light"]:after {
51
+ mix-blend-mode: color-dodge !important;
52
+ -webkit-filter: saturate(400%) contrast(1.5);
53
+ filter: saturate(400%) contrast(1.5);
54
+ }
55
+ [class^="blend"][class*="-red"]:after {
56
+ background: #E50914;
57
+ }
58
+ [class^="blend"][class*="-red"]:after {
59
+ background: #282581;
60
+ }
61
+ [class^="blend"][class*="-orange"] {
62
+ background: #FCA300;
63
+ }
64
+ [class^="blend"][class*="-orange"][class*="-dark"]:after {
65
+ mix-blend-mode: darken !important;
66
+ }
67
+ [class^="blend"][class*="-orange"][class*="-light"]:after {
68
+ mix-blend-mode: hue !important;
69
+ -webkit-filter: saturate(400%) contrast(1.5);
70
+ filter: saturate(400%) contrast(1.5);
71
+ }
72
+ [class^="blend"][class*="-orange"]:after {
73
+ background: #FCA300;
74
+ }
75
+ [class^="blend"][class*="-blue"] {
76
+ background: #0066BF;
77
+ }
78
+ [class^="blend"][class*="-blue"]:not([class*="-dark"]):not([class*="-light"]):after {
79
+ mix-blend-mode: hard-light;
80
+ -webkit-filter: brightness(0.6);
81
+ filter: brightness(0.6);
82
+ }
83
+ [class^="blend"][class*="-blue"][class*="-dark"]:after {
84
+ mix-blend-mode: darken !important;
85
+ }
86
+ [class^="blend"][class*="-blue"]:after {
87
+ background: #0066BF;
88
+ }
89
+ [class^="blend"][class*="-blue"]:after {
90
+ background: #93EF90;
91
+ }
92
+ [class^="blend"][class*="-yellow"] {
93
+ background: #FEDD31;
94
+ }
95
+ [class^="blend"][class*="-yellow"]:not([class*="-dark"]):not([class*="-light"]):after {
96
+ -webkit-filter: brightness(3.5);
97
+ filter: brightness(3.5);
98
+ mix-blend-mode: soft-light;
99
+ }
100
+ [class^="blend"][class*="-yellow"][class*="-dark"]:after {
101
+ mix-blend-mode: color-dodge !important;
102
+ -webkit-filter: hue-rotate(70deg);
103
+ filter: hue-rotate(70deg);
104
+ }
105
+ [class^="blend"][class*="-yellow"][class*="-light"] {
106
+ background: #000000;
107
+ }
108
+ [class^="blend"][class*="-yellow"][class*="-light"]:after {
109
+ mix-blend-mode: color !important;
110
+ -webkit-filter: brightness(3) hue-rotate(93deg) contrast(2) saturate(150);
111
+ filter: brightness(3) hue-rotate(93deg) contrast(2) saturate(150);
112
+ }
113
+ [class^="blend"][class*="-yellow"]:after {
114
+ background: #FEDD31;
115
+ }
116
+ [class^="blend"][class*="-yellow"]:after {
117
+ background: #EF3CB4;
118
+ }
119
+ [class^="blend"][class*="-purple"] {
120
+ background: #BC6D14;
121
+ }
122
+ [class^="blend"][class*="-purple"]:not([class*="-dark"]):not([class*="-light"]) {
123
+ background: rebeccapurple;
124
+ }
125
+ [class^="blend"][class*="-purple"]:not([class*="-dark"]):not([class*="-light"]):after {
126
+ mix-blend-mode: darken !important;
127
+ }
128
+ [class^="blend"][class*="-purple"][class*="-dark"] {
129
+ background: #B10AFF;
130
+ }
131
+ [class^="blend"][class*="-purple"][class*="-dark"]:after {
132
+ mix-blend-mode: soft-light !important;
133
+ -webkit-filter: saturate(100);
134
+ filter: saturate(100);
135
+ }
136
+ [class^="blend"][class*="-purple"][class*="-light"]:after {
137
+ background: #A37FC7;
138
+ -webkit-filter: saturate(520%) brightness(10.5) contrast(350) !important;
139
+ filter: saturate(520%) brightness(10.5) contrast(350) !important;
140
+ }
141
+ [class^="blend"][class*="-purple"]:after {
142
+ background: #BC6D14;
143
+ }
144
+ [class^="blend"][class*="-purple"]:after {
145
+ background: #ACFCEE;
146
+ }
147
+ [class^="blend"][class*="-green"] {
148
+ background: #11C966;
149
+ }
150
+ [class^="blend"][class*="-green"]:not([class*="-dark"]):not([class*="-light"]):after {
151
+ mix-blend-mode: soft-light;
152
+ }
153
+ [class^="blend"][class*="-green"][class*="-light"]:after {
154
+ mix-blend-mode: color-dodge !important;
155
+ -webkit-filter: saturate(100%) brightness(0.8) contrast(160%);
156
+ filter: saturate(100%) brightness(0.8) contrast(160%);
157
+ }
158
+ [class^="blend"][class*="-green"]:after {
159
+ background: #11C966;
160
+ }
161
+ [class^="blend"][class*="-green"]:after {
162
+ background: #2D3181;
163
+ }
164
+ [class^="blend"][class*="-pink"] {
165
+ background: #EA4C89;
166
+ }
167
+ [class^="blend"][class*="-pink"][class*="-dark"]:after {
168
+ background: #1D0E14;
169
+ }
170
+ [class^="blend"][class*="-pink"][class*="-light"]:after {
171
+ background: #FF468D;
172
+ mix-blend-mode: lighten !important;
173
+ -webkit-filter: contrast(1) saturate(250%) !important;
174
+ filter: contrast(1) saturate(250%) !important;
175
+ }
176
+ [class^="blend"][class*="-pink"]:after {
177
+ background: #EA4C89;
178
+ }
179
+ [class^="blend"][class*="-pink"]:after {
180
+ background: #EA4C89;
181
+ }
182
+ [class^="blend"][class*="-blue-yellow"]:not([class*="-dark"]):not([class*="-light"]) {
183
+ background: linear-gradient(to top left, #55ACEE, #FEDD31);
184
+ }
185
+ [class^="blend"][class*="-blue-yellow"][class*="-dark"]:after {
186
+ mix-blend-mode: hard-light !important;
187
+ }
188
+ [class^="blend"][class*="-blue-yellow"][class*="-light"]:after {
189
+ mix-blend-mode: hard-light !important;
190
+ -webkit-filter: none;
191
+ filter: none;
192
+ }
193
+ [class^="blend"][class*="-blue-yellow"]:after {
194
+ background: linear-gradient(to top left, #55ACEE, #FEDD31) !important;
195
+ }
196
+ [class^="blend"][class*="-pink-yellow"]:not([class*="-dark"]):not([class*="-light"]) {
197
+ background: linear-gradient(to bottom right, #FAA6FB, #FBBC05) !important;
198
+ }
199
+ [class^="blend"][class*="-pink-yellow"][class*="-dark"]:after {
200
+ mix-blend-mode: hue !important;
201
+ -webkit-filter: none !important;
202
+ filter: none !important;
203
+ }
204
+ [class^="blend"][class*="-pink-yellow"][class*="-light"]:after {
205
+ mix-blend-mode: hard-light !important;
206
+ -webkit-filter: none !important;
207
+ filter: none !important;
208
+ }
209
+ [class^="blend"][class*="-pink-yellow"]:after {
210
+ background: linear-gradient(to top left, #FAA6FB, #FBBC05) !important;
211
+ }
212
+ [class^="blend"][class*="-red-blue"]:not([class*="-dark"]):not([class*="-light"]) {
213
+ background: linear-gradient(to bottom right, #3993E2, #E2544B);
214
+ }
215
+ [class^="blend"][class*="-red-blue"]:not([class*="-dark"]):not([class*="-light"]):after {
216
+ -webkit-filter: none;
217
+ filter: none;
218
+ mix-blend-mode: hard-light;
219
+ }
220
+ [class^="blend"][class*="-red-blue"][class*="-dark"]:after {
221
+ mix-blend-mode: hard-light !important;
222
+ -webkit-filter: none !important;
223
+ filter: none !important;
224
+ }
225
+ [class^="blend"][class*="-red-blue"][class*="-light"]:after {
226
+ mix-blend-mode: screen !important;
227
+ -webkit-filter: saturate(300%) brightness(1.2) !important;
228
+ filter: saturate(300%) brightness(1.2) !important;
229
+ }
230
+ [class^="blend"][class*="-red-blue"]:after {
231
+ background: linear-gradient(to bottom right, #3993E2, #E2544B);
232
+ }
@@ -0,0 +1,140 @@
1
+ /* https://github.com/picturepan2/fileicon.css/blob/master/fileicon.css */
2
+ @charset "utf-8";
3
+ /*! fileicon.css v0.1.1 | MIT License | github.com/picturepan2/fileicon.css */
4
+ /* fileicon.basic */
5
+ .file-icon {
6
+ font-family: Arial, Tahoma, sans-serif;
7
+ font-weight: 300;
8
+ display: inline-block;
9
+ width: 24px;
10
+ height: 32px;
11
+ background: #018fef;
12
+ position: relative;
13
+ border-radius: 2px;
14
+ text-align: left;
15
+ -webkit-font-smoothing: antialiased;
16
+ }
17
+ .file-icon::before {
18
+ display: block;
19
+ content: "";
20
+ position: absolute;
21
+ top: 0;
22
+ right: 0;
23
+ width: 0;
24
+ height: 0;
25
+ border-bottom-left-radius: 2px;
26
+ border-width: 5px;
27
+ border-style: solid;
28
+ border-color: #fff #fff rgba(255,255,255,.35) rgba(255,255,255,.35);
29
+ }
30
+ .file-icon::after {
31
+ display: block;
32
+ content: attr(data-type);
33
+ position: absolute;
34
+ bottom: 0;
35
+ left: 0;
36
+ font-size: 10px;
37
+ color: #fff;
38
+ text-transform: lowercase;
39
+ width: 100%;
40
+ padding: 2px;
41
+ white-space: nowrap;
42
+ overflow: hidden;
43
+ }
44
+ /* fileicons */
45
+ .file-icon-xs {
46
+ width: 12px;
47
+ height: 16px;
48
+ border-radius: 2px;
49
+ }
50
+ .file-icon-xs::before {
51
+ border-bottom-left-radius: 1px;
52
+ border-width: 3px;
53
+ }
54
+ .file-icon-xs::after {
55
+ content: "";
56
+ border-bottom: 2px solid rgba(255,255,255,.45);
57
+ width: auto;
58
+ left: 2px;
59
+ right: 2px;
60
+ bottom: 3px;
61
+ }
62
+ .file-icon-sm {
63
+ width: 18px;
64
+ height: 24px;
65
+ border-radius: 2px;
66
+ }
67
+ .file-icon-sm::before {
68
+ border-bottom-left-radius: 2px;
69
+ border-width: 4px;
70
+ }
71
+ .file-icon-sm::after {
72
+ font-size: 7px;
73
+ padding: 2px;
74
+ }
75
+ .file-icon-lg {
76
+ width: 48px;
77
+ height: 64px;
78
+ border-radius: 3px;
79
+ }
80
+ .file-icon-lg::before {
81
+ border-bottom-left-radius: 2px;
82
+ border-width: 8px;
83
+ }
84
+ .file-icon-lg::after {
85
+ font-size: 16px;
86
+ padding: 4px 6px;
87
+ }
88
+ .file-icon-xl {
89
+ width: 96px;
90
+ height: 128px;
91
+ border-radius: 4px;
92
+ }
93
+ .file-icon-xl::before {
94
+ border-bottom-left-radius: 4px;
95
+ border-width: 16px;
96
+ }
97
+ .file-icon-xl::after {
98
+ font-size: 24px;
99
+ padding: 4px 10px;
100
+ }
101
+ /* fileicon.types */
102
+ .file-icon[data-type=zip],
103
+ .file-icon[data-type=rar] {
104
+ background: #acacac;
105
+ }
106
+ .file-icon[data-type^=doc] {
107
+ background: #307cf1;
108
+ }
109
+ .file-icon[data-type^=xls] {
110
+ background: #0f9d58;
111
+ }
112
+ .file-icon[data-type^=ppt] {
113
+ background: #d24726;
114
+ }
115
+ .file-icon[data-type=pdf] {
116
+ background: #e13d34;
117
+ }
118
+ .file-icon[data-type=txt] {
119
+ background: #5eb533;
120
+ }
121
+ .file-icon[data-type=mp3],
122
+ .file-icon[data-type=wma],
123
+ .file-icon[data-type=m4a],
124
+ .file-icon[data-type=flac] {
125
+ background: #8e44ad;
126
+ }
127
+ .file-icon[data-type=mp4],
128
+ .file-icon[data-type=wmv],
129
+ .file-icon[data-type=mov],
130
+ .file-icon[data-type=avi],
131
+ .file-icon[data-type=mkv] {
132
+ background: #7a3ce7;
133
+ }
134
+ .file-icon[data-type=bmp],
135
+ .file-icon[data-type=jpg],
136
+ .file-icon[data-type=jpeg],
137
+ .file-icon[data-type=gif],
138
+ .file-icon[data-type=png] {
139
+ background: #f4b400;
140
+ }
@@ -0,0 +1,133 @@
1
+ /* https://github.com/cobyism/gridism/blob/master/gridism.css */
2
+ /*
3
+ * Gridism
4
+ * A simple, responsive, and handy CSS grid by @cobyism
5
+ * https://github.com/cobyism/gridism
6
+ */
7
+
8
+ /* Preserve some sanity */
9
+ .grid,
10
+ .unit {
11
+ -webkit-box-sizing: border-box;
12
+ -moz-box-sizing: border-box;
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ /* Set up some rules to govern the grid */
17
+ .grid {
18
+ display: block;
19
+ clear: both;
20
+ }
21
+ .grid .unit {
22
+ float: left;
23
+ width: 100%;
24
+ padding: 10px;
25
+ }
26
+
27
+ /* This ensures the outer gutters are equal to the (doubled) inner gutters. */
28
+ .grid .unit:first-child { padding-left: 20px; }
29
+ .grid .unit:last-child { padding-right: 20px; }
30
+
31
+ /* Nested grids already have padding though, so let's nuke it */
32
+ .unit .unit:first-child { padding-left: 0; }
33
+ .unit .unit:last-child { padding-right: 0; }
34
+ .unit .grid:first-child > .unit { padding-top: 0; }
35
+ .unit .grid:last-child > .unit { padding-bottom: 0; }
36
+
37
+ /* Let people nuke the gutters/padding completely in a couple of ways */
38
+ .no-gutters .unit,
39
+ .unit.no-gutters {
40
+ padding: 0 !important;
41
+ }
42
+
43
+ /* Wrapping at a maximum width is optional */
44
+ .wrap .grid,
45
+ .grid.wrap {
46
+ max-width: 978px;
47
+ margin: 0 auto;
48
+ }
49
+
50
+ /* Width classes also have shorthand versions numbered as fractions
51
+ * For example: for a grid unit 1/3 (one third) of the parent width,
52
+ * simply apply class="w-1-3" to the element. */
53
+ .grid .whole, .grid .w-1-1 { width: 100%; }
54
+ .grid .half, .grid .w-1-2 { width: 50%; }
55
+ .grid .one-third, .grid .w-1-3 { width: 33.3332%; }
56
+ .grid .two-thirds, .grid .w-2-3 { width: 66.6665%; }
57
+ .grid .one-quarter,
58
+ .grid .one-fourth, .grid .w-1-4 { width: 25%; }
59
+ .grid .three-quarters,
60
+ .grid .three-fourths, .grid .w-3-4 { width: 75%; }
61
+ .grid .one-fifth, .grid .w-1-5 { width: 20%; }
62
+ .grid .two-fifths, .grid .w-2-5 { width: 40%; }
63
+ .grid .three-fifths, .grid .w-3-5 { width: 60%; }
64
+ .grid .four-fifths, .grid .w-4-5 { width: 80%; }
65
+ .grid .golden-small, .grid .w-g-s { width: 38.2716%; } /* Golden section: smaller piece */
66
+ .grid .golden-large, .grid .w-g-l { width: 61.7283%; } /* Golden section: larger piece */
67
+
68
+ /* Clearfix after every .grid */
69
+ .grid {
70
+ *zoom: 1;
71
+ }
72
+ .grid:before, .grid:after {
73
+ display: table;
74
+ content: "";
75
+ line-height: 0;
76
+ }
77
+ .grid:after {
78
+ clear: both;
79
+ }
80
+
81
+ /* Utility classes */
82
+ .align-center { text-align: center; }
83
+ .align-left { text-align: left; }
84
+ .align-right { text-align: right; }
85
+ .pull-left { float: left; }
86
+ .pull-right { float: right; }
87
+
88
+ /* A property for a better rendering of images in units: in
89
+ this way bigger pictures are just resized if the unit
90
+ becomes smaller */
91
+ .unit img {
92
+ max-width: 100%;
93
+ }
94
+
95
+ /* Hide elements using this class by default */
96
+ .only-on-mobiles {
97
+ display: none !important;
98
+ }
99
+
100
+ /* Responsive Stuff */
101
+ @media screen and (max-width: 568px) {
102
+ /* Stack anything that isn't full-width on smaller screens
103
+ and doesn't provide the no-stacking-on-mobiles class */
104
+ .grid:not(.no-stacking-on-mobiles) > .unit {
105
+ width: 100% !important;
106
+ padding-left: 20px;
107
+ padding-right: 20px;
108
+ }
109
+ .unit .grid .unit {
110
+ padding-left: 0px;
111
+ padding-right: 0px;
112
+ }
113
+
114
+ /* Sometimes, you just want to be different on small screens */
115
+ .center-on-mobiles {
116
+ text-align: center !important;
117
+ }
118
+ .hide-on-mobiles {
119
+ display: none !important;
120
+ }
121
+ .only-on-mobiles {
122
+ display: block !important;
123
+ }
124
+ }
125
+
126
+ /* Expand the wrap a bit further on larger screens */
127
+ @media screen and (min-width: 1180px) {
128
+ .wider .grid,
129
+ .grid.wider {
130
+ max-width: 1180px;
131
+ margin: 0 auto;
132
+ }
133
+ }