cssremedy-rails 0.1.6 → 0.1.7
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -1
- data/lib/cssremedy-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/cssremedy-rails/remedy.css +77 -75
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67296836543e7080b4cccb9cca164cb2714adb03012aa1d14685a96c3e249b3e
|
4
|
+
data.tar.gz: 78dbad405098eb1a33b3356c16fdea39995a191e64c678e797de06bfa43429cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 685619371e4a28fb1cb9b580d9b7f9cc973c5d6324527d263fac91167854916fa18fa03008eaae5ef5aac9ac406057d1f3c3e33188c709b92d2b4b5d1668c242
|
7
|
+
data.tar.gz: 440d8267125500dfcdee0374a82c0995e6a07dd1de8f84608dd3e299bc690d8856c0af4474f36a1b5761cb3b6dd1519c399275ab2242bc4e827be5d2bfa00a0d
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'open-uri'
|
|
4
4
|
desc 'Download the latest remedy.css'
|
5
5
|
task :update do
|
6
6
|
puts "[#{Time.now}] Start: Updating remedy.css"
|
7
|
-
url = 'https://raw.githubusercontent.com/mozdevs/cssremedy/master/remedy.css'
|
7
|
+
url = 'https://raw.githubusercontent.com/mozdevs/cssremedy/master/css/remedy.css'
|
8
8
|
outputfile = 'vendor/assets/stylesheets/cssremedy-rails/remedy.css'
|
9
9
|
|
10
10
|
File.open(outputfile, 'wb') do |file|
|
@@ -1,102 +1,104 @@
|
|
1
|
+
/* Global Remedies
|
2
|
+
******************/
|
1
3
|
|
4
|
+
/* Use border-box by default, globally */
|
5
|
+
*, ::before, ::after { box-sizing: border-box; }
|
2
6
|
|
3
|
-
/*
|
4
|
-
|
5
|
-
|
7
|
+
/*
|
8
|
+
* Consistent line spacing...
|
9
|
+
* CSS Inline Layout Module Level 3: https://drafts.csswg.org/css-inline-3/#line-sizing-property
|
10
|
+
*/
|
11
|
+
html { line-sizing: normal; }
|
6
12
|
|
7
|
-
|
13
|
+
/* Remove the tiny space around the edge of the page */
|
14
|
+
body { margin: 0; }
|
8
15
|
|
9
|
-
/* Immediately jump any animation to the end point if the user has set their device to "prefers reduced motion". */
|
10
|
-
/* This could create bad, unintended consequences. Remove as needed, and write your own appropriate code for prefers-reduced-motion. */
|
11
|
-
@media (prefers-reduced-motion: reduce) {
|
12
|
-
* {
|
13
|
-
animation-duration: 0.001s !important;
|
14
|
-
transition-duration: 0.001s !important;
|
15
|
-
animation-iteration-count: 1 !important;
|
16
|
-
}
|
17
|
-
}
|
18
16
|
|
19
|
-
|
20
|
-
|
21
|
-
}
|
17
|
+
/* Headings
|
18
|
+
***********/
|
22
19
|
|
23
|
-
/* Switch to
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
}
|
28
|
-
|
29
|
-
|
30
|
-
}
|
31
|
-
h3 {
|
32
|
-
font-size: 1.17rem;
|
33
|
-
}
|
34
|
-
h4 {
|
35
|
-
font-size: 1.00rem;
|
36
|
-
}
|
37
|
-
h5 {
|
38
|
-
font-size: 0.83rem;
|
39
|
-
}
|
40
|
-
h6 {
|
41
|
-
font-size: 0.67rem;
|
42
|
-
}
|
20
|
+
/* Switch to rem units for headings */
|
21
|
+
/* @@@ Initial values are based on existing browser defaults */
|
22
|
+
h1 { font-size: 2rem; }
|
23
|
+
h2 { font-size: 1.5rem; }
|
24
|
+
h3 { font-size: 1.17rem; }
|
25
|
+
h4 { font-size: 1.00rem; }
|
26
|
+
h5 { font-size: 0.83rem; }
|
27
|
+
h6 { font-size: 0.67rem; }
|
43
28
|
|
44
|
-
|
45
|
-
|
46
|
-
}
|
29
|
+
/* Keep h1 margins consistent, even when nested */
|
30
|
+
h1 { margin: 0.67em 0; }
|
47
31
|
|
48
|
-
/* Improve readability */
|
49
|
-
p, ul, ol, dl, address {
|
50
|
-
line-height: 1.5;
|
51
|
-
}
|
52
32
|
|
33
|
+
/* Typography
|
34
|
+
*************/
|
53
35
|
|
54
|
-
|
55
|
-
|
56
|
-
}
|
36
|
+
/* Overflow by default is bad */
|
37
|
+
pre { white-space: pre-wrap; }
|
57
38
|
|
39
|
+
/*
|
40
|
+
* 1. Solid, thin horizontal rules
|
41
|
+
* 2. Remove Firefox `color: gray`
|
42
|
+
* 3. Remove default `1px` height, and common `overflow: hidden`
|
43
|
+
*/
|
58
44
|
hr {
|
59
|
-
border:
|
45
|
+
border-style: solid;
|
46
|
+
border-width: 1px 0 0;
|
47
|
+
color: inherit;
|
48
|
+
height: 0;
|
49
|
+
overflow: visible;
|
60
50
|
}
|
61
51
|
|
62
52
|
|
63
|
-
/*
|
64
|
-
|
65
|
-
nav ul {
|
66
|
-
list-style: none;
|
67
|
-
}
|
53
|
+
/* Embedded Elements
|
54
|
+
********************/
|
68
55
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
border-style: none; /* Remove the border on images inside links in IE 10 and earlier. */
|
56
|
+
/*
|
57
|
+
* 1. Block display is usually what we want
|
58
|
+
* 2. Remove strange space-below when inline
|
59
|
+
* 3. Responsive by default
|
60
|
+
*/
|
61
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
62
|
+
display: block;
|
63
|
+
vertical-align: middle;
|
64
|
+
max-width: 100%;
|
79
65
|
}
|
80
66
|
|
81
|
-
/*
|
67
|
+
/*
|
68
|
+
* Maintain intrinsic aspect ratios when `max-width` is applied
|
69
|
+
* (iframe, embed, and object have no intrinsic ratio, set height explicitly)
|
70
|
+
*/
|
71
|
+
img, svg, video, canvas {
|
72
|
+
height: auto;
|
73
|
+
}
|
82
74
|
|
83
|
-
/*
|
75
|
+
/*
|
76
|
+
* There is no good reason elements default to 300px,
|
77
|
+
* and audio files are unlikely to come with a width attribute
|
78
|
+
*/
|
79
|
+
audio { width: 100%; }
|
84
80
|
|
85
81
|
|
82
|
+
/* Old Browsers
|
83
|
+
***************/
|
86
84
|
|
85
|
+
/* Remove the border on images inside links in IE 10 and earlier */
|
86
|
+
img { border-style: none; }
|
87
87
|
|
88
|
-
/*
|
89
|
-
|
90
|
-
*/
|
88
|
+
/* Hide the overflow in IE 10 and earlier */
|
89
|
+
svg { overflow: hidden; }
|
91
90
|
|
92
|
-
/*
|
93
|
-
|
94
|
-
:
|
95
|
-
line-sizing: normal;
|
91
|
+
/* Default block display on HTML5 elements */
|
92
|
+
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
93
|
+
display: block;
|
96
94
|
}
|
97
95
|
|
98
|
-
/*
|
99
|
-
|
100
|
-
|
101
|
-
|
96
|
+
/*
|
97
|
+
* 1. Add the correct box sizing in IE 10
|
98
|
+
* 2. Remove the padding in IE 10
|
99
|
+
*/
|
100
|
+
[type='checkbox'],
|
101
|
+
[type='radio'] {
|
102
|
+
box-sizing: border-box;
|
103
|
+
padding: 0;
|
102
104
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cssremedy-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Prudhomme
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|