mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 12:44: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
|
||||
|
||||
Reference in New Issue
Block a user