-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathmixin.sass
More file actions
67 lines (54 loc) · 1.23 KB
/
mixin.sass
File metadata and controls
67 lines (54 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@mixin text-overflow
width: 100%
text-overflow: ellipsis
white-space: nowrap
overflow: hidden
@mixin title-text
font-size: $title
color: $grey-800
@mixin content-text
font-size: $content
line-height: 1.6 * $content
color: $grey-600
@mixin footer-text
font-size: $footer
color: $grey-400
@mixin banner-image
width: 280rpx
@mixin caption
font-size: $caption
font-weight: $regular
color: $grey-700
@mixin headline
font-size: $headline
font-weight: $semibold
color: $grey-900
@mixin title
font-size: $title
font-weight: $semibold
color: $grey-900
line-height: 1.6 * $title
@mixin subheading($line-height)
font-size: $subheading
font-weight: $regular
color: $grey-800
line-height: $line-height * $subheading
@mixin supplement($line-height)
font-size: $supplement
font-weight: $regular
color: $grey-700
line-height: $line-height * $supplement
@mixin clearfix
&:after,
&:before
content: ""
display: table
line-height: 0
&:after
clear: both
@mixin carousel-image
width: calc(100vw - 2 * #{$gutter})
height: calc((100vw - 2 * #{$gutter}) * 3 / 2)
border-radius: $radius-2db
@mixin googleFont
font-family: "NotoSans-Bold, NotoMono-Regular, NotoSans-Regular, 'Roboto'"