baseplate 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.
- checksums.yaml +4 -4
- data/README.md +10 -11
- data/lib/baseplate/version.rb +1 -1
- data/vendor/assets/stylesheets/baseplate.css +78 -28
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a695be71deb54a066530b7971fe19e0862d03884
|
4
|
+
data.tar.gz: 8cf2d805360ebd8a1b581122b93437ff21f1e7af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79d5c42acc685a6ac82870e57c9e5f1c20cfdde9691fd054f863b7c3fc014803c991d9fdd4e25d8a44a3cbf5a8cd6b9071908c5bc3e087c16005032414dc6a21
|
7
|
+
data.tar.gz: 031049adeb5d045adc03b7522d78e0926c600eb744ebf00375d58a7ac72e3249e3b42f0a3fe31e3c5cb3878efe17c913b985af81aaf657a9a4b950399f980543
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Baseplate
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Baseplate is my attempt as creating a simple and light CSS gem.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -12,6 +10,12 @@ Add this line to your application's Gemfile:
|
|
12
10
|
gem 'baseplate'
|
13
11
|
```
|
14
12
|
|
13
|
+
Add this line to application.css
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
*= require baseplate
|
17
|
+
```
|
18
|
+
|
15
19
|
And then execute:
|
16
20
|
|
17
21
|
$ bundle
|
@@ -22,17 +26,12 @@ Or install it yourself as:
|
|
22
26
|
|
23
27
|
## Usage
|
24
28
|
|
25
|
-
TODO:
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
29
|
+
TODO: Fix this section
|
30
|
+
ADD: navbar and nav items, buttons, forms and inputs, and links
|
32
31
|
|
33
32
|
## Contributing
|
34
33
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
34
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/monster52/baseplate.
|
36
35
|
|
37
36
|
|
38
37
|
## License
|
data/lib/baseplate/version.rb
CHANGED
@@ -4,53 +4,103 @@
|
|
4
4
|
@import url('https://fonts.googleapis.com/css?family=Roboto');
|
5
5
|
|
6
6
|
html {
|
7
|
-
|
8
|
-
|
7
|
+
height: 100;
|
8
|
+
font-size: 100%;
|
9
9
|
}
|
10
10
|
|
11
11
|
body {
|
12
|
-
|
13
|
-
|
12
|
+
font-family: 'Roboto', sans-serif;
|
13
|
+
min-height: 100%;
|
14
14
|
}
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
/******** NAVBAR ********/
|
17
|
+
.navbar {
|
18
|
+
display: flex;
|
19
|
+
justify-content: space-between;
|
20
|
+
padding: 0.5rem;
|
21
|
+
z-index: 1;
|
20
22
|
}
|
21
23
|
|
22
|
-
.
|
23
|
-
margin:
|
24
|
-
|
24
|
+
.navbar .logo {
|
25
|
+
margin-top: auto;
|
26
|
+
margin-botton: auto;
|
27
|
+
left: 2rem;
|
28
|
+
color: black;
|
29
|
+
font-weight: 700;
|
30
|
+
font-size: 1.2rem;
|
31
|
+
cursor: pointer;
|
25
32
|
}
|
26
33
|
|
27
|
-
.container
|
28
|
-
|
34
|
+
.navbar .links-container {
|
35
|
+
margin-top: auto;
|
36
|
+
margin-bottom: auto;
|
37
|
+
display: table;
|
38
|
+
top: 0;
|
39
|
+
right: 0;
|
40
|
+
height: 100%;
|
41
|
+
color: white;
|
42
|
+
text-decoration: none;
|
29
43
|
}
|
30
44
|
|
31
|
-
.
|
32
|
-
|
33
|
-
|
34
|
-
|
45
|
+
.links-container .navbar-link {
|
46
|
+
display: table-cell;
|
47
|
+
position: relative;
|
48
|
+
height: 100%;
|
49
|
+
padding-left: 1rem;
|
50
|
+
padding-right: 1rem;
|
51
|
+
vertical-align: middle;
|
52
|
+
color: black;
|
53
|
+
font-size: 0.625rem;
|
54
|
+
letter-spacing: 0.05rem;
|
55
|
+
font-weight: 700;
|
56
|
+
text-decoration: none;
|
57
|
+
cursor: pointer;
|
58
|
+
}
|
59
|
+
|
60
|
+
.links-container .navbar-link:hover {
|
61
|
+
color: rgb(233,50,117);
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
/******** LINKS ********/
|
66
|
+
a {
|
67
|
+
text-decoration: none;
|
35
68
|
}
|
36
69
|
|
37
|
-
|
38
|
-
|
70
|
+
/******** GRID ********/
|
71
|
+
.baseplate {
|
72
|
+
display: flex;
|
73
|
+
}
|
74
|
+
.baseplate .col {
|
75
|
+
flex: 1;
|
76
|
+
}
|
77
|
+
|
78
|
+
@media (max-width: 400px) {
|
79
|
+
.baseplate {
|
80
|
+
display: block;
|
81
|
+
.col {
|
82
|
+
width: 100%;
|
83
|
+
margin: 0 0 10px 0;
|
84
|
+
}
|
85
|
+
}
|
39
86
|
}
|
40
87
|
|
88
|
+
* {
|
89
|
+
box-sizing: border-box;
|
90
|
+
}
|
91
|
+
body {
|
92
|
+
padding: 20px;
|
93
|
+
}
|
94
|
+
.baseplate {
|
95
|
+
margin: 0 0 20px 0;
|
96
|
+
}
|
41
97
|
.col {
|
42
|
-
|
43
|
-
padding-left: 1rem;
|
44
|
-
padding-right: 1rem;
|
98
|
+
padding: 20px;
|
45
99
|
}
|
46
100
|
|
47
|
-
|
48
|
-
.col.two-thirds { width: 66.7; }
|
49
|
-
.col.half { width: 50%; }
|
50
|
-
.col.third { width: 33.3%; }
|
51
|
-
.col.fourth { width: 25%; }
|
52
|
-
.col.flow-opposite { float: right; }
|
101
|
+
/******** UTILS ********/
|
53
102
|
|
103
|
+
.text-center {text-align: center;}
|
54
104
|
|
55
105
|
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
|
56
106
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baseplate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ross Waguespack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Baseplate is a minimal css grid system. We have included normalize for
|
14
14
|
you.
|