mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Move inline css to scss file
This commit is contained in:
parent
e46e225895
commit
058067336f
9
site/assets/scss/_sponsor.scss
Normal file
9
site/assets/scss/_sponsor.scss
Normal file
@ -0,0 +1,9 @@
|
||||
.sponsor {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.sponsor-md {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
@ -36,6 +36,7 @@
|
||||
@import "ads";
|
||||
@import "content";
|
||||
@import "skippy";
|
||||
@import "sponsor";
|
||||
@import "sidebar";
|
||||
@import "layout";
|
||||
@import "toc";
|
||||
|
@ -52,7 +52,7 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap.
|
||||
|
||||
output.push(
|
||||
'<div class="m-2 position-relative">',
|
||||
' <div class="img-thumbnail mx-auto d-flex align-items-center justify-content-center overflow-hidden" style="width:100px; height: 100px;">',
|
||||
' <div class="img-thumbnail mx-auto d-flex align-items-center justify-content-center overflow-hidden sponsor">',
|
||||
' <img class="img-fluid d-block" src="' + sponsorAccount.imageUrl + '" alt="' + sponsorAccount.name + '">',
|
||||
' </div>',
|
||||
' <h3 class="h6 pt-2">',
|
||||
@ -82,7 +82,7 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap.
|
||||
|
||||
output.push(
|
||||
'<div class="m-1 position-relative">',
|
||||
' <div class="img-thumbnail d-flex align-items-center justify-content-center overflow-hidden" style="width:50px; height: 50px;">'
|
||||
' <div class="img-thumbnail d-flex align-items-center justify-content-center overflow-hidden sponsor-sm">'
|
||||
)
|
||||
|
||||
if (backerAccount.website) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user