compass-susy-plugin 0.7.0.pre5 → 0.7.0.pre6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/compass-susy-plugin.gemspec +1 -1
- data/sass/susy/_vertical_rhythm.sass +8 -4
- data/templates/project/_base.sass +2 -2
- data/templates/project/print.sass +19 -1
- data/templates/project/screen.sass +4 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.0.
|
1
|
+
0.7.0.pre6
|
data/compass-susy-plugin.gemspec
CHANGED
@@ -42,10 +42,10 @@
|
|
42
42
|
// font size should use up. Does not have to be an integer, but it defaults
|
43
43
|
// to the smallest integer that is large enough to fit the font.
|
44
44
|
// Use !from_size to adjust from a non-base font-size.
|
45
|
-
=adjust-font-size-to(!to_size, !lines = ceil(!
|
45
|
+
=adjust-font-size-to(!to_size, !lines = ceil(!to_size / !base_line_height), !from_size = !base_font_size)
|
46
46
|
font-size= 1em * !to_size / !from_size
|
47
|
-
+adjust-leading-to(!lines, !
|
48
|
-
|
47
|
+
+adjust-leading-to(!lines, !to_size)
|
48
|
+
|
49
49
|
=adjust-leading-to(!lines, !font_size = !base_font_size)
|
50
50
|
line-height= 1em * !lines * !base_line_height / !font_size
|
51
51
|
|
@@ -94,4 +94,8 @@
|
|
94
94
|
// Apply both leading and trailing rhythm borders
|
95
95
|
=horizontal-borders(!width = 1px, !lines = 1, !font_size = !base_font_size, !border_style = !default_rhythm_border_style)
|
96
96
|
+leading-border(!width, !lines, !font_size, !border_style)
|
97
|
-
+trailing-border(!width, !lines, !font_size, !border_style)
|
97
|
+
+trailing-border(!width, !lines, !font_size, !border_style)
|
98
|
+
|
99
|
+
=h-borders(!width = 1px, !lines = 1, !font_size = !base_font_size, !border_style = !default_rhythm_border_style)
|
100
|
+
+horizontal-borders(!width, !lines, !font_size, !border_style)
|
101
|
+
|
@@ -4,4 +4,22 @@
|
|
4
4
|
<link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
|
5
5
|
|
6
6
|
|
7
|
-
@import defaults.sass
|
7
|
+
@import defaults.sass
|
8
|
+
|
9
|
+
=print()
|
10
|
+
nav
|
11
|
+
display: none
|
12
|
+
|
13
|
+
*
|
14
|
+
float: none !important
|
15
|
+
|
16
|
+
body
|
17
|
+
+serif-family
|
18
|
+
font-size: 12pt
|
19
|
+
background: white
|
20
|
+
color: black
|
21
|
+
|
22
|
+
a:link:after, a:visited:after
|
23
|
+
content: " (" attr(href) ") "
|
24
|
+
|
25
|
+
+print
|