mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Fix banner overflow
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div id="carboncontainer" class="bd-carbon">
|
||||
<div id="carbon">
|
||||
<a id="masterclass-carbon" href="https://cssmasterclass.io/" target="_blank" style="display: none; width: 400px; height: 260px;">
|
||||
<a id="masterclass-carbon" href="https://cssmasterclass.io/" target="_blank" style="display: none; aspect-ratio: 40 / 26; max-width: 400px; max-height: 260px;">
|
||||
<img src="{{ site.url }}/assets/images/masterclass/masterclass-carbon.png" height="260" width="400" alt="CSS Masterclass">
|
||||
</a>
|
||||
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CWYIE237&placement=bulmaio&format=cover" id="_carbonads_js" onerror="this.previousElementSibling.style.display = 'flex'"></script>
|
||||
|
||||
@@ -93,6 +93,10 @@
|
||||
}
|
||||
|
||||
.bd-carbon {
|
||||
aspect-ratio: 40 / 26;
|
||||
max-height: 280px !important;
|
||||
max-width: 400px !important;
|
||||
|
||||
&,
|
||||
& > div {
|
||||
align-items: center;
|
||||
@@ -101,7 +105,6 @@
|
||||
}
|
||||
|
||||
> div {
|
||||
height: 280px !important;
|
||||
width: 400px !important;
|
||||
aspect-ratio: 40 / 26;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34288,14 +34288,18 @@ has-background-moon.is-hoverable:active {
|
||||
--scale: 0.75;
|
||||
}
|
||||
}
|
||||
.bd-carbon {
|
||||
aspect-ratio: 40/26;
|
||||
max-height: 280px !important;
|
||||
max-width: 400px !important;
|
||||
}
|
||||
.bd-carbon, .bd-carbon > div {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.bd-carbon > div {
|
||||
height: 280px !important;
|
||||
width: 400px !important;
|
||||
aspect-ratio: 40/26;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
@@ -37307,6 +37311,7 @@ div.shine {
|
||||
gap: 0.5rem 1rem;
|
||||
white-space: nowrap;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
.launch-code h3,
|
||||
.launch-code small {
|
||||
@@ -37328,6 +37333,7 @@ div.shine {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
font-weight: 400;
|
||||
white-space: normal;
|
||||
}
|
||||
.launch-code .launch-shine {
|
||||
animation-duration: 1s;
|
||||
|
||||
2
docs/assets/css/website.min.css
vendored
2
docs/assets/css/website.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -799,6 +799,7 @@ div.shine {
|
||||
gap: 0.5rem 1rem;
|
||||
white-space: nowrap;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
|
||||
h3,
|
||||
small {
|
||||
@@ -822,6 +823,7 @@ div.shine {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
font-weight: 400;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.launch-shine {
|
||||
|
||||
Reference in New Issue
Block a user