compass-leacocks 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.mkdn
CHANGED
data/compass-leacocks.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{compass-leacocks}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
|
8
8
|
s.authors = ["Parker Moore"]
|
9
|
-
s.date = %q{2012-
|
9
|
+
s.date = %q{2012-09-04}
|
10
10
|
s.description = %q{A Compass plugin for the creation of Leacock's-branded websites.}
|
11
11
|
s.email = %w{parker@leacocks.com}
|
12
12
|
s.has_rdoc = false
|
@@ -17,7 +17,11 @@ Gem::Specification.new do |s|
|
|
17
17
|
"CHANGELOG.mkdn",
|
18
18
|
"lib/leacocks.rb",
|
19
19
|
"stylesheets/leacocks/_general.scss",
|
20
|
-
"stylesheets/leacocks/_variables.scss"
|
20
|
+
"stylesheets/leacocks/_variables.scss",
|
21
|
+
"stylesheets/leacocks/v1.0/_general.scss",
|
22
|
+
"stylesheets/leacocks/v1.0/_variables.scss",
|
23
|
+
"stylesheets/leacocks/v2.0/_general.scss",
|
24
|
+
"stylesheets/leacocks/v2.0/_variables.scss"
|
21
25
|
]
|
22
26
|
s.homepage = %q{https://github.com/CALSCommunications/compass-cornell-plugin}
|
23
27
|
s.require_paths = ["lib"]
|
@@ -0,0 +1,104 @@
|
|
1
|
+
//
|
2
|
+
// General styles for Leacock's Branding.
|
3
|
+
//
|
4
|
+
// Created by Parker Moore, programmer at Leacock's Online Arts Magazine, Montréal, QC, Canada
|
5
|
+
// Copyright 2012, Leacock's Online Arts Magazine. (http://leacocks.com)
|
6
|
+
//
|
7
|
+
// Licensed under The MIT License
|
8
|
+
// Redistributions of files must retain the above copyright notice.
|
9
|
+
//
|
10
|
+
// @copyright Copyright 2012, Leacock's Online Arts Magazine. (http://leacocks.com)
|
11
|
+
// @link http://leacocks.com Leacock's Online Arts Magazine
|
12
|
+
// @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
13
|
+
//
|
14
|
+
|
15
|
+
/* "Arvo" taken from Google Webfonts - reduced to bare code for our purposes */
|
16
|
+
@font-face {
|
17
|
+
font-family: 'Arvo';
|
18
|
+
font-style: normal;
|
19
|
+
font-weight: normal;
|
20
|
+
src: local('Arvo'), url('http://themes.googleusercontent.com/font?kit=BM-nqL-L5PgjKPDNaleWB_esZW2xOQ-xsNqO47m55DA') format('woff');
|
21
|
+
}
|
22
|
+
@font-face {
|
23
|
+
font-family: 'Arvo';
|
24
|
+
font-style: italic;
|
25
|
+
font-weight: normal;
|
26
|
+
src: local('Arvo Italic'), local('Arvo-Italic'), url('http://themes.googleusercontent.com/font?kit=ui4L3MaHUbARhH-m5bxHRevvDin1pK8aKteLpeZ5c0A') format('woff');
|
27
|
+
}
|
28
|
+
@font-face {
|
29
|
+
font-family: 'Arvo';
|
30
|
+
font-style: normal;
|
31
|
+
font-weight: bold;
|
32
|
+
src: local('Arvo Bold'), local('Arvo-Bold'), url('http://themes.googleusercontent.com/font?kit=_OKjjqM9ed2qvTR07QdjWwLUuEpTyoUstqEm5AMlJo4') format('woff');
|
33
|
+
}
|
34
|
+
|
35
|
+
/* "Merriweather" taken from Google Webfonts - reduced to bare code for our purposes */
|
36
|
+
@font-face {
|
37
|
+
font-family: 'Merriweather';
|
38
|
+
font-style: normal;
|
39
|
+
font-weight: 700;
|
40
|
+
src: local('Merriweather Bold'), local('Merriweather-Bold'), url('http://themes.googleusercontent.com/font?kit=ZvcMqxEwPfh2qDWBPxn6nhAPw1J91axKNXP_-QX9CC8') format('woff');
|
41
|
+
}
|
42
|
+
@font-face {
|
43
|
+
font-family: 'Merriweather';
|
44
|
+
font-style: normal;
|
45
|
+
font-weight: 300;
|
46
|
+
src: local('Merriweather Light'), local('Merriweather-Light'), url('http://themes.googleusercontent.com/font?kit=ZvcMqxEwPfh2qDWBPxn6nmB7wJ9CoPCp9n30ZBThZ1I') format('woff');
|
47
|
+
}
|
48
|
+
@font-face {
|
49
|
+
font-family: 'Merriweather';
|
50
|
+
font-style: normal;
|
51
|
+
font-weight: normal;
|
52
|
+
src: local('Merriweather'), url('http://themes.googleusercontent.com/font?kit=RFda8w1V0eDZheqfcyQ4EKRDOzjiPcYnFooOUGCOsRk') format('woff');
|
53
|
+
}
|
54
|
+
|
55
|
+
/* "Crimson Text" taken from Google Webfonts - reduced to bare code for our purposes */
|
56
|
+
@font-face {
|
57
|
+
font-family: 'Crimson Text';
|
58
|
+
font-style: italic;
|
59
|
+
font-weight: 400;
|
60
|
+
src: local('Crimson Text Italic'), local('CrimsonText-Italic'), url('http://themes.googleusercontent.com/font?kit=a5QZnvmn5amyNI-t2BMkWL52ooqJRs02xO3mONBoqeI') format('woff');
|
61
|
+
}
|
62
|
+
@font-face {
|
63
|
+
font-family: 'Crimson Text';
|
64
|
+
font-style: italic;
|
65
|
+
font-weight: 700;
|
66
|
+
src: local('Crimson Text Bold Italic'), local('CrimsonText-BoldItalic'), url('http://themes.googleusercontent.com/font?kit=4j4TR-EfnvCt43InYpUNDLz7bF_NE717IFsea40dLmU') format('woff');
|
67
|
+
}
|
68
|
+
@font-face {
|
69
|
+
font-family: 'Crimson Text';
|
70
|
+
font-style: normal;
|
71
|
+
font-weight: normal;
|
72
|
+
src: local('Crimson Text'), local('CrimsonText-Roman'), url('http://themes.googleusercontent.com/font?kit=3IFMwfRa07i-auYR-B-zNaRDOzjiPcYnFooOUGCOsRk') format('woff');
|
73
|
+
}
|
74
|
+
@font-face {
|
75
|
+
font-family: 'Crimson Text';
|
76
|
+
font-style: normal;
|
77
|
+
font-weight: 700;
|
78
|
+
src: local('Crimson Text Bold'), local('CrimsonText-Bold'), url('http://themes.googleusercontent.com/font?kit=rEy5tGc5HdXy56Xvd4f3IxAPw1J91axKNXP_-QX9CC8') format('woff');
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
header {
|
83
|
+
display: block;
|
84
|
+
font-family: "Arvo", "Courier New", Courier, serif;
|
85
|
+
font-size: 46px;
|
86
|
+
font-weight: bold;
|
87
|
+
}
|
88
|
+
h1, h2, h3, h4, h5, h6 { font-family: "Arvo", "Courier New", Courier, serif; }
|
89
|
+
body {
|
90
|
+
font-family: "Merriweather", Georgia, Times, serif;
|
91
|
+
font-size: 16px;
|
92
|
+
em {
|
93
|
+
font-family: 'Crimson Text', Georgia, Times, serif;
|
94
|
+
font-size: 1.2em;
|
95
|
+
}
|
96
|
+
strong {
|
97
|
+
font-family: 'Crimson Text', Georgia, Times, serif;
|
98
|
+
font-size: 1.15em;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
p {
|
102
|
+
line-height: 1.4em;
|
103
|
+
}
|
104
|
+
blockquote { font-family: "Merriweather", Georgia, Times, serif; color: #282828; background-color: #ddd; padding: 10px; font-size: 14px; }
|
@@ -0,0 +1,79 @@
|
|
1
|
+
//
|
2
|
+
// Useful variables for Compass-wielding web developer using Leacock's designs.
|
3
|
+
//
|
4
|
+
// Created by Parker Moore, programmer at Leacock's Online Arts Magazine, Montréal, QC, Canada
|
5
|
+
// Copyright 2012, Leacock's Online Arts Magazine. (http://leacocks.com)
|
6
|
+
//
|
7
|
+
// Licensed under The MIT License
|
8
|
+
// Redistributions of files must retain the above copyright notice.
|
9
|
+
//
|
10
|
+
// @copyright Copyright 2012, Leacock's Online Arts Magazine. (http://leacocks.com)
|
11
|
+
// @link http://leacocks.com Leacock's Online Arts Magazine
|
12
|
+
// @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
13
|
+
//
|
14
|
+
|
15
|
+
$LCRed: #d90000;
|
16
|
+
|
17
|
+
$LCHeaderBorderColor: $LCRed;
|
18
|
+
$LCHeaderHeight: 55px;
|
19
|
+
|
20
|
+
@mixin leacocks-header {
|
21
|
+
#header {
|
22
|
+
border-bottom: $LCHeaderBorderColor 5px solid;
|
23
|
+
padding: 0;
|
24
|
+
margin: 0;
|
25
|
+
font-weight: normal;
|
26
|
+
a {
|
27
|
+
display: inline-block;
|
28
|
+
background-color: #eee;
|
29
|
+
color: #000;
|
30
|
+
/*width: 215px;
|
31
|
+
height: 75px;*/
|
32
|
+
padding: 0px;
|
33
|
+
margin: 0px 5px 0px 0px;
|
34
|
+
&:hover {
|
35
|
+
text-decoration: underline;
|
36
|
+
}
|
37
|
+
img {
|
38
|
+
vertical-align: middle;
|
39
|
+
margin: 0;
|
40
|
+
padding: 0;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
header {
|
44
|
+
display: inline-block;
|
45
|
+
margin: 0px;
|
46
|
+
padding: 0px;
|
47
|
+
vertical-align: bottom;
|
48
|
+
text-transform: uppercase;
|
49
|
+
font-size: 48px;
|
50
|
+
font-weight: normal;
|
51
|
+
width: 233px;
|
52
|
+
$LCHeaderHeight: 55px;
|
53
|
+
height: $LCHeaderHeight;
|
54
|
+
&:hover{ cursor: pointer; }
|
55
|
+
a {
|
56
|
+
background-color: #eee;
|
57
|
+
color: #000;
|
58
|
+
height: $LCHeaderHeight;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
nav {
|
62
|
+
display: inline-block;
|
63
|
+
text-align: right;
|
64
|
+
width: 487px;
|
65
|
+
vertical-align: bottom;
|
66
|
+
font-family: "Arvo", "Courier New", Courier, serif;
|
67
|
+
font-size: 25px;
|
68
|
+
font-weight: normal;
|
69
|
+
text-transform: uppercase;
|
70
|
+
a {
|
71
|
+
display: inline-block;
|
72
|
+
margin-left: 10px;
|
73
|
+
margin-bottom: 2px;
|
74
|
+
margin-right: 0px;
|
75
|
+
padding-right: 0px;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
@@ -0,0 +1,104 @@
|
|
1
|
+
//
|
2
|
+
// General styles for Leacock's Branding.
|
3
|
+
//
|
4
|
+
// Created by Parker Moore, programmer at Leacock's Online Arts Magazine, Montréal, QC, Canada
|
5
|
+
// Copyright 2012, Leacock's Online Arts Magazine. (http://leacocks.com)
|
6
|
+
//
|
7
|
+
// Licensed under The MIT License
|
8
|
+
// Redistributions of files must retain the above copyright notice.
|
9
|
+
//
|
10
|
+
// @copyright Copyright 2012, Leacock's Online Arts Magazine. (http://leacocks.com)
|
11
|
+
// @link http://leacocks.com Leacock's Online Arts Magazine
|
12
|
+
// @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
13
|
+
//
|
14
|
+
|
15
|
+
/* "Arvo" taken from Google Webfonts - reduced to bare code for our purposes */
|
16
|
+
@font-face {
|
17
|
+
font-family: 'Arvo';
|
18
|
+
font-style: normal;
|
19
|
+
font-weight: normal;
|
20
|
+
src: local('Arvo'), url('http://themes.googleusercontent.com/font?kit=BM-nqL-L5PgjKPDNaleWB_esZW2xOQ-xsNqO47m55DA') format('woff');
|
21
|
+
}
|
22
|
+
@font-face {
|
23
|
+
font-family: 'Arvo';
|
24
|
+
font-style: italic;
|
25
|
+
font-weight: normal;
|
26
|
+
src: local('Arvo Italic'), local('Arvo-Italic'), url('http://themes.googleusercontent.com/font?kit=ui4L3MaHUbARhH-m5bxHRevvDin1pK8aKteLpeZ5c0A') format('woff');
|
27
|
+
}
|
28
|
+
@font-face {
|
29
|
+
font-family: 'Arvo';
|
30
|
+
font-style: normal;
|
31
|
+
font-weight: bold;
|
32
|
+
src: local('Arvo Bold'), local('Arvo-Bold'), url('http://themes.googleusercontent.com/font?kit=_OKjjqM9ed2qvTR07QdjWwLUuEpTyoUstqEm5AMlJo4') format('woff');
|
33
|
+
}
|
34
|
+
|
35
|
+
/* "Merriweather" taken from Google Webfonts - reduced to bare code for our purposes */
|
36
|
+
@font-face {
|
37
|
+
font-family: 'Merriweather';
|
38
|
+
font-style: normal;
|
39
|
+
font-weight: 700;
|
40
|
+
src: local('Merriweather Bold'), local('Merriweather-Bold'), url('http://themes.googleusercontent.com/font?kit=ZvcMqxEwPfh2qDWBPxn6nhAPw1J91axKNXP_-QX9CC8') format('woff');
|
41
|
+
}
|
42
|
+
@font-face {
|
43
|
+
font-family: 'Merriweather';
|
44
|
+
font-style: normal;
|
45
|
+
font-weight: 300;
|
46
|
+
src: local('Merriweather Light'), local('Merriweather-Light'), url('http://themes.googleusercontent.com/font?kit=ZvcMqxEwPfh2qDWBPxn6nmB7wJ9CoPCp9n30ZBThZ1I') format('woff');
|
47
|
+
}
|
48
|
+
@font-face {
|
49
|
+
font-family: 'Merriweather';
|
50
|
+
font-style: normal;
|
51
|
+
font-weight: normal;
|
52
|
+
src: local('Merriweather'), url('http://themes.googleusercontent.com/font?kit=RFda8w1V0eDZheqfcyQ4EKRDOzjiPcYnFooOUGCOsRk') format('woff');
|
53
|
+
}
|
54
|
+
|
55
|
+
/* "Crimson Text" taken from Google Webfonts - reduced to bare code for our purposes */
|
56
|
+
@font-face {
|
57
|
+
font-family: 'Crimson Text';
|
58
|
+
font-style: italic;
|
59
|
+
font-weight: 400;
|
60
|
+
src: local('Crimson Text Italic'), local('CrimsonText-Italic'), url('http://themes.googleusercontent.com/font?kit=a5QZnvmn5amyNI-t2BMkWL52ooqJRs02xO3mONBoqeI') format('woff');
|
61
|
+
}
|
62
|
+
@font-face {
|
63
|
+
font-family: 'Crimson Text';
|
64
|
+
font-style: italic;
|
65
|
+
font-weight: 700;
|
66
|
+
src: local('Crimson Text Bold Italic'), local('CrimsonText-BoldItalic'), url('http://themes.googleusercontent.com/font?kit=4j4TR-EfnvCt43InYpUNDLz7bF_NE717IFsea40dLmU') format('woff');
|
67
|
+
}
|
68
|
+
@font-face {
|
69
|
+
font-family: 'Crimson Text';
|
70
|
+
font-style: normal;
|
71
|
+
font-weight: normal;
|
72
|
+
src: local('Crimson Text'), local('CrimsonText-Roman'), url('http://themes.googleusercontent.com/font?kit=3IFMwfRa07i-auYR-B-zNaRDOzjiPcYnFooOUGCOsRk') format('woff');
|
73
|
+
}
|
74
|
+
@font-face {
|
75
|
+
font-family: 'Crimson Text';
|
76
|
+
font-style: normal;
|
77
|
+
font-weight: 700;
|
78
|
+
src: local('Crimson Text Bold'), local('CrimsonText-Bold'), url('http://themes.googleusercontent.com/font?kit=rEy5tGc5HdXy56Xvd4f3IxAPw1J91axKNXP_-QX9CC8') format('woff');
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
header {
|
83
|
+
display: block;
|
84
|
+
font-family: "Arvo", "Courier New", Courier, serif;
|
85
|
+
font-size: 46px;
|
86
|
+
font-weight: bold;
|
87
|
+
}
|
88
|
+
h1, h2, h3, h4, h5, h6 { font-family: "Arvo", "Courier New", Courier, serif; }
|
89
|
+
body {
|
90
|
+
font-family: "Merriweather", Georgia, Times, serif;
|
91
|
+
font-size: 16px;
|
92
|
+
em {
|
93
|
+
font-family: 'Crimson Text', Georgia, Times, serif;
|
94
|
+
font-size: 1.2em;
|
95
|
+
}
|
96
|
+
strong {
|
97
|
+
font-family: 'Crimson Text', Georgia, Times, serif;
|
98
|
+
font-size: 1.15em;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
p {
|
102
|
+
line-height: 1.4em;
|
103
|
+
}
|
104
|
+
blockquote { font-family: "Merriweather", Georgia, Times, serif; color: #282828; background-color: #ddd; padding: 10px; font-size: 14px; }
|
@@ -0,0 +1,79 @@
|
|
1
|
+
//
|
2
|
+
// Useful variables for Compass-wielding web developer using Leacock's designs.
|
3
|
+
//
|
4
|
+
// Created by Parker Moore, programmer at Leacock's Online Arts Magazine, Montréal, QC, Canada
|
5
|
+
// Copyright 2012, Leacock's Online Arts Magazine. (http://leacocks.com)
|
6
|
+
//
|
7
|
+
// Licensed under The MIT License
|
8
|
+
// Redistributions of files must retain the above copyright notice.
|
9
|
+
//
|
10
|
+
// @copyright Copyright 2012, Leacock's Online Arts Magazine. (http://leacocks.com)
|
11
|
+
// @link http://leacocks.com Leacock's Online Arts Magazine
|
12
|
+
// @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
13
|
+
//
|
14
|
+
|
15
|
+
$LCRed: #d90000;
|
16
|
+
|
17
|
+
$LCHeaderBorderColor: $LCRed;
|
18
|
+
$LCHeaderHeight: 55px;
|
19
|
+
|
20
|
+
@mixin leacocks-header {
|
21
|
+
#header {
|
22
|
+
border-bottom: $LCHeaderBorderColor 5px solid;
|
23
|
+
padding: 0;
|
24
|
+
margin: 0;
|
25
|
+
font-weight: normal;
|
26
|
+
a {
|
27
|
+
display: inline-block;
|
28
|
+
background-color: #eee;
|
29
|
+
color: #000;
|
30
|
+
/*width: 215px;
|
31
|
+
height: 75px;*/
|
32
|
+
padding: 0px;
|
33
|
+
margin: 0px 5px 0px 0px;
|
34
|
+
&:hover {
|
35
|
+
text-decoration: underline;
|
36
|
+
}
|
37
|
+
img {
|
38
|
+
vertical-align: middle;
|
39
|
+
margin: 0;
|
40
|
+
padding: 0;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
header {
|
44
|
+
display: inline-block;
|
45
|
+
margin: 0px;
|
46
|
+
padding: 0px;
|
47
|
+
vertical-align: bottom;
|
48
|
+
text-transform: uppercase;
|
49
|
+
font-size: 48px;
|
50
|
+
font-weight: normal;
|
51
|
+
width: 233px;
|
52
|
+
$LCHeaderHeight: 55px;
|
53
|
+
height: $LCHeaderHeight;
|
54
|
+
&:hover{ cursor: pointer; }
|
55
|
+
a {
|
56
|
+
background-color: #eee;
|
57
|
+
color: #000;
|
58
|
+
height: $LCHeaderHeight;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
nav {
|
62
|
+
display: inline-block;
|
63
|
+
text-align: right;
|
64
|
+
width: 487px;
|
65
|
+
vertical-align: bottom;
|
66
|
+
font-family: "Arvo", "Courier New", Courier, serif;
|
67
|
+
font-size: 25px;
|
68
|
+
font-weight: normal;
|
69
|
+
text-transform: uppercase;
|
70
|
+
a {
|
71
|
+
display: inline-block;
|
72
|
+
margin-left: 10px;
|
73
|
+
margin-bottom: 2px;
|
74
|
+
margin-right: 0px;
|
75
|
+
padding-right: 0px;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-leacocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: compass
|
@@ -41,6 +41,10 @@ files:
|
|
41
41
|
- lib/leacocks.rb
|
42
42
|
- stylesheets/leacocks/_general.scss
|
43
43
|
- stylesheets/leacocks/_variables.scss
|
44
|
+
- stylesheets/leacocks/v1.0/_general.scss
|
45
|
+
- stylesheets/leacocks/v1.0/_variables.scss
|
46
|
+
- stylesheets/leacocks/v2.0/_general.scss
|
47
|
+
- stylesheets/leacocks/v2.0/_variables.scss
|
44
48
|
homepage: https://github.com/CALSCommunications/compass-cornell-plugin
|
45
49
|
licenses: []
|
46
50
|
post_install_message:
|