-
Notifications
You must be signed in to change notification settings - Fork 182
/
helpers.sass
82 lines (64 loc) · 1.17 KB
/
helpers.sass
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
.is-sticky
position: sticky
position: -webkit-sticky
=logo($d, $t)
+desktop
width: $d
+touch
width: $t
.is-cncf-logo
+logo(40%, 75%)
.is-hero-logo
+logo(60%, 75%)
.is-footer-logo
+logo(40%, 75%)
.is-sticky
position: sticky
position: -webkit-sticky
top: $navbar-height + 2rem
.is-constrained
max-width: 80ch
.is-scrollable
overflow-y: auto
.has-extra-bottom-padding
padding-bottom: 8rem
// Fix bug in Bulma content
.content
.highlight, li .highlight
margin-bottom: 1rem
hr.thick
margin: 3rem 0
hr.color
background-color: $primary
width: 3rem
height: 0.35rem
margin-bottom: 2rem
&.secondary
background-color: $secondary
&.black
background-color: $black
.has-extra-card-content-padding
padding: 2.5rem
.has-extra-media-bottom-padding
margin-bottom: 2rem
.has-margin-right
+desktop
margin-right: 0.75rem
+touch
margin-right: 0.5rem
.content
.img
&:hover
cursor: pointer
table
table-layout: fixed
word-wrap: break-word
display: block
overflow-x: auto
white-space: nowrap
.is-page
display: flex
flex-direction: column
min-height: 100vh
.is-main
flex: 1