mirror of
https://github.com/supleed2/udlink-docs.git
synced 2024-12-22 22:25:50 +00:00
Fix Alchemy badge on small screens
This commit is contained in:
parent
0f332d36b0
commit
a20c2422da
|
@ -37,8 +37,8 @@
|
||||||
<picture>
|
<picture>
|
||||||
<source srcset="https://static.alchemyapi.io/images/marketing/badgeLight.png"
|
<source srcset="https://static.alchemyapi.io/images/marketing/badgeLight.png"
|
||||||
media="(prefers-color-scheme: light)" />
|
media="(prefers-color-scheme: light)" />
|
||||||
<img onclick=logBadgeClick() id="badge-button" style="width:240px;height:53px"
|
<img onclick=logBadgeClick() id="badge-button" src="https://static.alchemyapi.io/images/marketing/badge.png"
|
||||||
src="https://static.alchemyapi.io/images/marketing/badge.png" alt="Alchemy Supercharged" />
|
alt="Alchemy Supercharged" />
|
||||||
</picture>
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -121,8 +121,8 @@
|
||||||
<picture>
|
<picture>
|
||||||
<source srcset="https://static.alchemyapi.io/images/marketing/badgeLight.png"
|
<source srcset="https://static.alchemyapi.io/images/marketing/badgeLight.png"
|
||||||
media="(prefers-color-scheme: light)" />
|
media="(prefers-color-scheme: light)" />
|
||||||
<img onclick=logBadgeClick() id="badge-button" style="width:240px;height:53px"
|
<img onclick=logBadgeClick() id="badge-button" src="https://static.alchemyapi.io/images/marketing/badge.png"
|
||||||
src="https://static.alchemyapi.io/images/marketing/badge.png" alt="Alchemy Supercharged" />
|
alt="Alchemy Supercharged" />
|
||||||
</picture>
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
</body>
|
</body>
|
||||||
|
|
10
styles.css
10
styles.css
|
@ -294,6 +294,16 @@ body::-webkit-scrollbar {
|
||||||
margin: 0px 10%;
|
margin: 0px 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a>picture {
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#badge-button {
|
||||||
|
width: calc(min(240px, 80%));
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (width < 450px) {
|
@media screen and (width < 450px) {
|
||||||
.scroll-button {
|
.scroll-button {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Loading…
Reference in a new issue