mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
41 lines
717 B
Sass
41 lines
717 B
Sass
@import "../utilities/mixins.sass"
|
|
@import "../utilities/variables.sass"
|
|
|
|
.pagination
|
|
align-items: center
|
|
display: flex
|
|
justify-content: center
|
|
text-align: center
|
|
a
|
|
display: block
|
|
min-width: 32px
|
|
padding: 3px 8px
|
|
span
|
|
color: $text-light
|
|
display: block
|
|
margin: 0 4px
|
|
li
|
|
margin: 0 2px
|
|
ul
|
|
align-items: center
|
|
display: flex
|
|
flex-grow: 1
|
|
flex-shrink: 0
|
|
justify-content: center
|
|
// Responsiveness
|
|
+mobile
|
|
flex-wrap: wrap
|
|
& > a
|
|
width: calc(50% - 5px)
|
|
&:not(:first-child)
|
|
margin-left: 10px
|
|
li
|
|
flex-grow: 1
|
|
flex-shrink: 0
|
|
ul
|
|
margin-top: 10px
|
|
+tablet
|
|
& > a
|
|
&:not(:first-child)
|
|
order: 1
|