File tree Expand file tree Collapse file tree 5 files changed +17
-6
lines changed Expand file tree Collapse file tree 5 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 1
1
< div id ="carboncontainer " class ="bd-carbon ">
2
2
< div id ="carbon ">
3
- < a id ="masterclass-carbon " href ="https://cssmasterclass.io/ " target ="_blank " style ="display: none; width: 400px; height: 260px; ">
3
+ < a id ="masterclass-carbon " href ="https://cssmasterclass.io/ " target ="_blank " style ="display: none; aspect-ratio: 40 / 26; max- width: 400px; max- height: 260px; ">
4
4
< img src ="{{ site.url }}/assets/images/masterclass/masterclass-carbon.png " height ="260 " width ="400 " alt ="CSS Masterclass ">
5
5
</ a >
6
6
< 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 >
Original file line number Diff line number Diff line change 93
93
}
94
94
95
95
.bd-carbon {
96
+ aspect-ratio : 40 / 26 ;
97
+ max-height : 280px !important ;
98
+ max-width : 400px !important ;
99
+
96
100
& ,
97
101
& > div {
98
102
align-items : center ;
101
105
}
102
106
103
107
> div {
104
- height : 280px !important ;
105
- width : 400px !important ;
108
+ aspect-ratio : 40 / 26 ;
106
109
}
107
110
}
Original file line number Diff line number Diff line change @@ -34288,14 +34288,18 @@ has-background-moon.is-hoverable:active {
34288
34288
--scale: 0.75;
34289
34289
}
34290
34290
}
34291
+ .bd-carbon {
34292
+ aspect-ratio: 40/26;
34293
+ max-height: 280px !important;
34294
+ max-width: 400px !important;
34295
+ }
34291
34296
.bd-carbon, .bd-carbon > div {
34292
34297
align-items: center;
34293
34298
display: flex;
34294
34299
justify-content: center;
34295
34300
}
34296
34301
.bd-carbon > div {
34297
- height: 280px !important;
34298
- width: 400px !important;
34302
+ aspect-ratio: 40/26;
34299
34303
}
34300
34304
34301
34305
.highlight {
@@ -37307,6 +37311,7 @@ div.shine {
37307
37311
gap: 0.5rem 1rem;
37308
37312
white-space: nowrap;
37309
37313
flex-direction: column;
37314
+ overflow: hidden;
37310
37315
}
37311
37316
.launch-code h3,
37312
37317
.launch-code small {
@@ -37328,6 +37333,7 @@ div.shine {
37328
37333
display: block;
37329
37334
opacity: 1;
37330
37335
font-weight: 400;
37336
+ white-space: normal;
37331
37337
}
37332
37338
.launch-code .launch-shine {
37333
37339
animation-duration: 1s;
Original file line number Diff line number Diff line change @@ -799,6 +799,7 @@ div.shine {
799
799
gap : 0.5rem 1rem ;
800
800
white-space : nowrap ;
801
801
flex-direction : column ;
802
+ overflow : hidden ;
802
803
803
804
h3 ,
804
805
small {
@@ -822,6 +823,7 @@ div.shine {
822
823
display : block ;
823
824
opacity : 1 ;
824
825
font-weight : 400 ;
826
+ white-space : normal ;
825
827
}
826
828
827
829
.launch-shine {
You can’t perform that action at this time.
0 commit comments