0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-28 00:54:30 +01:00

Move inline css to scss file

This commit is contained in:
Martijn Cuppens 2019-08-20 19:32:17 +03:00 committed by XhmikosR
parent e46e225895
commit 058067336f
3 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,9 @@
.sponsor {
width: 100px;
height: 100px;
}
.sponsor-md {
width: 50px;
height: 50px;
}

View File

@ -36,6 +36,7 @@
@import "ads"; @import "ads";
@import "content"; @import "content";
@import "skippy"; @import "skippy";
@import "sponsor";
@import "sidebar"; @import "sidebar";
@import "layout"; @import "layout";
@import "toc"; @import "toc";

View File

@ -52,7 +52,7 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap.
output.push( output.push(
'<div class="m-2 position-relative">', '<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 + '">', ' <img class="img-fluid d-block" src="' + sponsorAccount.imageUrl + '" alt="' + sponsorAccount.name + '">',
' </div>', ' </div>',
' <h3 class="h6 pt-2">', ' <h3 class="h6 pt-2">',
@ -82,7 +82,7 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap.
output.push( output.push(
'<div class="m-1 position-relative">', '<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) { if (backerAccount.website) {