bulma/sass/elements/content.sass

74 lines
1.2 KiB
Sass
Raw Normal View History

2016-01-24 00:03:43 +00:00
.content
@extend .block
2016-04-10 15:56:27 +00:00
// Inline
2016-06-29 22:29:52 +00:00
a:not(.button)
border-bottom: 1px solid $border
2016-05-08 00:35:43 +00:00
&:visited
color: $link-visited
&:hover
border-bottom-color: $link
2016-04-10 15:56:27 +00:00
li + li
margin-top: 0.25em
// Block
blockquote,
p,
ol,
ul
&:not(:last-child)
margin-bottom: 1em
2016-01-24 00:03:43 +00:00
h1,
h2,
h3,
h4,
h5,
h6
color: $text-strong
font-weight: 300
line-height: 1.125
margin-bottom: 20px
h1,
h2,
h3
&:not(:first-child)
margin-top: 40px
2016-04-10 15:56:27 +00:00
blockquote
2016-06-29 22:59:48 +00:00
background-color: $background
2016-04-10 15:56:27 +00:00
border-left: 5px solid $border
padding: 1.5em
2016-01-24 00:03:43 +00:00
h1
font-size: 2em
h2
font-size: 1.75em
h3
font-size: 1.5em
h4
font-size: 1.25em
h5
font-size: 1.125em
h6
font-size: 1em
ol
list-style: decimal outside
2016-04-10 15:56:27 +00:00
margin-left: 2em
margin-right: 2em
margin-top: 1em
2016-01-24 00:03:43 +00:00
ul
list-style: disc outside
2016-04-10 15:56:27 +00:00
margin-left: 2em
margin-right: 2em
margin-top: 1em
2016-01-24 00:03:43 +00:00
ul
list-style-type: circle
margin-top: 0.5em
ul
list-style-type: square
2016-04-10 15:56:27 +00:00
// Sizes
&.is-medium
font-size: $size-5
code
font-size: $size-6
&.is-large
font-size: $size-4
code
font-size: $size-5