mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-27 13:49:10 +02:00
docs: add offset big logo in wide mode
This commit is contained in:
parent
e53ad4b5a7
commit
60d1139447
@ -12,9 +12,10 @@ const Component = () => {
|
||||
<li>100% Free & online</li>
|
||||
<li>Valuable certification</li>
|
||||
</ul>
|
||||
<div className='icon'></div>
|
||||
<div className='small-logo'></div>
|
||||
<span className='unleash-action-button'>Get certified</span>
|
||||
</div>
|
||||
<div className='big-logo'></div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
@ -377,7 +377,7 @@ html[data-theme='light'] .banner-container {
|
||||
grid-area: header;
|
||||
}
|
||||
|
||||
.icon {
|
||||
.small-logo {
|
||||
grid-area: logo;
|
||||
background-image: url('/img/unleash-academy/academy-logo.svg');
|
||||
background-repeat: no-repeat;
|
||||
@ -405,11 +405,20 @@ html[data-theme='light'] .banner-container {
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
background-position: center var(--banner-padding);
|
||||
/* width: 100%; */
|
||||
aspect-ratio: unset;
|
||||
background-size: contain;
|
||||
.small-logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.big-logo {
|
||||
position: absolute;
|
||||
background-image: url('/img/unleash-academy/academy-logo.svg');
|
||||
bottom: 0;
|
||||
right: 40px;
|
||||
width: 200px;
|
||||
height: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-position-x: left;
|
||||
background-position-y: bottom -70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user