mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 04:34:30 -07:00
Add content sizes, Fix columns margin, Update code color, Fix titles margin
This commit is contained in:
@@ -1,4 +1,12 @@
|
|||||||
.content
|
.content
|
||||||
|
&.is-medium
|
||||||
|
font-size: $size-5
|
||||||
|
code
|
||||||
|
font-size: $size-6
|
||||||
|
&.is-large
|
||||||
|
font-size: $size-4
|
||||||
|
code
|
||||||
|
font-size: $size-5
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-bottom: 20px
|
margin-bottom: 20px
|
||||||
h1,
|
h1,
|
||||||
|
|||||||
@@ -62,10 +62,13 @@
|
|||||||
width: ($i / 12) * 100%
|
width: ($i / 12) * 100%
|
||||||
|
|
||||||
.columns
|
.columns
|
||||||
margin-bottom: 10px
|
|
||||||
margin-left: -10px
|
margin-left: -10px
|
||||||
margin-right: -10px
|
margin-right: -10px
|
||||||
margin-top: -10px
|
margin-top: -10px
|
||||||
|
&:last-child
|
||||||
|
margin-bottom: -10px
|
||||||
|
&:not(:last-child)
|
||||||
|
margin-bottom: 10px
|
||||||
&.is-mobile
|
&.is-mobile
|
||||||
display: flex
|
display: flex
|
||||||
+tablet
|
+tablet
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ $text-strong: $grey-darker
|
|||||||
|
|
||||||
// Code
|
// Code
|
||||||
|
|
||||||
$code: $info
|
$code: $red
|
||||||
$code-background: $background
|
$code-background: $background
|
||||||
|
|
||||||
$pre: $text
|
$pre: $text
|
||||||
|
|||||||
@@ -34,6 +34,8 @@
|
|||||||
.subtitle
|
.subtitle
|
||||||
font-size: $size-medium
|
font-size: $size-medium
|
||||||
line-height: 1.125
|
line-height: 1.125
|
||||||
|
& + .title
|
||||||
|
margin-top: -20px
|
||||||
strong
|
strong
|
||||||
color: $text-strong
|
color: $text-strong
|
||||||
font-weight: 400
|
font-weight: 400
|
||||||
|
|||||||
31
css/bulma.css
vendored
31
css/bulma.css
vendored
@@ -220,7 +220,7 @@ a:hover {
|
|||||||
|
|
||||||
code {
|
code {
|
||||||
background: #f5f7fa;
|
background: #f5f7fa;
|
||||||
color: #42afe3;
|
color: #ed6c63;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
padding: 1px 2px 2px;
|
padding: 1px 2px 2px;
|
||||||
@@ -300,6 +300,22 @@ table th {
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content.is-medium {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content.is-medium code {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content.is-large {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content.is-large code {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
.content:not(:last-child) {
|
.content:not(:last-child) {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
@@ -1657,6 +1673,10 @@ table th {
|
|||||||
line-height: 1.125;
|
line-height: 1.125;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.subtitle + .title {
|
||||||
|
margin-top: -20px;
|
||||||
|
}
|
||||||
|
|
||||||
.subtitle strong {
|
.subtitle strong {
|
||||||
color: #222324;
|
color: #222324;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@@ -2465,12 +2485,19 @@ table th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.columns {
|
.columns {
|
||||||
margin-bottom: 10px;
|
|
||||||
margin-left: -10px;
|
margin-left: -10px;
|
||||||
margin-right: -10px;
|
margin-right: -10px;
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.columns:last-child {
|
||||||
|
margin-bottom: -10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.columns:not(:last-child) {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.columns.is-mobile {
|
.columns.is-mobile {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
2
css/bulma.min.css
vendored
2
css/bulma.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user