mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 12:24:28 -07:00
Reorganize index
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.bd-example,
|
||||
.bd-structure,
|
||||
.bd-snippet
|
||||
border: 1px solid $yellow
|
||||
border: 2px solid $background
|
||||
position: relative
|
||||
&::before
|
||||
background: $yellow
|
||||
@@ -14,6 +14,7 @@
|
||||
font-weight: bold
|
||||
left: -1px
|
||||
letter-spacing: 1px
|
||||
margin-left: -1px
|
||||
padding: 3px 5px
|
||||
position: absolute
|
||||
text-transform: uppercase
|
||||
@@ -46,14 +47,12 @@
|
||||
// Snippet
|
||||
.bd-snippet
|
||||
+block
|
||||
border: 2px solid $background
|
||||
margin-top: 2rem
|
||||
position: relative
|
||||
&::before
|
||||
content: "Snippet"
|
||||
align-items: stretch
|
||||
display: flex
|
||||
margin-left: -1px
|
||||
|
||||
.bd-snippet-preview
|
||||
padding: 1.5rem
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
background-color: #f5f5f5
|
||||
color: #586e75
|
||||
pre
|
||||
font-size: 12px
|
||||
font-size: 0.875em
|
||||
line-height: 1.375
|
||||
.c
|
||||
color: #93a1a1
|
||||
.err,
|
||||
|
||||
@@ -6,12 +6,6 @@ html.route-index
|
||||
position: relative
|
||||
.title.is-2 a:hover
|
||||
color: $blue
|
||||
.title.is-2 .icon.is-medium
|
||||
font-size: 56px
|
||||
left: -80px
|
||||
opacity: 0.1
|
||||
position: absolute
|
||||
top: 10px
|
||||
.hero .title.is-2 a
|
||||
color: $white
|
||||
.hero .title.is-2 a:hover
|
||||
@@ -24,5 +18,3 @@ html.route-index
|
||||
@media screen and (max-width: 979px)
|
||||
.title.is-2 a
|
||||
padding-left: 0
|
||||
.title.is-2 .icon.is-medium
|
||||
display: none
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
+selection
|
||||
background-color: $primary
|
||||
color: $primary-invert
|
||||
|
||||
.bd-links
|
||||
counter-reset: bd-links
|
||||
|
||||
@@ -196,6 +200,8 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
||||
.bd-notification
|
||||
background-color: $background
|
||||
border-radius: $radius
|
||||
color: $text-light
|
||||
font-weight: $weight-semibold
|
||||
padding: 1.25rem 0
|
||||
position: relative
|
||||
text-align: center
|
||||
@@ -206,9 +212,11 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
||||
color: currentColor
|
||||
code,
|
||||
pre
|
||||
background: $white
|
||||
background-color: rgba($black, 0.2)
|
||||
border-radius: $radius
|
||||
color: $white
|
||||
pre code
|
||||
background: transparent
|
||||
background-color: transparent
|
||||
// Colors
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
|
||||
Reference in New Issue
Block a user