mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-22 10:46:19 +01:00
web/DonateBanner: optimize for rtl layouts
This commit is contained in:
parent
7fc3d70d71
commit
da5cd3e324
1 changed files with 14 additions and 7 deletions
|
@ -100,6 +100,10 @@
|
|||
bottom: 0;
|
||||
}
|
||||
|
||||
#banner-right:dir(rtl) {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#imput-logo {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -121,6 +125,11 @@
|
|||
max-width: 55%;
|
||||
}
|
||||
|
||||
#banner-left:dir(rtl) {
|
||||
padding-right: 47px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
#banner-title {
|
||||
font-family: serif;
|
||||
font-size: 48px;
|
||||
|
@ -202,11 +211,6 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
#banner-left {
|
||||
max-width: 100%;
|
||||
padding: 55px;
|
||||
}
|
||||
|
||||
#banner-background {
|
||||
mask-image: linear-gradient(
|
||||
180deg,
|
||||
|
@ -219,7 +223,9 @@
|
|||
justify-content: center;
|
||||
}
|
||||
|
||||
#banner-left {
|
||||
#banner-left,
|
||||
#banner-left:dir(rtl) {
|
||||
max-width: 100%;
|
||||
padding: 45px 12px;
|
||||
gap: 14px;
|
||||
align-items: center;
|
||||
|
@ -238,7 +244,8 @@
|
|||
}
|
||||
|
||||
@media screen and (max-width: 550px) {
|
||||
#banner-left {
|
||||
#banner-left,
|
||||
#banner-left:dir(rtl) {
|
||||
padding: 32px 12px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue