cssremedy-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +20 -0
- data/README.md +4 -2
- data/lib/cssremedy-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/cssremedy-rails/remedy.css +19 -24
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8142015adba746021591378534d10576b20e2af0110d35b45123db69688ddab
|
4
|
+
data.tar.gz: f5de84b19e51b7150459e694aa40d72e1b6a8b97a67379ff8645d8103f8e649a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2cf0bf0234094f926fa3d106a196e8f22632bf339e54616e783e63abac8a42793decdc706564278f2ba675a7f98715733a9e28dfb94fcca8dad85dc071ec80f
|
7
|
+
data.tar.gz: 7f1806823b0d2705e151a08ea1a4cb0ca2eba1e40a22c23ca0613f371b01f5546e802682566116161623699ed4434c4c9d7e2039becb9f3121dc6934e63825d1
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
cssremedy-rails (0.1.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
rake (10.5.0)
|
10
|
+
|
11
|
+
PLATFORMS
|
12
|
+
ruby
|
13
|
+
|
14
|
+
DEPENDENCIES
|
15
|
+
bundler (~> 1.17)
|
16
|
+
cssremedy-rails!
|
17
|
+
rake (~> 10.0)
|
18
|
+
|
19
|
+
BUNDLED WITH
|
20
|
+
1.17.1
|
data/README.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
# cssremedy-rails
|
1
|
+
# cssremedy-rails · [![Gem Version](https://badge.fury.io/rb/cssremedy-rails.svg)](https://badge.fury.io/rb/cssremedy-rails)
|
2
2
|
|
3
3
|
Integrates [remedy.css](https://github.com/mozdevs/cssremedy) with the rails asset pipeline.
|
4
4
|
|
5
5
|
>Start your project with a remedy for the technical debt of CSS. A gift to you from Mozilla Developer Outreach.
|
6
6
|
|
7
|
+
CSS Remedy was started and is being led by [Jen Simmons](https://github.com/jensimmons) of Mozilla Developer Outreach.
|
8
|
+
A list of contributors can be found [here](https://github.com/mozdevs/cssremedy/graphs/contributors).
|
7
9
|
|
8
10
|
## Installation
|
9
11
|
|
@@ -49,4 +51,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
49
51
|
|
50
52
|
## Code of Conduct
|
51
53
|
|
52
|
-
Everyone interacting in the
|
54
|
+
Everyone interacting in the cssremedy-rails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/blakeprudhomme/cssremedy-rails/blob/master/CODE_OF_CONDUCT.md).
|
@@ -1,33 +1,27 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
font-size: 100%; /* Is this needed? Define the best way to define font size. */
|
3
|
+
/* This project is under construction. It's not ready for release yet. As of Feb 11, 2019. */
|
4
|
+
|
6
5
|
|
7
|
-
}
|
8
|
-
*, *:before, *:after {
|
9
|
-
box-sizing: inherit; /* Switching to border-box for box-sizing. */
|
10
|
-
}
|
11
6
|
|
12
|
-
|
7
|
+
* { box-sizing: border-box; } /* Switch to border-box for box-sizing. */
|
8
|
+
|
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. */
|
13
11
|
@media (prefers-reduced-motion: reduce) {
|
14
12
|
* {
|
15
|
-
animation:
|
16
|
-
transition:
|
17
|
-
animation-duration: 0.1s !important;
|
18
|
-
transition-duration: 0.1s !important;
|
13
|
+
animation-duration: 0.001s !important;
|
14
|
+
transition-duration: 0.001s !important;
|
19
15
|
}
|
20
16
|
}
|
21
17
|
|
22
18
|
body {
|
23
19
|
margin: 0; /* Remove the tiny space around the edge of the page */
|
24
|
-
text-size-adjust: 100%; /* Fix for iOS Safari */
|
25
20
|
}
|
26
21
|
|
27
|
-
|
28
22
|
/* Switch to using rem units for typography. Fix line-height on headlines. */
|
29
23
|
h1 {
|
30
|
-
font-size: 2rem; /*
|
24
|
+
font-size: 2rem; /* Make all H1 large, remove nested-shrinking sizes. */
|
31
25
|
margin: 0.67em 0;
|
32
26
|
}
|
33
27
|
h2 {
|
@@ -50,42 +44,43 @@ h2, h3, h4, h5, h6{
|
|
50
44
|
line-height: 1;
|
51
45
|
}
|
52
46
|
|
53
|
-
/* Improve
|
47
|
+
/* Improve readability */
|
54
48
|
p {
|
55
|
-
line-height: 1.5;
|
49
|
+
line-height: 1.5;
|
56
50
|
}
|
57
51
|
|
58
52
|
|
59
|
-
pre {
|
53
|
+
pre {
|
60
54
|
white-space: pre-wrap; /* Overflow by default is bad. */
|
61
55
|
}
|
62
56
|
|
63
57
|
|
64
|
-
/*
|
58
|
+
/* Are browsers now consistent with margin & padding on lists?
|
65
59
|
See: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Consistent_list_indentation */
|
66
60
|
nav ul {
|
67
61
|
list-style: none;
|
68
62
|
}
|
69
63
|
|
70
|
-
|
64
|
+
|
71
65
|
img {
|
72
66
|
border-style: none; /* Remove the border on images inside links in IE 10 and earlier. */
|
73
|
-
vertical-align: bottom; /* Fix problem with images having a tiny gap for a
|
67
|
+
vertical-align: bottom; /* Fix problem with images having a tiny gap for a descender under them. */
|
74
68
|
display: block; /* Switch display mode to block, since that's what we usually want for images. */
|
75
69
|
max-width: 100%; /* Make images flexible by default. */
|
70
|
+
height: auto; /* Ensure images maintain their aspect ratio when max-width comes into play. */
|
76
71
|
}
|
77
72
|
|
78
73
|
|
79
74
|
/* In English, when styling the <q> element, use curly quotes instead of straight quotes. */
|
80
75
|
|
81
|
-
/* Code for this is now in the quotes.css file */
|
76
|
+
/* Code for this is now in the quotes.css file */
|
82
77
|
|
83
78
|
|
84
|
-
/*
|
79
|
+
/* Support upcoming properties that haven't been broadly implemented yet,
|
85
80
|
but for which the initial value and legacy behavior is not be the best behavior.
|
86
81
|
*/
|
87
82
|
|
88
|
-
/* Consistent line spacing, which does not
|
83
|
+
/* Consistent line spacing, which does not unnecessarily grow to accommodate things that would fit anyway */
|
89
84
|
:root {
|
90
85
|
line-sizing: normal;
|
91
86
|
}
|
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.1
|
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-02-
|
11
|
+
date: 2019-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -48,6 +48,7 @@ files:
|
|
48
48
|
- ".gitignore"
|
49
49
|
- CODE_OF_CONDUCT.md
|
50
50
|
- Gemfile
|
51
|
+
- Gemfile.lock
|
51
52
|
- LICENSE.txt
|
52
53
|
- README.md
|
53
54
|
- Rakefile
|