# Bulma Changelog
+## 0.2.1
+
+* Fix: container flex
+* Fix: nav-item flex
+* Fix: media-number flex
+
## 0.2.0
* Added: new branding
.title.is-2 a {
color: #242424;
padding-left: 60px;
+ position: relative;
}
.title.is-2 a:hover {
@import "../sass/utilities/mixins.sass"
// Override
-
.button
+tablet
small
margin-left: 10px
// Additional
+svg
+ max-height: 100%
+ max-width: 100%
$carbon-space: 15px
#carbon
max-width: 340px
min-height: 100px + ($carbon-space * 2)
- min-width: 300px
padding: $carbon-space
+tablet
margin-left: auto
animation-fill-mode: both
animation-name: floatUp
animation-timing-function: $curve
- border-radius: 20px
+ border-radius: 24px
display: inline-block
height: 240px
margin-bottom: 40px
fill: $turquoise
+mobile
- border-radius: 10px
- height: 120px
- width: 120px
+ border-radius: 16px
+ height: 160px
+ width: 160px
#bulma
animation: slideDown 500ms both
#social
align-items: center
display: flex
- height: 20px
+ flex-wrap: wrap
margin-bottom: 1em
justify-content: center
a
font-size: 11px
height: 20px
line-height: 20px
- iframe:last-child
- margin-left: 10px
+ margin: 5px
+ iframe
+ margin: 5px
#images
tr
}
}
+.media-number,
+.media-left,
+.media-right {
+ -webkit-box-flex: 0;
+ -ms-flex-positive: 0;
+ flex-grow: 0;
+ -ms-flex-negative: 0;
+ flex-shrink: 0;
+}
+
.media-number {
background-color: whitesmoke;
border-radius: 290486px;
font-size: 18px;
height: 32px;
line-height: 24px;
+ margin-right: 10px;
min-width: 32px;
padding: 4px 8px;
text-align: center;
vertical-align: top;
}
-@media screen and (max-width: 768px) {
- .media-number {
- margin-bottom: 10px;
- }
-}
-
-@media screen and (min-width: 769px) {
- .media-number {
- margin-right: 10px;
- }
-}
-
.media-left {
margin-right: 10px;
}
display: -webkit-box;
display: -ms-flexbox;
display: flex;
+ -webkit-box-flex: 0;
+ -ms-flex-positive: 0;
+ flex-grow: 0;
+ -ms-flex-negative: 0;
+ flex-shrink: 0;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
- -ms-flex-negative: 0;
- flex-shrink: 0;
+ -ms-flex-negative: 1;
+ flex-shrink: 1;
}
@keyframes spin-around {
}
}
+svg {
+ max-height: 100%;
+ max-width: 100%;
+}
+
#carbon {
max-width: 340px;
min-height: 130px;
- min-width: 300px;
padding: 15px;
}
animation-name: floatUp;
-webkit-animation-timing-function: cubic-bezier(0, 0.71, 0.29, 1);
animation-timing-function: cubic-bezier(0, 0.71, 0.29, 1);
- border-radius: 20px;
+ border-radius: 24px;
display: inline-block;
height: 240px;
margin-bottom: 40px;
@media screen and (max-width: 768px) {
#b {
- border-radius: 10px;
- height: 120px;
- width: 120px;
+ border-radius: 16px;
+ height: 160px;
+ width: 160px;
}
}
display: -webkit-box;
display: -ms-flexbox;
display: flex;
- height: 20px;
+ -ms-flex-wrap: wrap;
+ flex-wrap: wrap;
margin-bottom: 1em;
-webkit-box-pack: center;
-ms-flex-pack: center;
font-size: 11px;
height: 20px;
line-height: 20px;
+ margin: 5px;
}
-#social iframe:last-child {
- margin-left: 10px;
+#social iframe {
+ margin: 5px;
}
#images tr td:nth-child(2) {
<div class="hero-body">
<div class="container has-text-centered">
<h3 class="title is-2">
- <span class="icon is-large">
- <i class="fa fa-arrows-v"></i>
- </span>
<a href="{{ site.baseurl }}/documentation/layout/hero/">
+ <span class="icon is-large">
+ <i class="fa fa-arrows-v"></i>
+ </span>
Easy <strong>vertical centering</strong> in <strong>fullscreen</strong>
</a>
</h3>
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
+.media-number,
+.media-left,
+.media-right
+ flex-grow: 0
+ flex-shrink: 0
+
.media-number
background-color: $background
border-radius: 290486px
font-size: $size-medium
height: 32px
line-height: 24px
+ margin-right: 10px
min-width: 32px
padding: 4px 8px
text-align: center
vertical-align: top
- // Responsiveness
- +mobile
- margin-bottom: 10px
- +tablet
- margin-right: 10px
.media-left
margin-right: 10px
.nav-item
align-items: center
display: flex
+ flex-grow: 0
+ flex-shrink: 0
justify-content: center
padding: 10px
a
display: flex
& > .container
flex-grow: 1
- flex-shrink: 0
+ flex-shrink: 1