mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 20:54:30 -07:00
Change default font size
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$nav-height: 3.5rem !default
|
||||
$nav-height: 3.25rem !default
|
||||
|
||||
// Components
|
||||
|
||||
@@ -15,6 +15,7 @@ $nav-height: 3.5rem !default
|
||||
flex-shrink: 0
|
||||
font-size: $size-normal
|
||||
justify-content: center
|
||||
line-height: 1.5
|
||||
padding: 0.5rem 0.75rem
|
||||
a
|
||||
flex-grow: 1
|
||||
@@ -43,17 +44,17 @@ a.nav-item
|
||||
&.is-tab
|
||||
border-bottom: 1px solid transparent
|
||||
border-top: 1px solid transparent
|
||||
padding-bottom: calc(0.5rem - 1px)
|
||||
padding-bottom: calc(0.75rem - 1px)
|
||||
padding-left: 1rem
|
||||
padding-right: 1rem
|
||||
padding-top: calc(0.5rem - 1px)
|
||||
padding-top: calc(0.75rem - 1px)
|
||||
&:hover
|
||||
border-bottom-color: $primary
|
||||
border-top-color: transparent
|
||||
&.is-active
|
||||
border-bottom: 3px solid $primary
|
||||
color: $primary
|
||||
padding-bottom: calc(0.5rem - 3px)
|
||||
padding-bottom: calc(0.75rem - 3px)
|
||||
// Responsiveness
|
||||
+desktop
|
||||
&.is-brand
|
||||
|
||||
@@ -46,7 +46,7 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
||||
.pagination-next,
|
||||
.pagination-link
|
||||
border: 1px solid $pagination-border
|
||||
min-width: 2.5em
|
||||
min-width: 2.25em
|
||||
&:hover
|
||||
border-color: $pagination-hover-border
|
||||
color: $pagination-hover
|
||||
|
||||
@@ -45,9 +45,9 @@ $button-shadow-inset: inset 0 1px 2px rgba($black, 0.2) !default
|
||||
width: 1.5em
|
||||
&:first-child:not(:last-child)
|
||||
margin-left: calc(-0.375em - 1px)
|
||||
margin-right: 0.375em
|
||||
margin-right: 0.1875em
|
||||
&:last-child:not(:first-child)
|
||||
margin-left: 0.375em
|
||||
margin-left: 0.1875em
|
||||
margin-right: calc(-0.375em - 1px)
|
||||
&:first-child:last-child
|
||||
margin-left: calc(-0.375em - 1px)
|
||||
@@ -154,5 +154,9 @@ $button-shadow-inset: inset 0 1px 2px rgba($black, 0.2) !default
|
||||
+center(1em)
|
||||
position: absolute !important
|
||||
|
||||
button.button
|
||||
// Adjustment for vertical spacing
|
||||
button.button,
|
||||
input[type="submit"].button
|
||||
line-height: 1
|
||||
padding-bottom: 0.4em
|
||||
padding-top: 0.35em
|
||||
|
||||
@@ -158,7 +158,6 @@ $input-radius: $radius !default
|
||||
&.is-#{$name}
|
||||
color: $color
|
||||
|
||||
input[type="submit"].input,
|
||||
.select select
|
||||
line-height: 1
|
||||
|
||||
|
||||
@@ -12,11 +12,11 @@ $control-radius-small: $radius-small !default
|
||||
font-size: $size-normal
|
||||
height: 2.25em
|
||||
justify-content: flex-start
|
||||
line-height: 1.5
|
||||
padding-bottom: 0.425em
|
||||
line-height: 1.25
|
||||
padding-bottom: 0.5em
|
||||
padding-left: 0.625em
|
||||
padding-right: 0.625em
|
||||
padding-top: 0.325em
|
||||
padding-top: 0.5em
|
||||
position: relative
|
||||
vertical-align: top
|
||||
// States
|
||||
|
||||
@@ -167,10 +167,13 @@
|
||||
// Responsiveness
|
||||
|
||||
$tablet: 769px !default
|
||||
|
||||
// 960px container + 40px
|
||||
$desktop: 1000px !default
|
||||
|
||||
// 1152px container + 40
|
||||
$widescreen: 1192px !default
|
||||
|
||||
// 960 and 1152 have been chosen because
|
||||
// they are divisible by both 12 and 16
|
||||
|
||||
|
||||
@@ -29,13 +29,13 @@ $red: hsl(348, 100%, 61%) !default
|
||||
$family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
|
||||
$family-monospace: monospace !default
|
||||
|
||||
$size-1: 3.5rem !default
|
||||
$size-2: 2.75rem !default
|
||||
$size-1: 3rem !default
|
||||
$size-2: 2.5rem !default
|
||||
$size-3: 2rem !default
|
||||
$size-4: 1.5rem !default
|
||||
$size-5: 1.25rem !default
|
||||
$size-6: 1rem !default
|
||||
$size-7: 0.85rem !default
|
||||
$size-7: 0.75rem !default
|
||||
|
||||
$weight-light: 300 !default
|
||||
$weight-normal: 400 !default
|
||||
@@ -44,7 +44,7 @@ $weight-bold: 700 !default
|
||||
|
||||
// Body
|
||||
$body-background: $white !default
|
||||
$body-size: 14px !default
|
||||
$body-size: 16px !default
|
||||
|
||||
// Miscellaneous
|
||||
$easing: ease-out !default
|
||||
|
||||
Reference in New Issue
Block a user