### BREAKING
* `.is-text-*` renamed to `.has-text-*`
-* `.is-gapless` renamed to `.has-no-gap`
* removed `.is-fullwidth` helper
### Added
.content
@extend .block
- &.is-medium
- font-size: $size-5
- code
- font-size: $size-6
- &.is-large
- font-size: $size-4
- code
- font-size: $size-5
+ // Inline
+ li + li
+ margin-top: 0.25em
+ // Block
+ blockquote,
+ p,
+ ol,
+ ul
+ &:not(:last-child)
+ margin-bottom: 1em
h1,
h2,
h3,
h3
&:not(:first-child)
margin-top: 40px
+ blockquote
+ background: $background
+ border-left: 5px solid $border
+ padding: 1.5em
h1
font-size: 2em
h2
font-size: 1.125em
h6
font-size: 1em
- p:not(:last-child)
- margin-bottom: 1em
- li + li
- margin-top: 0.25em
ol
list-style: decimal outside
- margin: 1em 2em
+ margin-left: 2em
+ margin-right: 2em
+ margin-top: 1em
ul
list-style: disc outside
- margin: 1em 2em
+ margin-left: 2em
+ margin-right: 2em
+ margin-top: 1em
ul
list-style-type: circle
margin-top: 0.5em
ul
list-style-type: square
- blockquote
- background: $background
- border-left: 5px solid $border
- padding: 1.5em
- &:not(:last-child)
- margin-bottom: 1em
+ // Sizes
+ &.is-medium
+ font-size: $size-5
+ code
+ font-size: $size-6
+ &.is-large
+ font-size: $size-4
+ code
+ font-size: $size-5
overflow-x: hidden
overflow-y: scroll
text-rendering: optimizeLegibility
- &.has-modal-open
+ // Modifiers
+ &.has-modal
overflow: hidden
+article,
+aside,
+figure,
+footer,
+header,
+hgroup,
+section
+ display: block
+
body,
button,
input,
pre
-moz-osx-font-smoothing: auto
-webkit-font-smoothing: auto
- font-family: monospace
+ font-family: $family-code
line-height: 1.25
body
font-size: 1rem
line-height: 1.428571428571429
+// Inline
+
a
color: $link
cursor: pointer
strong
color: $text-strong
-article,
-aside,
-figure,
-footer,
-header,
-hgroup,
-section
- display: block
+// Block
pre
background: $pre-background
table
width: 100%
- th,
- td
+ td,
+ th
text-align: left
vertical-align: top
th
color: $text-strong
-.block:not(:last-child)
- margin-bottom: 20px
+// Classes
+
+.block
+ &:not(:last-child)
+ margin-bottom: 20px
.container
position: relative
+desktop
margin: 0 auto
max-width: 960px
+ // Modifiers
&.is-fluid
margin: 0 20px
max-width: none
.card
background: white
box-shadow: 0 2px 3px rgba(black, 0.1), 0 0 0 1px rgba(black, 0.1)
+ color: $text
max-width: 100%
position: relative
width: 300px
justify-content: center
&.is-mobile
display: flex
- &.has-no-gap
+ &.is-gapless
margin-left: 0
margin-right: 0
&:not(:last-child)
// Typography
$family-primary: $family-sans-serif
+$family-code: $family-monospace
$size-small: $size-7
$size-normal: $size-6
color: $color-invert
&:hover
background: rgba(black, 0.05)
+ border-color: $color-invert
+ color: $color-invert
&.is-loading
&:after
border-color: transparent transparent $color-invert $color-invert !important
align-items: stretch
display: flex
width: 100%
+ // Modifiers
&.has-shadow
box-shadow: 0 1px 2px rgba(black, 0.1)
+ // Responsiveness
+mobile
.container
flex-direction: column
position: absolute
right: 0
top: 0
+ // Responsiveness
+tablet
display: none
align-items: center
display: flex
padding: 10px
- img
- max-height: 24px
a
flex-grow: 1
+ img
+ max-height: 24px
+ .button + .button
+ margin-left: 10px
.fa
font-size: 21px
line-height: 24px
- .button + .button
- margin-left: 10px
.tag
&:first-child
margin-right: 5px
&:last-child
margin-left: 5px
+ // Responsiveness
+mobile
text-align: left
color: $text
&:hover
color: $link-hover
+ // Modifiers
&.is-active
color: $link-active
padding: 13px 15px
&:hover
border-bottom: 1px solid $link
+ // Modifiers
&.is-active
border-bottom: 3px solid $link
color: $link
overflow: hidden
overflow-x: auto
white-space: nowrap
+ // Responsiveness
+mobile
height: $header-height
+desktop
- .header-item:first-child
- padding-left: 0
+ margin-left: -10px
.header-right
align-items: stretch
+ // Responsiveness
+tablet
display: flex
+desktop
- .header-item:last-child
- padding-right: 0
+ margin-right: -10px
.header-full
align-items: stretch
width: 100%
.header-menu
+ // Responsiveness
+mobile
box-shadow: 0 4px 7px rgba(black, 0.1)
display: none
.header-item
border-top: 1px solid rgba($border, 0.5)
padding: 10px
+ // Modifiers
&.is-active
display: block
.hero-video
+overlay
overflow: hidden
- &.is-transparent
- opacity: 0.3
video
left: 50%
min-height: 100%
position: absolute
top: 50%
transform: translate3d(-50%, -50%, 0)
+ // Modifiers
+ &.is-transparent
+ opacity: 0.3
+ // Responsiveness
+mobile
display: none
.hero-content
padding: 40px 20px
+ // Responsiveness
+desktop
padding: 40px 0
.hero-buttons
margin-top: 20px
+ // Responsiveness
+mobile
.button
display: block
border: none
ul
border-bottom: none
+ // Modifiers
&.is-boxed
a
padding: 8px 15px
+ // Colors
@each $name, $pair in $colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&:hover
background: $color-invert
color: $color
+ // Modifiers
&.is-bold
$gradient-top-left: darken(saturate(adjust-hue($color, -10deg), 10%), 10%)
$gradient-bottom-right: lighten(saturate(adjust-hue($color, 10deg), 5%), 5%)
background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
+ // Responsiveness
+mobile
.header-toggle
span
.header-menu
.header-item
border-top-color: rgba($color-invert, 0.2)
+ // Sizes
&.is-fullheight,
&.is-large
+ // Responsiveness
+tablet
.tabs
font-size: $size-medium
&.is-medium
+ // Responsiveness
+tablet
.hero-content
padding: 120px 20px
+desktop
.hero-content
padding: 120px 0
- &.is-large
- .tabs
- a
- padding: 10px 15px
- +tablet
- .hero-content
- padding: 240px 20px
- +desktop
- .hero-content
- padding: 240px 0
&.is-fullheight
align-items: stretch
display: flex
flex: 1
flex-direction: column
justify-content: center
+ &.is-large
+ .tabs
+ a
+ padding: 10px 15px
+ // Responsiveness
+ +tablet
+ .hero-content
+ padding: 240px 20px
+ +desktop
+ .hero-content
+ padding: 240px 0
padding: 40px 20px
& + .section
border-top: 1px solid rgba($border, 0.5)
+ // Responsiveness
+desktop
padding: 40px 0
+ // Sizes
&.is-medium
padding: 120px 0
&.is-large